Class for PresetNode parser. More...
#include <presetParsers.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 | create () |
| virtual void | pre () |
| virtual void | name (const std::string &name) |
| virtual void | kind (const std::string &kind) |
| virtual void | parameter (myoutport &p) |
Public Member Functions inherited from YACS::nodetypeParser< ENGINE::DataNode * > | |
| virtual void | state (const std::string &name) |
| virtual void | type (const std::string &name) |
| virtual void | property (const myprop &prop) |
| virtual ENGINE::DataNode * | post () |
| 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 | _name |
| std::string | _kind |
Public Attributes inherited from YACS::nodetypeParser< ENGINE::DataNode * > | |
| std::string | _type |
| std::string | _name |
| std::string | _state |
| std::string | _container |
| ENGINE::DataNode * | _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 presettypeParser< T > | presetParser |
Static Public Attributes inherited from YACS::nodetypeParser< ENGINE::DataNode * > | |
| static nodetypeParser< ENGINE::DataNode * > | 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) |
Class for PresetNode parser.
Its XML schema is:
<xsd:complexType name="PresetType">
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:element name="parameter" type="ParameterType"/>
</xsd:complexType>
Definition at line 135 of file presetParsers.hxx.
|
virtual |
Reimplemented from YACS::nodetypeParser< ENGINE::DataNode * >.
Definition at line 177 of file presetParsers.hxx.
References DEBTRACE, and yacsorb.CORBAEngineTest::i.
|
virtual |
Definition at line 210 of file presetParsers.hxx.
References YACS::ENGINE::Runtime::createInDataNode(), and theRuntime.
|
virtual |
Definition at line 204 of file presetParsers.hxx.
|
virtual |
Reimplemented from YACS::nodetypeParser< ENGINE::DataNode * >.
Definition at line 198 of file presetParsers.hxx.
|
virtual |
Reimplemented from YACS::nodetypeParser< ENGINE::DataNode * >.
Definition at line 168 of file presetParsers.hxx.
References DEBTRACE.
|
virtual |
Reimplemented from YACS::nodetypeParser< ENGINE::DataNode * >.
Definition at line 154 of file presetParsers.hxx.
References YACS::parser::buildAttr(), DEBTRACE, YACS::parser::init(), YACS::parser::main_parser, YACS::parser::pre(), YACS::presetdatatypeParser::presetdataParser, and YACS::propertytypeParser::propertyParser.
|
virtual |
Definition at line 216 of file presetParsers.hxx.
References currentProc, DEBTRACE, YACS::ENGINE::Runtime::getTypeCode(), p, gui.Appli::t, theRuntime, and YACS::ENGINE::Proc::typeMap.
|
virtual |
Reimplemented from YACS::nodetypeParser< ENGINE::DataNode * >.
Definition at line 192 of file presetParsers.hxx.
| std::string YACS::presettypeParser< T >::_kind |
Definition at line 147 of file presetParsers.hxx.
| std::string YACS::presettypeParser< T >::_name |
Definition at line 146 of file presetParsers.hxx.
|
static |
Definition at line 137 of file presetParsers.hxx.