TAO_PSDL_Add_Expr Class Reference

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

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Add_Expr:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Add_Expr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_PSDL_Add_Expr (TAO_PSDL_Node *mult_expr)
 ****************************************************************
 TAO_PSDL_Add_Expr (TAO_PSDL_Node *add_expr, TAO_PSDL_Node *type, TAO_PSDL_Node *mult_expr)
virtual ~TAO_PSDL_Add_Expr (void)
TAO_PSDL_Nodetype (void) const
 Get the value.
TAO_PSDL_Nodeadd_expr (void) const
TAO_PSDL_Nodemult_expr (void) const
int accept (TAO_PSDL_Node_Visitor *visitor)
 = The Node methods.

Private Attributes

TAO_PSDL_Nodeadd_expr_
 The values.
TAO_PSDL_Nodetype_
TAO_PSDL_Nodemult_expr_

Detailed Description

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

Definition at line 2093 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Add_Expr::TAO_PSDL_Add_Expr ( TAO_PSDL_Node mult_expr  ) 

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

Definition at line 3259 of file PSDL_Node.cpp.

03260   : add_expr_ (0),
03261     type_ (0),
03262     mult_expr_ (mult_expr)
03263 {
03264 }

TAO_PSDL_Add_Expr::TAO_PSDL_Add_Expr ( TAO_PSDL_Node add_expr,
TAO_PSDL_Node type,
TAO_PSDL_Node mult_expr 
)

Definition at line 3266 of file PSDL_Node.cpp.

03269   : add_expr_ (add_expr),
03270     type_ (type),
03271     mult_expr_ (mult_expr)
03272 {
03273 }

TAO_PSDL_Add_Expr::~TAO_PSDL_Add_Expr ( void   )  [virtual]

Definition at line 3275 of file PSDL_Node.cpp.

References add_expr_, and mult_expr_.

03276 {
03277   if (this->add_expr_ != 0)
03278     delete this->add_expr_;
03279 
03280   delete this->mult_expr_;
03281 }


Member Function Documentation

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

= The Node methods.

Implements TAO_PSDL_Node.

Definition at line 3304 of file PSDL_Node.cpp.

References TAO_PSDL_Node_Visitor::visit_add_expr().

03305 {
03306   return visitor->visit_add_expr (this);
03307 }

TAO_PSDL_Node * TAO_PSDL_Add_Expr::add_expr ( void   )  const

Definition at line 3291 of file PSDL_Node.cpp.

References add_expr_.

03292 {
03293   return this->add_expr_;
03294 }

TAO_PSDL_Node * TAO_PSDL_Add_Expr::mult_expr ( void   )  const

Definition at line 3297 of file PSDL_Node.cpp.

References mult_expr_.

03298 {
03299   return this->mult_expr_;
03300 }

TAO_PSDL_Node * TAO_PSDL_Add_Expr::type ( void   )  const

Get the value.

Definition at line 3285 of file PSDL_Node.cpp.

References type_.

03286 {
03287   return this->type_;
03288 }


Member Data Documentation

TAO_PSDL_Node* TAO_PSDL_Add_Expr::add_expr_ [private]

The values.

Definition at line 2114 of file PSDL_Node.h.

Referenced by add_expr(), and ~TAO_PSDL_Add_Expr().

TAO_PSDL_Node* TAO_PSDL_Add_Expr::mult_expr_ [private]

Definition at line 2116 of file PSDL_Node.h.

Referenced by mult_expr(), and ~TAO_PSDL_Add_Expr().

TAO_PSDL_Node* TAO_PSDL_Add_Expr::type_ [private]

Reimplemented from TAO_PSDL_Node.

Definition at line 2115 of file PSDL_Node.h.

Referenced by type().


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