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

ixion::xml_file::tag Class Reference

#include <ixlib_xml.hh>

List of all members.

Public Types

typedef std::map< std::string,
std::string > 
attribute_map
typedef std::vector< tag *> children_list
typedef std::vector< std::string > text_list
typedef children_list::iterator iterator
typedef children_list::const_iterator const_iterator

Public Methods

 tag ()
 tag (std::string const &name)
 tag (tag const &source)
 ~tag ()
void appendTag (tag *tag)
void insertTag (children_list::iterator before, tag *tag)
void insertTag (text_list::iterator before, tag *tag)
tag * findTag (std::string const &name)
void name (std::string const &name)
std::string name () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
void setName (std::string const &n)
 
Deprecated:
use name(n) instead.
More...


std::string getName () const
 
Deprecated:
use name() instead.
More...



Public Attributes

attribute_map Attributes
children_list Children
text_list Text

Protected Methods

void parse (token_iterator &first, token_iterator const &last)
void write (std::ostream &ostr, TSize indent)
void setLastText (std::string const &text)

Protected Attributes

std::string Name

Friends

class xml_file


Member Typedef Documentation

typedef std::map<std::string,std::string> ixion::xml_file::tag::attribute_map
 

Definition at line 82 of file ixlib_xml.hh.

typedef std::vector<tag *> ixion::xml_file::tag::children_list
 

Definition at line 83 of file ixlib_xml.hh.

typedef children_list::const_iterator ixion::xml_file::tag::const_iterator
 

Definition at line 91 of file ixlib_xml.hh.

typedef children_list::iterator ixion::xml_file::tag::iterator
 

Definition at line 90 of file ixlib_xml.hh.

typedef std::vector<std::string> ixion::xml_file::tag::text_list
 

Definition at line 84 of file ixlib_xml.hh.


Constructor & Destructor Documentation

ixion::xml_file::tag::tag   [inline]
 

Definition at line 93 of file ixlib_xml.hh.

ixion::xml_file::tag::tag std::string const &    name [inline]
 

Definition at line 96 of file ixlib_xml.hh.

ixion::xml_file::tag::tag tag const &    source
 

ixion::xml_file::tag::~tag  
 


Member Function Documentation

void ixion::xml_file::tag::appendTag tag *    tag [inline]
 

Definition at line 102 of file ixlib_xml.hh.

const_iterator ixion::xml_file::tag::begin   const [inline]
 

Definition at line 119 of file ixlib_xml.hh.

iterator ixion::xml_file::tag::begin   [inline]
 

Definition at line 116 of file ixlib_xml.hh.

const_iterator ixion::xml_file::tag::end   const [inline]
 

Definition at line 125 of file ixlib_xml.hh.

iterator ixion::xml_file::tag::end   [inline]
 

Definition at line 122 of file ixlib_xml.hh.

tag* ixion::xml_file::tag::findTag std::string const &    name
 

std::string ixion::xml_file::tag::getName   const [inline]
 

Deprecated:
use name() instead.

Definition at line 134 of file ixlib_xml.hh.

void ixion::xml_file::tag::insertTag text_list::iterator    before,
tag *    tag
 

void ixion::xml_file::tag::insertTag children_list::iterator    before,
tag *    tag
 

std::string ixion::xml_file::tag::name   const [inline]
 

Definition at line 112 of file ixlib_xml.hh.

void ixion::xml_file::tag::name std::string const &    name [inline]
 

Definition at line 109 of file ixlib_xml.hh.

void ixion::xml_file::tag::parse token_iterator   first,
token_iterator const &    last
[protected]
 

void ixion::xml_file::tag::setLastText std::string const &    text [inline, protected]
 

Definition at line 142 of file ixlib_xml.hh.

void ixion::xml_file::tag::setName std::string const &    n [inline]
 

Deprecated:
use name(n) instead.

Definition at line 130 of file ixlib_xml.hh.

void ixion::xml_file::tag::write std::ostream &    ostr,
TSize    indent
[protected]
 


Friends And Related Function Documentation

friend class xml_file [friend]
 

Definition at line 146 of file ixlib_xml.hh.


Member Data Documentation

attribute_map ixion::xml_file::tag::Attributes
 

Definition at line 86 of file ixlib_xml.hh.

children_list ixion::xml_file::tag::Children
 

Definition at line 87 of file ixlib_xml.hh.

std::string ixion::xml_file::tag::Name [protected]
 

Definition at line 79 of file ixlib_xml.hh.

text_list ixion::xml_file::tag::Text
 

Definition at line 88 of file ixlib_xml.hh.


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