TAO_PSDL_Predefined_Type Class Reference

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

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Predefined_Type:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Predefined_Type:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_PSDL_Predefined_Type (int type_one)
 ****************************************************************
 TAO_PSDL_Predefined_Type (int type_one, int type_two)
 TAO_PSDL_Predefined_Type (int type_one, int type_two, int type_three)
 TAO_PSDL_Predefined_Type (int type_one, TAO_PSDL_Node *type_of_variable_one)
 TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one)
 TAO_PSDL_Predefined_Type (int type_one, TAO_PSDL_Node *type_of_variable_one, TAO_PSDL_Node *type_of_variable_two)
 TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one, TAO_PSDL_Node *type_of_variable_two)
 TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one, TAO_PSDL_Node *type_of_variable_two, TAO_PSDL_Node *type_of_variable_three)
virtual ~TAO_PSDL_Predefined_Type (void)
int type_one (void) const
 Get the value.
int type_two (void) const
int type_three (void) const
TAO_PSDL_Nodetype_of_variable_one (void) const
TAO_PSDL_Nodetype_of_variable_two (void) const
TAO_PSDL_Nodetype_of_variable_three (void) const
int accept (TAO_PSDL_Node_Visitor *visitor)
 = The Node methods.

Private Attributes

int type_one_
 The values.
int type_two_
int type_three_
TAO_PSDL_Nodetype_of_variable_one_
TAO_PSDL_Nodetype_of_variable_two_
TAO_PSDL_Nodetype_of_variable_three_

Detailed Description

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

Definition at line 1662 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( int  type_one  ) 

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

Definition at line 2470 of file PSDL_Node.cpp.

02471   : type_one_ (type_one),
02472     type_two_ (0),
02473     type_three_ (0),
02474     type_of_variable_one_ (0),
02475     type_of_variable_two_ (0),
02476     type_of_variable_three_ (0)
02477 {
02478 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( int  type_one,
int  type_two 
)

Definition at line 2480 of file PSDL_Node.cpp.

02482   : type_one_ (type_one),
02483     type_two_ (type_two),
02484     type_three_ (0),
02485     type_of_variable_one_ (0),
02486     type_of_variable_two_ (0),
02487     type_of_variable_three_ (0)
02488 {
02489 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( int  type_one,
int  type_two,
int  type_three 
)

Definition at line 2491 of file PSDL_Node.cpp.

02494   : type_one_ (type_one),
02495     type_two_ (type_two),
02496     type_three_ (type_three),
02497     type_of_variable_one_ (0),
02498     type_of_variable_two_ (0),
02499     type_of_variable_three_ (0)
02500 {
02501 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( int  type_one,
TAO_PSDL_Node type_of_variable_one 
)

Definition at line 2503 of file PSDL_Node.cpp.

02505   : type_one_ (type_one),
02506     type_two_ (0),
02507     type_three_ (0),
02508     type_of_variable_one_ (type_of_variable_one),
02509     type_of_variable_two_ (0),
02510     type_of_variable_three_ (0)
02511 {
02512 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( TAO_PSDL_Node type_of_variable_one  ) 

Definition at line 2514 of file PSDL_Node.cpp.

02515   : type_one_ (0),
02516     type_two_ (0),
02517     type_three_ (0),
02518     type_of_variable_one_ (type_of_variable_one),
02519     type_of_variable_two_ (0),
02520     type_of_variable_three_ (0)
02521 {
02522 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( int  type_one,
TAO_PSDL_Node type_of_variable_one,
TAO_PSDL_Node type_of_variable_two 
)

Definition at line 2540 of file PSDL_Node.cpp.

02543   : type_one_ (type_one),
02544     type_two_ (0),
02545     type_three_ (0),
02546     type_of_variable_one_ (type_of_variable_one),
02547     type_of_variable_two_ (type_of_variable_two),
02548     type_of_variable_three_ (0)
02549 {
02550   // @@ I am not sure if it is needed. This is nto needed in case fo
02551   // structs atleast. So, I will check it that it doesnt happen in
02552   // case of structs. Or rather will comment it out and will check
02553   // later if need arised by.
02554   // this->psdl_scope_visitor ()->visit_predefined_type (this);
02555 
02556   /*  if (this->type_one_ == TAO_PSDL_ENUM)
02557     {
02558       this->psdl_scope ()->add_enum_decl (this->identifier_type_,
02559                                           "enum");
02560     }
02561   */
02562 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( TAO_PSDL_Node type_of_variable_one,
TAO_PSDL_Node type_of_variable_two 
)

Definition at line 2524 of file PSDL_Node.cpp.

References TAO_PSDL_Node::psdl_scope_visitor(), and TAO_PSDL_Scope_Visitor::visit_predefined_type().

02526   : type_one_ (0),
02527     type_two_ (0),
02528     type_three_ (0),
02529     type_of_variable_one_ (type_of_variable_one),
02530     type_of_variable_two_ (type_of_variable_two),
02531     type_of_variable_three_ (0)
02532 {
02533   this->psdl_scope_visitor ()->visit_predefined_type (this);
02534   /*
02535   this->psdl_scope ()->add_enum_decl (this->identifier_value_,
02536                                       this->identifier_type_);
02537   */
02538 }

TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type ( TAO_PSDL_Node type_of_variable_one,
TAO_PSDL_Node type_of_variable_two,
TAO_PSDL_Node type_of_variable_three 
)

Definition at line 2564 of file PSDL_Node.cpp.

TAO_PSDL_Predefined_Type::~TAO_PSDL_Predefined_Type ( void   )  [virtual]

Definition at line 2577 of file PSDL_Node.cpp.

References type_of_variable_one_, type_of_variable_three_, and type_of_variable_two_.

02578 {
02579   if (this->type_of_variable_one_ != 0)
02580     delete this->type_of_variable_one_;
02581   if (this->type_of_variable_two_ != 0)
02582     delete this->type_of_variable_two_;
02583   if (this->type_of_variable_three_ != 0)
02584     delete this->type_of_variable_three_;
02585 }


Member Function Documentation

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

= The Node methods.

Implements TAO_PSDL_Node.

Definition at line 2626 of file PSDL_Node.cpp.

References TAO_PSDL_Node_Visitor::visit_predefined_type().

02627 {
02628   return visitor->visit_predefined_type  (this);
02629 }

TAO_PSDL_Node * TAO_PSDL_Predefined_Type::type_of_variable_one ( void   )  const

Definition at line 2607 of file PSDL_Node.cpp.

References type_of_variable_one_.

Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_predefined_type(), TAO_PSDL_Struct_Visitor::visit_predefined_type(), TAO_PSDL_Scope_Visitor::visit_predefined_type(), TAO_PSDL_Enum_Type_Visitor::visit_predefined_type(), and Dump_Visitor::visit_predefined_type().

02608 {
02609   return this->type_of_variable_one_;
02610 }

TAO_PSDL_Node * TAO_PSDL_Predefined_Type::type_of_variable_three ( void   )  const

Definition at line 2619 of file PSDL_Node.cpp.

References type_of_variable_three_.

Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_predefined_type(), TAO_PSDL_Scope_Visitor::visit_predefined_type(), and Dump_Visitor::visit_predefined_type().

02620 {
02621   return this->type_of_variable_three_;
02622 }

TAO_PSDL_Node * TAO_PSDL_Predefined_Type::type_of_variable_two ( void   )  const

Definition at line 2613 of file PSDL_Node.cpp.

References type_of_variable_two_.

Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_predefined_type(), TAO_PSDL_Struct_Visitor::visit_predefined_type(), TAO_PSDL_Scope_Visitor::visit_predefined_type(), TAO_PSDL_Enum_Type_Visitor::visit_predefined_type(), and Dump_Visitor::visit_predefined_type().

02614 {
02615   return this->type_of_variable_two_;
02616 }

int TAO_PSDL_Predefined_Type::type_one ( void   )  const

Get the value.

Definition at line 2589 of file PSDL_Node.cpp.

References type_one_.

Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_predefined_type(), TAO_PSDL_Struct_Visitor::visit_predefined_type(), TAO_PSDL_Scope_Visitor::visit_predefined_type(), TAO_PSDL_Node_Visitor::visit_predefined_type(), TAO_PSDL_Exception_Visitor::visit_predefined_type(), and Dump_Visitor::visit_predefined_type().

02590 {
02591   return this->type_one_;
02592 }

int TAO_PSDL_Predefined_Type::type_three ( void   )  const

Definition at line 2601 of file PSDL_Node.cpp.

References type_three_.

Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_predefined_type(), TAO_PSDL_Scope_Visitor::visit_predefined_type(), TAO_PSDL_Node_Visitor::visit_predefined_type(), and Dump_Visitor::visit_predefined_type().

02602 {
02603   return this->type_three_;
02604 }

int TAO_PSDL_Predefined_Type::type_two ( void   )  const

Definition at line 2595 of file PSDL_Node.cpp.

References type_two_.

Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_predefined_type(), TAO_PSDL_Scope_Visitor::visit_predefined_type(), TAO_PSDL_Node_Visitor::visit_predefined_type(), and Dump_Visitor::visit_predefined_type().

02596 {
02597   return this->type_two_;
02598 }


Member Data Documentation

TAO_PSDL_Node* TAO_PSDL_Predefined_Type::type_of_variable_one_ [private]

Definition at line 1710 of file PSDL_Node.h.

Referenced by type_of_variable_one(), and ~TAO_PSDL_Predefined_Type().

TAO_PSDL_Node* TAO_PSDL_Predefined_Type::type_of_variable_three_ [private]

Definition at line 1712 of file PSDL_Node.h.

Referenced by type_of_variable_three(), and ~TAO_PSDL_Predefined_Type().

TAO_PSDL_Node* TAO_PSDL_Predefined_Type::type_of_variable_two_ [private]

Definition at line 1711 of file PSDL_Node.h.

Referenced by type_of_variable_two(), and ~TAO_PSDL_Predefined_Type().

int TAO_PSDL_Predefined_Type::type_one_ [private]

The values.

Definition at line 1706 of file PSDL_Node.h.

Referenced by type_one().

int TAO_PSDL_Predefined_Type::type_three_ [private]

Definition at line 1708 of file PSDL_Node.h.

Referenced by type_three().

int TAO_PSDL_Predefined_Type::type_two_ [private]

Definition at line 1707 of file PSDL_Node.h.

Referenced by type_two().


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