Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACEXML_Element_Tree_Name_Node Class Reference

An abstract base class for describing a name node in a DTD child element definition. More...

#include "parser/debug_validator/Element_Tree.h"

Inheritance diagram for ACEXML_Element_Tree_Name_Node:

Inheritance graph
[legend]
Collaboration diagram for ACEXML_Element_Tree_Name_Node:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACEXML_Element_Tree_Name_Node (const ACEXML_Char *name, int release=1)
 Constructor. More...

void set (const ACEXML_Char *name, int release=1)
 Change the name of this node. More...

virtual void dump ()
 Displaying the content. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE

Protected Attributes

ACEXML_String name_

Detailed Description

An abstract base class for describing a name node in a DTD child element definition.

See also:
ACEXML_Element_Tree_Node, ACEXML_Element_Tree_List_Node

Definition at line 62 of file Element_Tree.h.


Constructor & Destructor Documentation

ACEXML_INLINE ACEXML_Element_Tree_Name_Node::ACEXML_Element_Tree_Name_Node const ACEXML_Char   name,
int    release = 1
 

Constructor.

Definition at line 22 of file Element_Tree.i.

References ACEXML_Char.

00024   : name_ (name, 0, release)
00025 {
00026 }


Member Function Documentation

void ACEXML_Element_Tree_Name_Node::dump   [virtual]
 

Displaying the content.

Implements ACEXML_Element_Tree_Node.

Definition at line 17 of file Element_Tree.cpp.

References name_.

00018 {
00019   cout << this->name_;
00020 }

ACEXML_INLINE void ACEXML_Element_Tree_Name_Node::set const ACEXML_Char   name,
int    release = 1
 

Change the name of this node.

Definition at line 29 of file Element_Tree.i.

References ACEXML_Char, and name_.

00031 {
00032   this->name_.set (name, release);
00033 }


Member Data Documentation

ACEXML_Element_Tree_Name_Node::ACE_ALLOC_HOOK_DECLARE
 

Reimplemented from ACEXML_Element_Tree_Node.

Definition at line 76 of file Element_Tree.h.

ACEXML_String ACEXML_Element_Tree_Name_Node::name_ [protected]
 

Definition at line 78 of file Element_Tree.h.

Referenced by dump, and set.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 13:26:48 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002