TAO_PSDL_Simple_Declarator Class Reference

**************************************************************** More...

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Simple_Declarator:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Simple_Declarator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_PSDL_Simple_Declarator (TAO_PSDL_Node *identifier)
 ****************************************************************
 TAO_PSDL_Simple_Declarator (TAO_PSDL_Node *identifier, TAO_PSDL_Node *simple_declarator)
virtual ~TAO_PSDL_Simple_Declarator (void)
TAO_PSDL_Nodeidentifier (void) const
 Get the value.
TAO_PSDL_Nodesimple_declarator (void) const
int accept (TAO_PSDL_Node_Visitor *visitor)
 = The Node methods.

Private Attributes

TAO_PSDL_Nodeidentifier_
 The values.
TAO_PSDL_Nodesimple_declarator_

Detailed Description

****************************************************************

Definition at line 1590 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Simple_Declarator::TAO_PSDL_Simple_Declarator ( TAO_PSDL_Node identifier  ) 

****************************************************************

Definition at line 2353 of file PSDL_Node.cpp.

02355   : identifier_ (identifier),
02356     simple_declarator_ (0)
02357 {
02358 }

TAO_PSDL_Simple_Declarator::TAO_PSDL_Simple_Declarator ( TAO_PSDL_Node identifier,
TAO_PSDL_Node simple_declarator 
)

Definition at line 2360 of file PSDL_Node.cpp.

02363   : identifier_ (identifier),
02364     simple_declarator_ (simple_declarator)
02365 {
02366 }

TAO_PSDL_Simple_Declarator::~TAO_PSDL_Simple_Declarator ( void   )  [virtual]

Definition at line 2368 of file PSDL_Node.cpp.

References identifier_, and simple_declarator_.

02369 {
02370   delete this->identifier_;
02371 
02372   if (this->simple_declarator_ != 0)
02373     delete this->simple_declarator_;
02374 }


Member Function Documentation

int TAO_PSDL_Simple_Declarator::accept ( TAO_PSDL_Node_Visitor visitor  )  [virtual]

= The Node methods.

Implements TAO_PSDL_Node.

Definition at line 2391 of file PSDL_Node.cpp.

References TAO_PSDL_Node_Visitor::visit_simple_declarator().

02392 {
02393   return visitor->visit_simple_declarator  (this);
02394 }

TAO_PSDL_Node * TAO_PSDL_Simple_Declarator::identifier ( void   )  const

Get the value.

Definition at line 2378 of file PSDL_Node.cpp.

References identifier_.

Referenced by TAO_PSDL_Scope_Visitor::visit_simple_declarator(), TAO_PSDL_Node_Visitor::visit_simple_declarator(), and Dump_Visitor::visit_simple_declarator().

02379 {
02380   return this->identifier_;
02381 }

TAO_PSDL_Node * TAO_PSDL_Simple_Declarator::simple_declarator ( void   )  const

Definition at line 2384 of file PSDL_Node.cpp.

References simple_declarator_.

Referenced by TAO_PSDL_Scope_Visitor::visit_simple_declarator(), TAO_PSDL_Node_Visitor::visit_simple_declarator(), and Dump_Visitor::visit_simple_declarator().

02385 {
02386   return this->simple_declarator_;
02387 }


Member Data Documentation

TAO_PSDL_Node* TAO_PSDL_Simple_Declarator::identifier_ [private]

The values.

Definition at line 1609 of file PSDL_Node.h.

Referenced by identifier(), and ~TAO_PSDL_Simple_Declarator().

TAO_PSDL_Node* TAO_PSDL_Simple_Declarator::simple_declarator_ [private]

Definition at line 1610 of file PSDL_Node.h.

Referenced by simple_declarator(), and ~TAO_PSDL_Simple_Declarator().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:50:35 2010 for TAO_PSS by  doxygen 1.4.7