XML Library
Public Member Functions | Private Member Functions | Private Attributes
XML::ProcessingNode Class Reference

The XML node type used for a processing instruction. More...

#include <ProcessingNode.hpp>

Inheritance diagram for XML::ProcessingNode:
XML::Node

List of all members.

Public Member Functions

 ProcessingNode ()
 Default constructor.
 ProcessingNode (const tstring &strTarget)
 Construction from a target.
 ProcessingNode (const tstring &strTarget, const Attributes &vAttribs)
 Construction from a target and attributes.
virtual NodeType type () const
 Get the real type of the node.
const tstring & target () const
 Get the target.
void setTarget (const tstring &strTarget)
 Set the target.
const AttributesgetAttributes () const
 Get the attributes.
AttributesgetAttributes ()
 Get the attributes.

Private Member Functions

virtual ~ProcessingNode ()
 Destructor.

Private Attributes

tstring m_strTarget
 The target text.
Attributes m_vAttribs
 The attributes.

Detailed Description

The XML node type used for a processing instruction.


Constructor & Destructor Documentation

Default constructor.

XML::ProcessingNode::ProcessingNode ( const tstring &  strTarget)

Construction from a target.

XML::ProcessingNode::ProcessingNode ( const tstring &  strTarget,
const Attributes vAttribs 
)

Construction from a target and attributes.

XML::ProcessingNode::~ProcessingNode ( ) [private, virtual]

Destructor.


Member Function Documentation

NodeType XML::ProcessingNode::type ( ) const [inline, virtual]

Get the real type of the node.

Implements XML::Node.

const tstring & XML::ProcessingNode::target ( ) const [inline]

Get the target.

void XML::ProcessingNode::setTarget ( const tstring &  strTarget) [inline]

Set the target.

const Attributes & XML::ProcessingNode::getAttributes ( ) const [inline]

Get the attributes.

Get the attributes.


Member Data Documentation

The target text.

The attributes.


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