#include <switchParsers.hxx>


Public Member Functions | |
| void | onStart (const XML_Char *el, const XML_Char **attr) |
| void | onEnd (const char *el, parser *child) |
| virtual void | buildAttr (const XML_Char **attr) |
| virtual void | pre () |
| virtual void | case_ (const std::pair< int, ENGINE::Node * > &p) |
| virtual void | default_ (const std::pair< int, ENGINE::Node * > &p) |
| virtual void | name (const std::string &name) |
| virtual void | state (const std::string &state) |
| virtual void | select (const int &s) |
| virtual ENGINE::Switch * | 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::vector< ENGINE::Switch * > | _cnodes |
| std::string | _state |
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 switchtypeParser | switchParser |
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 86 of file switchParsers.hxx.
|
virtual |
Reimplemented from YACS::parser.
Definition at line 261 of file switchParsers.hxx.
References yacsorb.CORBAEngineTest::i, name(), YACS::parser::required(), select(), and state().
|
virtual |
Definition at line 274 of file switchParsers.hxx.
References _cnodes, YACS::ENGINE::Switch::edSetNode(), and p.
Referenced by onEnd().
|
virtual |
Definition at line 279 of file switchParsers.hxx.
References _cnodes, YACS::ENGINE::Switch::edSetDefaultNode(), and p.
Referenced by onEnd().
|
virtual |
Definition at line 284 of file switchParsers.hxx.
References _cnodes, YACS::ENGINE::Runtime::createSwitch(), currentProc, DEBTRACE, YACS::ENGINE::Proc::names, and theRuntime.
Referenced by buildAttr().
|
virtual |
Reimplemented from YACS::parser.
Definition at line 335 of file switchParsers.hxx.
References case_(), DEBTRACE, default_(), and post().
Reimplemented from YACS::parser.
Definition at line 321 of file switchParsers.hxx.
References YACS::parser::buildAttr(), YACS::casetypeParser::caseParser, DEBTRACE, YACS::defaultcasetypeParser::defaultcaseParser, YACS::parser::init(), YACS::parser::main_parser, YACS::parser::maxcount(), YACS::parser::pre(), and YACS::parser::SetUserDataAndPush().
|
virtual |
Definition at line 311 of file switchParsers.hxx.
References _cnodes, currentProc, DEBTRACE, and YACS::ENGINE::Proc::names.
Referenced by onEnd().
|
virtual |
Reimplemented from YACS::parser.
Definition at line 273 of file switchParsers.hxx.
References _state.
|
virtual |
Definition at line 304 of file switchParsers.hxx.
References _cnodes, YACS::ENGINE::Switch::edGetConditionPort(), and p.
Referenced by buildAttr().
|
virtual |
Definition at line 293 of file switchParsers.hxx.
References _cnodes, _state, DEBTRACE, YACS::ENGINE::Node::exDisabledState(), and YACS::ENGINE::ComposedNode::getName().
Referenced by buildAttr().
| std::vector<ENGINE::Switch *> YACS::switchtypeParser::_cnodes |
Definition at line 100 of file switchParsers.hxx.
Referenced by case_(), default_(), name(), post(), select(), and state().
| std::string YACS::switchtypeParser::_state |
Definition at line 101 of file switchParsers.hxx.
|
static |
Definition at line 88 of file switchParsers.hxx.
Referenced by YACS::bloctypeParser< T >::onStart(), YACS::looptypeParser< T >::onStart(), YACS::proctypeParser< T >::onStart(), and YACS::casetypeParser::onStart().