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

XMLStackText Class Template Reference

This node creates textual data inside the XML. More...

#include <XMLStack.h>

Inheritance diagram for XMLStackText::

XMLStackNode List of all members.

Public Types

typedef XMLStackText<_E, _Tr,
_A> 
_XMLStackText

Public Methods

 XMLStackText (_XMLStackDocument *Doc, const _XMLStackString &Data)
 Constructor. More...

virtual ~XMLStackText ()
 Destructor.

virtual void setValue (const _XMLStackString &Value)
 Replaces the textual data defined in the constructor.

virtual void setValue (unsigned long Value)
virtual void setValue (long Value)
virtual void setValue (unsigned int Value)
virtual void setValue (int Value)
virtual void setValue (unsigned short Value)
virtual void setValue (short Value)
virtual void setValue (signed char Value)
virtual void setValue (char Value)
virtual void setValue (unsigned char Value)
virtual void setValue (double Value, int Scale=6)
virtual void setValue (float Value, int Scale=6)
_XMLStackTextoperator= (const _XMLStackString &Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (unsigned long &Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (long Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (unsigned int Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (int Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (unsigned short Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (short Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (signed char Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (char Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (unsigned char Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (double Value)
 Convenience operator for setValue().

_XMLStackTextoperator= (float Value)
 Convenience operator for setValue().


Protected Methods

virtual void popped (void)
virtual _XMLStackNodeclone (void) const

Protected Attributes

_XMLStackString m_Value

Detailed Description

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

This node creates textual data inside the XML.

Since several characters are used for markup (such as the ampersand &), this class will automatically scan the text and replace the characters with the proper entity reference.

Definition at line 1153 of file XMLStack.h.


Member Typedef Documentation

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
typedef XMLStackText<_E, _Tr, _A> XMLStackText<_E, _Tr, _A>::_XMLStackText<_E, _Tr, _A>
 

Definition at line 1156 of file XMLStack.h.

Referenced by clone().


Constructor & Destructor Documentation

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

Constructor.

Parameters:
Doc   The XMLStackDocument instance this node belongs to.
Data   The textual data that will be written out to the XML buffer. Any markup characters will be automatically replaced with the appropriate entity reference.

Definition at line 1165 of file XMLStack.h.

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

Destructor.

Definition at line 1172 of file XMLStack.h.


Member Function Documentation

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

Reimplemented from XMLStackNode.

Definition at line 1309 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( float Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1272 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( double Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1265 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( unsigned char Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1258 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( char Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1251 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( signed char Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1244 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( short Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1237 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( unsigned short Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1230 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( int Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1223 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( unsigned int Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1216 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( long Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1209 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( unsigned long & Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1202 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
_XMLStackText<_E, _Tr, _A> & XMLStackText<_E, _Tr, _A>::operator= ( const _XMLStackString & Value ) [inline]
 

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1195 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1281 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( float Value,
int Scale = 6 ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1189 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( double Value,
int Scale = 6 ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1185 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( unsigned char Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1184 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( char Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1183 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( signed char Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1182 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( short Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1181 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( unsigned short Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1180 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( int Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1179 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( unsigned int Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1178 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( long Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1177 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( unsigned long Value ) [inline, virtual]
 

Reimplemented from XMLStackNode.

Definition at line 1176 of file XMLStack.h.

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
void XMLStackText<_E, _Tr, _A>::setValue ( const _XMLStackString & Value ) [inline, virtual]
 

Replaces the textual data defined in the constructor.

Reimplemented from XMLStackNode.

Definition at line 1175 of file XMLStack.h.


Member Data Documentation

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

Definition at line 1279 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