Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ixion::xml_file Class Reference

#include <ixlib_xml.hh>

List of all members.

Public Methods

 xml_file ()
 ~xml_file ()
void read (std::istream &istr)
void write (std::ostream &ostr)
tag * rootTag () const
void rootTag (tag *newroot)
void clear ()
tag * getRootTag () const
 
Deprecated:
use rootTag() instead.
More...


void setRootTag (tag *newroot)
 
Deprecated:
use rootTag(t) instead.
More...



Protected Types

typedef scanner::token_list::const_iterator token_iterator

Protected Methods

void parse (scanner::token_list const &tokenlist)

Static Protected Methods

void skipComment (token_iterator &first, token_iterator const &last)

Protected Attributes

tag * RootTag

Friends

class tag


Detailed Description

An Object implementing an XML file parser and writer.

tag::Children and tag::Text use the same indices. Thus, in the following piece of XML

<XML> paff <EXPLOSION/> puff </XML>

Text[0] would be "paff", Children[0] would be "EXPLOSION", Text[1] would be "puff".

Definition at line 72 of file ixlib_xml.hh.


Member Typedef Documentation

typedef scanner::token_list::const_iterator ixion::xml_file::token_iterator [protected]
 

Definition at line 74 of file ixlib_xml.hh.


Constructor & Destructor Documentation

ixion::xml_file::xml_file (    )  [inline]
 

Definition at line 155 of file ixlib_xml.hh.

ixion::xml_file::~xml_file (    )  [inline]
 

Definition at line 158 of file ixlib_xml.hh.


Member Function Documentation

void ixion::xml_file::clear (    )  [inline]
 

Definition at line 172 of file ixlib_xml.hh.

tag* ixion::xml_file::getRootTag (    )  const [inline]
 

Deprecated:
use rootTag() instead.

Definition at line 177 of file ixlib_xml.hh.

void ixion::xml_file::parse (  scanner::token_list const &    tokenlist )  [protected]
 

void ixion::xml_file::read (  std::istream &    istr ) 
 

void ixion::xml_file::rootTag (  tag *    newroot )  [inline]
 

Definition at line 168 of file ixlib_xml.hh.

tag* ixion::xml_file::rootTag (    )  const [inline]
 

Definition at line 165 of file ixlib_xml.hh.

void ixion::xml_file::setRootTag (  tag *    newroot )  [inline]
 

Deprecated:
use rootTag(t) instead.

Definition at line 181 of file ixlib_xml.hh.

void ixion::xml_file::skipComment (  token_iterator &    first,
token_iterator const &    last
)  [static, protected]
 

void ixion::xml_file::write (  std::ostream &    ostr ) 
 


Friends And Related Function Documentation

friend class tag [friend]
 

Definition at line 149 of file ixlib_xml.hh.


Member Data Documentation

tag* ixion::xml_file::RootTag [protected]
 

Definition at line 152 of file ixlib_xml.hh.


The documentation for this class was generated from the following file:
Generated on Wed Oct 31 17:12:26 2001 for ixlib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001