20 #ifndef _SINLINEPARSERS_HXX_
21 #define _SINLINEPARSERS_HXX_
37 template <
class T=YACS::ENGINE::ServiceInlineNode*>
45 DEBTRACE(
"sinlinetypeParser::onEnd: " << el )
46 std::string element(el);
48 else if(element ==
"function")this->
function(((
functypeParser*)child)->post());
63 if(this->
_state ==
"disabled")this->
_node->exDisabledState();
65 if(!this->
_node->getComponent())
66 throw YACS::Exception(
"A service inline node must have a component instance");
69 if(this->
_node->getComponent()->getContainer())
73 if(this->
_node->getComponent()->isAnonymous())
75 if(currentProc->
containerMap.count(this->_container) != 0)
76 this->
_node->getComponent()->setContainer(currentProc->
containerMap[this->_container]);
82 currentProc->
containerMap[
"DefaultContainer"]->checkCapabilityToDealWith(this->
_node->getComponent());
83 this->
_node->getComponent()->setContainer(currentProc->
containerMap[
"DefaultContainer"]);
88 std::cerr <<
"WARNING: Unknown container " << this->
_container <<
" ignored" << std::endl;
94 template <
class T> sinlinetypeParser<T> sinlinetypeParser<T>::sinlineParser;
113 DEBTRACE(
"sinlinetypeParser::onStart: " << el )
114 std::string element(el);
116 this->maxcount(
"kind",1,element);
117 this->maxcount(
"function",1,element);
118 this->maxcount(
"load",1,element);
125 this->SetUserDataAndPush(pp);