#include <inlineParsers.hxx>


Public Member Functions | |
| virtual void | onStart (const XML_Char *el, const XML_Char **attr) |
| virtual void | onEnd (const char *el, parser *child) |
| virtual void | buildAttr (const XML_Char **attr) |
| virtual void | pre () |
| virtual void | weight (const double &x) |
| virtual void | kind (const std::string &name) |
| virtual void | script (const myfunc &f) |
| virtual void | function (const myfunc &f) |
| virtual void | inport (const myinport &p) |
| virtual void | outport (const myoutport &p) |
| virtual T | post () |
| void | script (const myfunc &f) |
| void | function (const myfunc &f) |
| void | function (const myfunc &f) |
Public Member Functions inherited from YACS::nodetypeParser< YACS::ENGINE::InlineNode * > | |
| virtual void | name (const std::string &name) |
| virtual void | state (const std::string &name) |
| virtual void | type (const std::string &name) |
| virtual void | property (const myprop &prop) |
| YACS::ENGINE::InlineNode * | post () |
Public Member Functions inherited from YACS::parser | |
| parser () | |
| virtual | ~parser () |
| virtual void | SetUserDataAndPush (parser *pp) |
| virtual void | charData (const XML_Char *s, int len) |
| virtual void | endParser () |
| virtual void | init () |
| virtual void | incrCount (const XML_Char *elem) |
| virtual void | checkOrder (std::string &el) |
| virtual void | maxcount (std::string name, int max, std::string &el) |
| virtual void | mincount (std::string name, int min) |
| virtual void | maxchoice (std::string *names, int max, std::string &el) |
| virtual void | minchoice (std::string *names, int min) |
| virtual void | required (const std::string &name, const XML_Char **attr) |
| std::stack< parser * > & | getStack () |
| template<class T > | |
| T | post () |
| void | logError (const std::string &reason) |
Public Attributes | |
| std::string | _kind |
| double | _weight |
Public Attributes inherited from YACS::nodetypeParser< YACS::ENGINE::InlineNode * > | |
| std::string | _type |
| std::string | _name |
| std::string | _state |
| std::string | _container |
| YACS::ENGINE::InlineNode * | _node |
Public Attributes inherited from YACS::parser | |
| std::string | _file |
| std::string | _content |
| std::map< std::string, int > * | _counts |
| std::map< std::string, int > | _orders |
| int | _orderState |
| int | _level |
| std::stack< std::map< std::string, int > * > | _stackCount |
| std::stack< int > | _stackOrder |
| std::map< std::string, parser * > * | _defaultParsersMap |
Static Public Attributes | |
| static inlinetypeParser< T > | inlineParser |
Static Public Attributes inherited from YACS::nodetypeParser< YACS::ENGINE::InlineNode * > | |
| static nodetypeParser< YACS::ENGINE::InlineNode * > | nodeParser |
Static Public Attributes inherited from YACS::parser | |
| static parser | main_parser |
| static std::stack< parser * > | _stackParser |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::parser | |
| static void XMLCALL | start_document (void *data) |
| static void XMLCALL | end_document (void *data) |
| static void XMLCALL | start_element (void *data, const xmlChar *name, const xmlChar **p) |
| static void XMLCALL | end_element (void *data, const xmlChar *name) |
| static void XMLCALL | characters (void *data, const xmlChar *ch, int len) |
| static void XMLCALL | comment (void *data, const xmlChar *value) |
| static void XMLCALL | cdata_block (void *data, const xmlChar *value, int len) |
| static void XMLCALL | warning (void *data, const char *fmt,...) |
| static void XMLCALL | error (void *data, const char *fmt,...) |
| static void XMLCALL | fatal_error (void *data, const char *fmt,...) |
| static void | XML_SetUserData (_xmlParserCtxt *ctxt, parser *par) |
Definition at line 51 of file inlineParsers.hxx.
|
inlinevirtual |
Reimplemented from YACS::nodetypeParser< YACS::ENGINE::InlineNode * >.
Definition at line 67 of file inlineParsers.hxx.
References yacsorb.CORBAEngineTest::i, YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::name(), YACS::parser::required(), YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::state(), and YACS::inlinetypeParser< T >::weight().
|
inlinevirtual |
Reimplemented in YACS::remotetypeParser< T >.
Definition at line 99 of file inlineParsers.hxx.
| void YACS::inlinetypeParser< YACS::ENGINE::InlineNode * >::function | ( | const myfunc & | f | ) |
Definition at line 179 of file inlineParsers.hxx.
References YACS::ENGINE::Runtime::createFuncNode(), DEBTRACE, gui.CONNECTOR::f(), YACS::ENGINE::InlineFuncNode::setFname(), YACS::ENGINE::InlineNode::setScript(), YACS::ENGINE::ElementaryNode::setWeight(), and theRuntime.
| void YACS::inlinetypeParser< YACS::ENGINE::ServiceInlineNode * >::function | ( | const myfunc & | f | ) |
Definition at line 98 of file sinlineParsers.hxx.
References YACS::ENGINE::Runtime::createComponentInstance(), YACS::ENGINE::Runtime::createSInlineNode(), DEBTRACE, gui.CONNECTOR::f(), YACS::ENGINE::ServiceNode::setComponent(), YACS::ENGINE::ServiceNode::setMethod(), YACS::ENGINE::ServiceInlineNode::setScript(), and theRuntime.
|
inlinevirtual |
Definition at line 101 of file inlineParsers.hxx.
References myinport::_name, YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_node, currentProc, DEBTRACE, YACS::ENGINE::ElementaryNode::edAddInputPort(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Runtime::getTypeCode(), p, gui.Appli::t, theRuntime, and YACS::ENGINE::Proc::typeMap.
Referenced by YACS::inlinetypeParser< T >::onEnd().
|
inlinevirtual |
Definition at line 92 of file inlineParsers.hxx.
References YACS::inlinetypeParser< T >::_kind, DEBTRACE, and YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::name().
Referenced by YACS::inlinetypeParser< T >::onEnd().
|
inlinevirtual |
Reimplemented from YACS::nodetypeParser< YACS::ENGINE::InlineNode * >.
Reimplemented in YACS::sinlinetypeParser< T >, YACS::servicetypeParser< T >, YACS::servertypeParser< T >, and YACS::remotetypeParser< T >.
Definition at line 56 of file inlineParsers.hxx.
References DEBTRACE, YACS::inlinetypeParser< T >::inport(), YACS::inlinetypeParser< T >::kind(), YACS::inlinetypeParser< T >::outport(), YACS::inlinetypeParser< T >::post(), YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::property(), and YACS::inlinetypeParser< T >::script().
|
virtual |
Reimplemented from YACS::nodetypeParser< YACS::ENGINE::InlineNode * >.
Reimplemented in YACS::sinlinetypeParser< T >, YACS::servicetypeParser< T >, YACS::servertypeParser< T >, and YACS::remotetypeParser< T >.
Definition at line 191 of file inlineParsers.hxx.
References YACS::parser::buildAttr(), DEBTRACE, YACS::parser::init(), YACS::parser::pre(), and YACS::t1.
|
inlinevirtual |
Definition at line 125 of file inlineParsers.hxx.
References myinport::_name, YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_node, currentProc, DEBTRACE, YACS::ENGINE::ElementaryNode::edAddOutputPort(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Runtime::getTypeCode(), p, gui.Appli::t, theRuntime, and YACS::ENGINE::Proc::typeMap.
Referenced by YACS::inlinetypeParser< T >::onEnd().
|
inlinevirtual |
Reimplemented from YACS::nodetypeParser< YACS::ENGINE::InlineNode * >.
Reimplemented in YACS::sinlinetypeParser< T >, YACS::servicetypeParser< T >, YACS::servertypeParser< T >, and YACS::remotetypeParser< T >.
Definition at line 148 of file inlineParsers.hxx.
References YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_node, YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_state, DEBTRACE, YACS::ENGINE::Node::exDisabledState(), and YACS::ENGINE::Node::getName().
Referenced by YACS::inlinetypeParser< T >::onEnd().
|
inlinevirtual |
Reimplemented from YACS::nodetypeParser< YACS::ENGINE::InlineNode * >.
Definition at line 79 of file inlineParsers.hxx.
References YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_container, YACS::inlinetypeParser< T >::_kind, YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_node, YACS::nodetypeParser< YACS::ENGINE::InlineNode * >::_state, and YACS::inlinetypeParser< T >::_weight.
|
inlinevirtual |
Reimplemented in YACS::servertypeParser< T >, and YACS::remotetypeParser< T >.
Definition at line 98 of file inlineParsers.hxx.
Referenced by YACS::inlinetypeParser< T >::onEnd().
| void YACS::inlinetypeParser< YACS::ENGINE::InlineNode * >::script | ( | const myfunc & | f | ) |
Definition at line 170 of file inlineParsers.hxx.
References YACS::ENGINE::Runtime::createScriptNode(), DEBTRACE, gui.CONNECTOR::f(), YACS::ENGINE::InlineNode::setScript(), and theRuntime.
|
inlinevirtual |
Definition at line 87 of file inlineParsers.hxx.
References YACS::inlinetypeParser< T >::_weight, and DEBTRACE.
Referenced by YACS::inlinetypeParser< T >::buildAttr().
| std::string YACS::inlinetypeParser< T >::_kind |
Definition at line 163 of file inlineParsers.hxx.
Referenced by YACS::inlinetypeParser< T >::kind(), and YACS::inlinetypeParser< T >::pre().
| double YACS::inlinetypeParser< T >::_weight |
Definition at line 164 of file inlineParsers.hxx.
Referenced by YACS::inlinetypeParser< T >::pre(), and YACS::inlinetypeParser< T >::weight().
|
static |
Definition at line 53 of file inlineParsers.hxx.