dtUtil::XercesWriter Class Reference

A class that manages one XML DOM document. More...

#include <xerceswriter.h>

List of all members.

Public Member Functions

 XercesWriter ()
 Initializes the xerces system.
void CreateDocument (const std::string &rootname)
 Create a new document for the instance to use.
XERCES_CPP_NAMESPACE_QUALIFIER
DOMDocument * 
GetDocument ()
const
XERCES_CPP_NAMESPACE_QUALIFIER
DOMDocument * 
GetDocument () const
void WriteFile (const std::string &file)
 This is the call that serializes the XML Tree.

Protected Member Functions

 ~XercesWriter ()
 Does NOT destroy the xerces system.


Detailed Description

A class that manages one XML DOM document.

Constructor & Destructor Documentation

XercesWriter::XercesWriter (  ) 

Initializes the xerces system.

XercesWriter::~XercesWriter (  )  [protected]

Does NOT destroy the xerces system.


Member Function Documentation

void XercesWriter::CreateDocument ( const std::string &  rootname  ) 

Create a new document for the instance to use.

Parameters:
rootname the name of the root XML node.

XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* dtUtil::XercesWriter::GetDocument (  )  [inline]

const XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* dtUtil::XercesWriter::GetDocument (  )  const [inline]

void XercesWriter::WriteFile ( const std::string &  file  ) 

This is the call that serializes the XML Tree.

Parameters:
the filename


http://www.delta3d.org
2.0.0 generated 14 Feb 2008