ACEXML_Element_Tree_Node Class Reference

An abstract base class for describing DTD child element definition. More...

#include <parser/debug_validator/Element_Tree.h>

Inheritance diagram for ACEXML_Element_Tree_Node:

Inheritance graph
[legend]
Collaboration diagram for ACEXML_Element_Tree_Node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACEXML_Element_Tree_Node ()
 Default constructor.
virtual ~ACEXML_Element_Tree_Node ()
 Destructor.
ACEXML_Element_Tree_Nodenext ()
 Accessor for next element in chain.
void next (ACEXML_Element_Tree_Node *n)
virtual void dump ()=0
 Displaying the content.

Public Attributes

 ACE_ALLOC_HOOK_DECLARE

Protected Attributes

ACEXML_Element_Tree_Nodenext_

Detailed Description

An abstract base class for describing DTD child element definition.

See also:
ACEXML_Element_Tree_Name_Node, ACEXML_Element_Tree_List_Node

Definition at line 31 of file Element_Tree.h.


Constructor & Destructor Documentation

ACEXML_INLINE ACEXML_Element_Tree_Node::ACEXML_Element_Tree_Node (  ) 

Default constructor.

Definition at line 4 of file Element_Tree.inl.

00005   : next_ (0)
00006 {
00007 }

ACEXML_Element_Tree_Node::~ACEXML_Element_Tree_Node (  )  [virtual]

Destructor.

Definition at line 9 of file Element_Tree.cpp.

References next_.

00010 {
00011   delete this->next_;
00012 }


Member Function Documentation

virtual void ACEXML_Element_Tree_Node::dump (  )  [pure virtual]

Displaying the content.

Implemented in ACEXML_Element_Tree_Name_Node, and ACEXML_Element_Tree_List_Node.

Referenced by ACEXML_Element_Tree_List_Node::dump().

ACEXML_INLINE void ACEXML_Element_Tree_Node::next ( ACEXML_Element_Tree_Node n  ) 

Definition at line 16 of file Element_Tree.inl.

References next_.

00017 {
00018   this->next_ = n;
00019 }

ACEXML_INLINE ACEXML_Element_Tree_Node * ACEXML_Element_Tree_Node::next (  ) 

Accessor for next element in chain.

Definition at line 10 of file Element_Tree.inl.

References next_.

Referenced by ACEXML_Element_Tree_List_Node::dump(), and ACEXML_Element_Tree_List_Node::insert().

00011 {
00012   return this->next_;
00013 }


Member Data Documentation

ACEXML_Element_Tree_Node::ACE_ALLOC_HOOK_DECLARE

Reimplemented in ACEXML_Element_Tree_Name_Node, and ACEXML_Element_Tree_List_Node.

Definition at line 48 of file Element_Tree.h.

ACEXML_Element_Tree_Node* ACEXML_Element_Tree_Node::next_ [protected]

Definition at line 51 of file Element_Tree.h.

Referenced by next(), and ~ACEXML_Element_Tree_Node().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:37:15 2010 for ACEXML by  doxygen 1.4.7