Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XML::Parser::Node Class Reference

#include <Parser.hh>

List of all members.

Public Types

enum  Type { eDecl, eSpecial, eTag, eString }

Public Member Functions

 Node (void)
 ~Node (void)
NodegetFirstChild () const
NodegetNextSibling () const
std::string getTagAttribute (const std::string &inName) const
const std::string & getTagName () const
Type getType () const
std::string getValue () const
void serialize (Streamer &outStream, bool inIndent=true) const

Protected Member Functions

void parseAttributeList (Tokenizer &inTokenizer, std::string &outToken)
void parseStartTag (Tokenizer &inTokenizer, std::string &outToken)
void throwError (Tokenizer &inTokenizer, const std::string &inMessage) const

Static Protected Member Functions

Nodeparse (Tokenizer &inTokenizer)

Protected Attributes

Type mType
std::string mValue
std::map< std::string, std::string > mAttributes
NodemChild
NodemSibling

Friends

class Parser


Member Enumeration Documentation

enum XML::Parser::Node::Type
 

Enumeration values:
eDecl 
eSpecial 
eTag 
eString 


Constructor & Destructor Documentation

XML::Parser::Node::Node void   )  [inline]
 

Parser::Node::~Node void   ) 
 


Member Function Documentation

Node* XML::Parser::Node::getFirstChild  )  const [inline]
 

Node* XML::Parser::Node::getNextSibling  )  const [inline]
 

string Parser::Node::getTagAttribute const std::string &  inName  )  const
 

const std::string& XML::Parser::Node::getTagName  )  const [inline]
 

Type XML::Parser::Node::getType  )  const [inline]
 

std::string XML::Parser::Node::getValue  )  const [inline]
 

Parser::Node * Parser::Node::parse Tokenizer inTokenizer  )  [static, protected]
 

void Parser::Node::parseAttributeList Tokenizer inTokenizer,
std::string &  outToken
[protected]
 

void Parser::Node::parseStartTag Tokenizer inTokenizer,
std::string &  outToken
[protected]
 

void Parser::Node::serialize Streamer outStream,
bool  inIndent = true
const
 

void Parser::Node::throwError Tokenizer inTokenizer,
const std::string &  inMessage
const [protected]
 


Friends And Related Function Documentation

friend class Parser [friend]
 


Member Data Documentation

std::map<std::string,std::string> XML::Parser::Node::mAttributes [protected]
 

Node* XML::Parser::Node::mChild [protected]
 

Node* XML::Parser::Node::mSibling [protected]
 

Type XML::Parser::Node::mType [protected]
 

std::string XML::Parser::Node::mValue [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Jan 16 11:06:01 2005 for RolLerCoaster by  doxygen 1.3.9.1