Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
TParamsVisitor Class Reference
Inheritance diagram for TParamsVisitor:
TagVisitor XMLVisitor

Public Member Functions

 TParamsVisitor (TParams *pParams)
 
void startElement (const char *name, const XMLAttributes &atts)
 
void endElement (const char *name)
 
- Public Member Functions inherited from TagVisitor
 TagVisitor (vtTagArray *pArray)
 
void data (const char *s, int length)
 
- Public Member Functions inherited from XMLVisitor
virtual ~XMLVisitor ()
 Virtual destructor.
 
virtual void startXML ()
 
virtual void endXML ()
 
virtual void pi (const char *target, const char *data)
 
virtual void warning (const char *message, int line, int column)
 

Protected Attributes

TParamsm_pParams
 
vtTagArray m_layer
 
bool m_bViz
 
ScenarioParams m_Scenario
 
bool m_bInLayer
 
bool m_bInScenario
 
- Protected Attributes inherited from TagVisitor
int m_level
 
string m_data
 
vtTagArraym_pArray
 

Additional Inherited Members

Member Function Documentation

void TParamsVisitor::endElement ( const char *  name)
virtual

Callback for the end of an XML element.

The XML parser will invoke this method at the end of every XML element.

Parameters
nameThe name of the element that is ending (not null).
See Also
startElement

Reimplemented from TagVisitor.

void TParamsVisitor::startElement ( const char *  name,
const XMLAttributes atts 
)
virtual

Callback for the start of an XML element.

The XML parser will invoke this method at the beginning of every XML element. Start and end element calls will be balanced and properly nested: every element has both a start and end callback (even if it was specified with an XML empty element tag), there is exactly one root element, and every element must end before its parent does. Elements may not overlap. Note that the attribute list provided is volatile; it's contents are not guaranteed to persist after the end of the callback. If the application needs to keep a copy of the attribute list, it can make the copy with the XMLAttributesDefault class.

Parameters
nameThe name of the element that is starting (not null).
attsThe element's attributes (not null).
See Also
endElement

Reimplemented from TagVisitor.


The documentation for this class was generated from the following files: