Class for componentinstance parser. More...
#include <componentinstanceParsers.hxx>


Public Member Functions | |
| virtual void | buildAttr (const XML_Char **attr) |
| virtual void | onStart (const XML_Char *el, const XML_Char **attr) |
| virtual void | onEnd (const char *el, parser *child) |
| virtual void | pre () |
| virtual void | name (const std::string &name) |
| virtual void | kind (const std::string &kind) |
| virtual void | component (const std::string &name) |
| virtual void | property (const myprop &prop) |
| virtual void | load (const loadon &l) |
| mycomponentinstance | 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 | |
| mycomponentinstance | _componentinstance |
| std::string | _container |
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 componentinstancetypeParser | componentinstanceParser |
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 componentinstance parser.
Class used to parse ComponentInstance description
XML schema is
<xsd:complexType name="ComponentInstanceType">
<xsd:sequence>
<xsd:element name="component" type="xsd:string"/>
<xsd:element name="property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="kind" type="xsd:string"/>
</xsd:complexType>
Definition at line 45 of file componentinstanceParsers.hxx.
|
virtual |
Reimplemented from YACS::parser.
Definition at line 32 of file componentinstanceParsers.cxx.
References yacsorb.CORBAEngineTest::i, kind(), name(), and YACS::parser::required().
|
virtual |
Definition at line 82 of file componentinstanceParsers.cxx.
References mycomponentinstance::_component, _componentinstance, DEBTRACE, and name().
Referenced by onEnd().
|
virtual |
Definition at line 73 of file componentinstanceParsers.cxx.
References _componentinstance, and mycomponentinstance::_kind.
Referenced by buildAttr().
|
virtual |
Definition at line 88 of file componentinstanceParsers.cxx.
References _componentinstance, mycomponentinstance::_container, DEBTRACE, and testCppPluginInvokation::l.
Referenced by onEnd().
|
virtual |
Definition at line 70 of file componentinstanceParsers.cxx.
References _componentinstance, and mycomponentinstance::_name.
Referenced by buildAttr(), and component().
|
virtual |
Reimplemented from YACS::parser.
Definition at line 57 of file componentinstanceParsers.cxx.
References component(), load(), post(), and property().
|
virtual |
Reimplemented from YACS::parser.
Definition at line 43 of file componentinstanceParsers.cxx.
References YACS::parser::buildAttr(), YACS::parser::init(), YACS::loadtypeParser::loadParser, YACS::parser::main_parser, YACS::parser::maxcount(), YACS::parser::pre(), YACS::propertytypeParser::propertyParser, YACS::parser::SetUserDataAndPush(), and YACS::stringtypeParser::stringParser.
| mycomponentinstance YACS::componentinstancetypeParser::post | ( | ) |
Definition at line 94 of file componentinstanceParsers.cxx.
References _componentinstance, and YACS::parser::mincount().
Referenced by onEnd().
|
virtual |
Reimplemented from YACS::parser.
Definition at line 65 of file componentinstanceParsers.cxx.
References _componentinstance, and mycomponentinstance::_props.
|
virtual |
Definition at line 76 of file componentinstanceParsers.cxx.
References _componentinstance, myprop::_name, mycomponentinstance::_props, myprop::_value, and DEBTRACE.
Referenced by onEnd().
| mycomponentinstance YACS::componentinstancetypeParser::_componentinstance |
Definition at line 58 of file componentinstanceParsers.hxx.
Referenced by component(), kind(), load(), name(), post(), pre(), and property().
| std::string YACS::componentinstancetypeParser::_container |
Definition at line 59 of file componentinstanceParsers.hxx.
|
static |
Definition at line 47 of file componentinstanceParsers.hxx.
Referenced by YACS::proctypeParser< T >::onStart().