decXmlPI Class Reference

XML Process Instruction. More...

#include <decXmlPI.h>

Inheritance diagram for decXmlPI:
decXmlElement

List of all members.

Public Member Functions

Constructors and Destructors
 decXmlPI (const char *target)
 Creates a new xml process instruction.
 ~decXmlPI ()
 Cleans up the xml process instruction.
Management
const char * GetTarget () const
void SetTarget (const char *target)
const char * GetCommand () const
void SetCommand (const char *command)
Visiting
void Visit (decXmlVisitor *visitor)
 Visits this node.
Casting
virtual bool CanCastToPI ()
 Determines if this element can be cast to decXmlPI which is by default false.
virtual decXmlPICastToPI ()
 Safely casts this element to decXmlPI or throwns an exception otherwise.

Detailed Description

XML Process Instruction.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

decXmlPI::decXmlPI ( const char *  target )

Creates a new xml process instruction.

decXmlPI::~decXmlPI (  )

Cleans up the xml process instruction.


Member Function Documentation

virtual bool decXmlPI::CanCastToPI (  ) [virtual]

Determines if this element can be cast to decXmlPI which is by default false.

Reimplemented from decXmlElement.

virtual decXmlPI* decXmlPI::CastToPI (  ) [virtual]

Safely casts this element to decXmlPI or throwns an exception otherwise.

Reimplemented from decXmlElement.

const char* decXmlPI::GetCommand (  ) const [inline]
const char* decXmlPI::GetTarget (  ) const [inline]
void decXmlPI::SetCommand ( const char *  command )
void decXmlPI::SetTarget ( const char *  target )
void decXmlPI::Visit ( decXmlVisitor visitor ) [virtual]

Visits this node.

Reimplemented from decXmlElement.


The documentation for this class was generated from the following file: