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

XMLStackRawXML Class Template Reference

This node isn't really a node per se, but a way to write XML directly into the XML buffer. More...

#include <XMLStack.h>

Inheritance diagram for XMLStackRawXML::

XMLStackNode List of all members.

Public Types

typedef XMLStackRawXML<_E,
_Tr, _A> 
_XMLStackRawXML

Public Methods

 XMLStackRawXML (_XMLStackDocument *Doc, const _XMLStackString &PushXML, const _XMLStackString &PopXML)
 Constructor. More...

virtual ~XMLStackRawXML ()
 Destructor.


Protected Methods

virtual bool childNodePushed (void)
virtual void popped (void)
virtual _XMLStackNodeclone (void) const

Protected Attributes

_XMLStackString m_PopXML

Detailed Description

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>> class XMLStackRawXML

This node isn't really a node per se, but a way to write XML directly into the XML buffer.

One potential use for this node is combining one or more XMLStackDocuments into a larger XML document. If different portions of a larger XML document are created on several threads, then this node type could be used to create the master XML document.

Another use could be for document type declaration support. Since DTDs aren't explicitly supported, this node type will allow you to add those declarations into the document.

Definition at line 1810 of file XMLStack.h.


Member Typedef Documentation

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
typedef XMLStackRawXML<_E, _Tr, _A> XMLStackRawXML<_E, _Tr, _A>::_XMLStackRawXML<_E, _Tr, _A>
 

Definition at line 1813 of file XMLStack.h.

Referenced by clone().


Constructor & Destructor Documentation

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
XMLStackRawXML<_E, _Tr, _A>::XMLStackRawXML<_E, _Tr, _A> ( _XMLStackDocument * Doc,
const _XMLStackString & PushXML,
const _XMLStackString & PopXML ) [inline]
 

Constructor.

Parameters:
PushXML   The XML that is written to the document's XML buffer immediately. Can be an empty string.
PopXML   The XML that will be written to the document's XML buffer when the node is popped off. Can be an empty string.

Definition at line 1822 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
XMLStackRawXML<_E, _Tr, _A>::~XMLStackRawXML<_E, _Tr, _A> ( ) [inline, virtual]
 

Destructor.

Definition at line 1831 of file XMLStack.h.


Member Function Documentation

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
bool XMLStackRawXML<_E, _Tr, _A>::childNodePushed ( void ) [inline, protected, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1836 of file XMLStack.h.

Referenced by XMLStackDocument::pushRawXML().

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackNode * XMLStackRawXML<_E, _Tr, _A>::clone ( void ) const [inline, protected, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1846 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackRawXML<_E, _Tr, _A>::popped ( void ) [inline, protected, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1841 of file XMLStack.h.


Member Data Documentation

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackString XMLStackRawXML<_E, _Tr, _A>::m_PopXML [protected]
 

Definition at line 1834 of file XMLStack.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 6 11:54:21 2001 for XMLStack by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001