Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

XML_Document Class Reference

an entire xml document. More...

#include <xml.h>

Inheritance diagram for rs::xml::XML_Document:

Inheritance graph
[legend]
Collaboration diagram for XML_Document:

Collaboration graph
[legend]
List of all members.

Public Methods

 XML_Document (const std::string &name_, const std::string &dtd_, std::ostream &out_)
virtual ~XML_Document ()
XML_NodeLatestSon ()
void set_LatestSon (XML_Node *latest_son_)
std::ostream & Out ()

Private Attributes

std::string dtd
XML_Tagroot
XML_Nodelatest_son
std::ostream & out

Detailed Description

an entire xml document.

Definition at line 152 of file xml.h.


Constructor & Destructor Documentation

XML_Document const std::string &    name_,
const std::string &    dtd_,
std::ostream &    out_
 

Create and stream (at destruction) a xml document

Parameters:
name_  name of the root node
dtd_  filename of dtd
out_  stream where xml document will be written to

Definition at line 197 of file xml.cpp.

~XML_Document   [virtual]
 

Definition at line 213 of file xml.cpp.


Member Function Documentation

XML_Node* LatestSon   [inline]
 

Definition at line 168 of file xml.h.

Referenced by XML_Node::XML_Node().

void set_LatestSon XML_Node   latest_son_ [inline]
 

Definition at line 169 of file xml.h.

Referenced by XML_Node::XML_Node(), and XML_Node::~XML_Node().

std::ostream& Out   [inline]
 

Definition at line 171 of file xml.h.

Referenced by XML_Tag::~XML_Tag(), and XML_Text::~XML_Text().


Member Data Documentation

std::string dtd [private]
 

Definition at line 154 of file xml.h.

Referenced by XML_Document::XML_Document().

XML_Tag* root [private]
 

Definition at line 155 of file xml.h.

Referenced by XML_Document::XML_Document(), and XML_Document::~XML_Document().

XML_Node* latest_son [private]
 

Definition at line 156 of file xml.h.

Referenced by XML_Document::XML_Document().

std::ostream& out [private]
 

Definition at line 157 of file xml.h.

Referenced by XML_Document::XML_Document().


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen