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

ACE_Parse_Node Class Reference

Provide the base of the object hierarchy that defines the parse tree of Service Nodes. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Parse_Node:

Inheritance graph
[legend]
Collaboration diagram for ACE_Parse_Node:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Parse_Node (void)
ACE_EXPLICIT ACE_Parse_Node (const ACE_TCHAR *name)
virtual ~ACE_Parse_Node (void)
ACE_Parse_Node * link (void) const
void link (ACE_Parse_Node *)
virtual void apply (int &yyerrno)=0
const ACE_TCHARname (void) const
void print (void) const
void dump (void) const
 Dump the state of an object. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Private Attributes

const ACE_TCHARname_
ACE_Parse_Node * next_

Detailed Description

Provide the base of the object hierarchy that defines the parse tree of Service Nodes.

Note:
This class is only meant for INTERNAL use by ACE.

Definition at line 43 of file Parse_Node.h.


Constructor & Destructor Documentation

ACE_Parse_Node::ACE_Parse_Node void   
 

Definition at line 105 of file Parse_Node.cpp.

References ACE_TRACE.

00106   : name_ (0),
00107     next_ (0)
00108 {
00109   ACE_TRACE ("ACE_Parse_Node::ACE_Parse_Node");
00110 }

ACE_Parse_Node::ACE_Parse_Node const ACE_TCHAR   name
 

Definition at line 113 of file Parse_Node.cpp.

References ACE_TCHAR, and ACE_TRACE.

00114   : name_ (ACE::strnew (nm)),
00115     next_ (0)
00116 {
00117   ACE_TRACE ("ACE_Parse_Node::ACE_Parse_Node");
00118 }

ACE_Parse_Node::~ACE_Parse_Node void    [virtual]
 

Definition at line 134 of file Parse_Node.cpp.

References ACE_TCHAR, ACE_TRACE, and next_.

00135 {
00136   ACE_TRACE ("ACE_Parse_Node::~ACE_Parse_Node");
00137   delete[] ACE_const_cast (ACE_TCHAR*, this->name_);
00138   delete this->next_;
00139 }


Member Function Documentation

virtual void ACE_Parse_Node::apply int &    yyerrno [pure virtual]
 

Implemented in ACE_Suspend_Node.

Referenced by ace_yyparse.

void ACE_Parse_Node::dump void    const
 

Dump the state of an object.

Reimplemented in ACE_Suspend_Node.

Definition at line 51 of file Parse_Node.cpp.

References ACE_TRACE.

00052 {
00053   ACE_TRACE ("ACE_Parse_Node::dump");
00054 }

void ACE_Parse_Node::link ACE_Parse_Node *   
 

Definition at line 71 of file Parse_Node.cpp.

References ACE_TRACE, and next_.

00072 {
00073   ACE_TRACE ("ACE_Parse_Node::link");
00074   this->next_ = n;
00075 }

ACE_Parse_Node * ACE_Parse_Node::link void    const
 

Definition at line 64 of file Parse_Node.cpp.

References ACE_TRACE, and next_.

Referenced by ace_yyparse.

00065 {
00066   ACE_TRACE ("ACE_Parse_Node::link");
00067   return this->next_;
00068 }

const ACE_TCHAR * ACE_Parse_Node::name void    const
 

Definition at line 57 of file Parse_Node.cpp.

References ACE_TRACE, and name_.

Referenced by ace_get_module, ace_yyparse, and ACE_Static_Node::record.

00058 {
00059   ACE_TRACE ("ACE_Parse_Node::name");
00060   return this->name_;
00061 }

void ACE_Parse_Node::print void    const
 

Definition at line 121 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, LM_DEBUG, and next_.

00122 {
00123   ACE_TRACE ("ACE_Parse_Node::print");
00124 
00125   ACE_DEBUG ((LM_DEBUG,
00126               ACE_LIB_TEXT ("svc = %s\n"),
00127               this->name ()));
00128 
00129   if (this->next_)
00130     this->next_->print ();
00131 }


Member Data Documentation

ACE_Parse_Node::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented in ACE_Suspend_Node.

Definition at line 61 of file Parse_Node.h.

const ACE_TCHAR* ACE_Parse_Node::name_ [private]
 

Definition at line 64 of file Parse_Node.h.

Referenced by name.

ACE_Parse_Node* ACE_Parse_Node::next_ [private]
 

Definition at line 65 of file Parse_Node.h.

Referenced by link, print, and ~ACE_Parse_Node.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:52:00 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002