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

XMLStackProcessingInstruction Class Template Reference

Represents a processor instruction. More...

#include <XMLStack.h>

Inheritance diagram for XMLStackProcessingInstruction::

XMLStackNode List of all members.

Public Types

typedef XMLStackProcessingInstruction<
_E, _Tr, _A> 
_XMLStackProcessingInstruction

Public Methods

 XMLStackProcessingInstruction (_XMLStackDocument *Doc, const _XMLStackString &Target)
 Constructor. More...

virtual ~XMLStackProcessingInstruction ()
 Destructor.

virtual void setValue (const _XMLStackString &Value)
 Replaces the content of the processing instruction.

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)
_XMLStackProcessingInstructionoperator= (const _XMLStackString &Value)
 Convenience operator for setValue().

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

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

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

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

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

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

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

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

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

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

_XMLStackProcessingInstructionoperator= (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 XMLStackProcessingInstruction

Represents a processor instruction.

Definition at line 1646 of file XMLStack.h.


Member Typedef Documentation

template<class _E, class _Tr = std::char_traits<_E>, class _A = std::allocator<_E>>
typedef XMLStackProcessingInstruction<_E, _Tr, _A> XMLStackProcessingInstruction<_E, _Tr, _A>::_XMLStackProcessingInstruction<_E, _Tr, _A>
 

Definition at line 1650 of file XMLStack.h.

Referenced by clone().


Constructor & Destructor Documentation

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

Constructor.

Parameters:
Doc   The XMLStackDocument instance this node belongs to.
Target   The name of the application target this PI is directed
Exceptions:
XMLStackException   Thrown if Target is empty and _DEBUG is defined.

Definition at line 1660 of file XMLStack.h.

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

Destructor.

Definition at line 1674 of file XMLStack.h.


Member Function Documentation

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

Reimplemented from XMLStackNode.

Definition at line 1790 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1774 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1767 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1760 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1753 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1746 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1739 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1732 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1725 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1718 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1711 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1704 of file XMLStack.h.

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

Convenience operator for setValue().

Reimplemented from XMLStackNode.

Definition at line 1697 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1783 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1691 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1687 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1686 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1685 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1684 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1683 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1682 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1681 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1680 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1679 of file XMLStack.h.

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

Reimplemented from XMLStackNode.

Definition at line 1678 of file XMLStack.h.

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

Replaces the content of the processing instruction.

Reimplemented from XMLStackNode.

Definition at line 1677 of file XMLStack.h.


Member Data Documentation

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

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