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

The XML node type used for the document type. More...

#include <DocTypeNode.hpp>

Inheritance diagram for XML::DocTypeNode:
XML::Node

List of all members.

Public Member Functions

 DocTypeNode ()
 Default constructor.
 DocTypeNode (const tstring &strDeclaration)
 Construction from a string declaration.
virtual NodeType type () const
 Get the real type of the node.
const tstring & declaration () const
 Get the declaration.
void setDeclaration (const tstring &strDeclaration)
 Set the declaration.

Private Member Functions

virtual ~DocTypeNode ()
 Destructor.

Private Attributes

tstring m_strDeclaration
 The string declaration.

Detailed Description

The XML node type used for the document type.

The document type details are stored as a single string and not parsed.


Constructor & Destructor Documentation

Default constructor.

XML::DocTypeNode::DocTypeNode ( const tstring &  strDeclaration)

Construction from a string declaration.

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

Destructor.


Member Function Documentation

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

Get the real type of the node.

Implements XML::Node.

const tstring & XML::DocTypeNode::declaration ( ) const [inline]

Get the declaration.

void XML::DocTypeNode::setDeclaration ( const tstring &  strDeclaration) [inline]

Set the declaration.


Member Data Documentation

The string declaration.


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