#include <procParsers.hxx>


Public Member Functions | |
| proctypeParser () | |
| 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 | name (const std::string &name) |
| virtual void | type (const mytype &t) |
| virtual void | sequence (ENGINE::TypeCode *const &t) |
| virtual void | objref (ENGINE::TypeCode *const &t) |
| virtual void | struct_ (ENGINE::TypeCode *const &t) |
| virtual void | componentinstance (const mycomponentinstance &t) |
| virtual void | container (const mycontainer &t) |
| T | post () |
Public Member Functions inherited from YACS::bloctypeParser< YACS::ENGINE::Proc * > | |
| bloctypeParser () | |
| void | name (const std::string &name) |
| void | name (const std::string &name) |
| virtual void | state (const std::string &name) |
| virtual void | property (const myprop &prop) |
| virtual void | inline_ (YACS::ENGINE::InlineNode *const &n) |
| virtual void | sinline (YACS::ENGINE::ServiceInlineNode *const &n) |
| virtual void | service (YACS::ENGINE::ServiceNode *const &n) |
| virtual void | remote (YACS::ENGINE::InlineNode *const &n) |
| virtual void | server (YACS::ENGINE::ServerNode *const &n) |
| virtual void | node (YACS::ENGINE::InlineNode *const &n) |
| virtual void | forloop (YACS::ENGINE::ForLoop *const &b) |
| virtual void | optimizer (YACS::ENGINE::OptimizerLoop *const &b) |
| virtual void | foreach (YACS::ENGINE::ForEachLoopGen *const &b) |
| virtual void | while_ (YACS::ENGINE::WhileLoop *const &b) |
| virtual void | switch_ (YACS::ENGINE::Switch *const &b) |
| virtual void | bloc (YACS::ENGINE::Bloc *const &b) |
| virtual void | control (const mycontrol &l) |
| virtual void | datalink (const mylink &l) |
| virtual void | stream (const mystream &l) |
| virtual void | parameter (const myparam ¶m) |
| virtual void | preset (ENGINE::DataNode *const &n) |
| virtual void | outnode (ENGINE::DataNode *const &n) |
| YACS::ENGINE::Proc * | 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) |
Static Public Attributes | |
| static proctypeParser< T > | procParser |
Static Public Attributes inherited from YACS::bloctypeParser< YACS::ENGINE::Proc * > | |
| static bloctypeParser< YACS::ENGINE::Proc * > | blocParser |
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) |
Public Attributes inherited from YACS::bloctypeParser< YACS::ENGINE::Proc * > | |
| YACS::ENGINE::Proc * | _bloc |
| std::string | _state |
| std::vector< YACS::ENGINE::Bloc * > | _blocs |
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 |
Definition at line 39 of file procParsers.hxx.
|
inline |
|
inlinevirtual |
Reimplemented from YACS::bloctypeParser< YACS::ENGINE::Proc * >.
Definition at line 52 of file procParsers.hxx.
References yacsorb.CORBAEngineTest::i, YACS::proctypeParser< T >::name(), and YACS::bloctypeParser< YACS::ENGINE::Proc * >::state().
|
inlinevirtual |
Definition at line 99 of file procParsers.hxx.
References YACS::ENGINE::Proc::containerMap, YACS::ENGINE::Proc::createComponentInstance(), currentProc, DEBTRACE, YACS::ENGINE::RefCounter::decrRef(), YACS::ENGINE::ComponentInstance::setContainer(), YACS::ENGINE::PropertyInterface::setProperty(), and gui.Appli::t.
|
inlinevirtual |
Definition at line 135 of file procParsers.hxx.
References YACS::ENGINE::Proc::containerMap, YACS::ENGINE::Proc::createContainer(), currentProc, DEBTRACE, YACS::ENGINE::RefCounter::decrRef(), YACS::ENGINE::Container::KIND_ENTRY, YACS::ENGINE::Container::setProperty(), and gui.Appli::t.
|
inlinevirtual |
Definition at line 72 of file procParsers.hxx.
References currentProc, and YACS::ENGINE::Proc::setName().
Referenced by YACS::proctypeParser< T >::buildAttr(), and YACS::proctypeParser< T >::pre().
|
inlinevirtual |
Definition at line 88 of file procParsers.hxx.
References DEBTRACE, and gui.Appli::t.
|
virtual |
Reimplemented from YACS::bloctypeParser< YACS::ENGINE::Proc * >.
Definition at line 232 of file procParsers.hxx.
References DEBTRACE.
|
virtual |
Reimplemented from YACS::bloctypeParser< YACS::ENGINE::Proc * >.
Definition at line 173 of file procParsers.hxx.
References YACS::parser::buildAttr(), YACS::componentinstancetypeParser::componentinstanceParser, YACS::containertypeParser::containerParser, DEBTRACE, YACS::parser::init(), YACS::parser::main_parser, YACS::objtypeParser::objParser, YACS::parametertypeParser::parameterParser, YACS::parser::pre(), YACS::propertytypeParser::propertyParser, YACS::seqtypeParser::seqParser, YACS::structtypeParser::structParser, YACS::switchtypeParser::switchParser, and YACS::typetypeParser::typeParser.
|
inline |
Definition at line 163 of file procParsers.hxx.
References YACS::bloctypeParser< YACS::ENGINE::Proc * >::_bloc.
|
inlinevirtual |
Reimplemented from YACS::parser.
Definition at line 64 of file procParsers.hxx.
References YACS::bloctypeParser< YACS::ENGINE::Proc * >::_bloc, YACS::ENGINE::Runtime::createProc(), currentProc, YACS::proctypeParser< T >::name(), YACS::ENGINE::Proc::names, and theRuntime.
|
inlinevirtual |
Definition at line 83 of file procParsers.hxx.
References DEBTRACE, and gui.Appli::t.
|
inlinevirtual |
Definition at line 93 of file procParsers.hxx.
References DEBTRACE, and gui.Appli::t.
|
inlinevirtual |
Definition at line 77 of file procParsers.hxx.
References YACS::ENGINE::Proc::createType(), currentProc, DEBTRACE, YACS::ENGINE::RefCounter::decrRef(), and gui.Appli::t.
|
static |
Definition at line 42 of file procParsers.hxx.