openModeller  Version 1.5.0
expatState Class Reference
Collaboration diagram for expatState:
Collaboration graph

Public Member Functions

 expatState ()
 
 expatState (expatState *parent)
 
 ~expatState ()
 
expatStatefinalize (string name)
 
void addChars (char const *chars, int len)
 
ConfigurationPtr getConfig ()
 
expatStatemakeChild (string name, const char **attribs)
 
void setName (string name)
 
void setAttributes (const char **attribs)
 

Private Attributes

string tmpChars
 
expatStateparent
 
ConfigurationPtr config
 

Detailed Description

Definition at line 111 of file Configuration_xmlio.cpp.

Constructor & Destructor Documentation

expatState::expatState ( )

Definition at line 142 of file Configuration_xmlio.cpp.

Referenced by makeChild().

expatState::expatState ( expatState parent)

Definition at line 152 of file Configuration_xmlio.cpp.

expatState::~expatState ( )

Definition at line 162 of file Configuration_xmlio.cpp.

Member Function Documentation

void expatState::addChars ( char const *  chars,
int  len 
)

Definition at line 240 of file Configuration_xmlio.cpp.

References tmpChars.

Referenced by charHandler().

expatState * expatState::finalize ( string  name)

Definition at line 222 of file Configuration_xmlio.cpp.

References parent, and tmpChars.

Referenced by endElementHandler().

ConfigurationPtr expatState::getConfig ( )
inline

Definition at line 123 of file Configuration_xmlio.cpp.

expatState * expatState::makeChild ( string  name,
const char **  attribs 
)

Definition at line 173 of file Configuration_xmlio.cpp.

References config, expatState(), setAttributes(), and setName().

Referenced by startElementHandler().

Here is the call graph for this function:

void expatState::setAttributes ( const char **  attribs)

Definition at line 201 of file Configuration_xmlio.cpp.

Referenced by firstStartElementHandler(), and makeChild().

void expatState::setName ( string  name)

Definition at line 193 of file Configuration_xmlio.cpp.

Referenced by firstStartElementHandler(), and makeChild().

Member Data Documentation

ConfigurationPtr expatState::config
private

Definition at line 138 of file Configuration_xmlio.cpp.

Referenced by makeChild().

expatState* expatState::parent
private

Definition at line 136 of file Configuration_xmlio.cpp.

Referenced by finalize().

string expatState::tmpChars
private

Definition at line 134 of file Configuration_xmlio.cpp.

Referenced by addChars(), and finalize().


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