**************************************************************** More...
#include <PSDL_Node.h>
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_Node * | type_of_variable_one (void) const |
TAO_PSDL_Node * | type_of_variable_two (void) const |
TAO_PSDL_Node * | type_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_Node * | type_of_variable_one_ |
TAO_PSDL_Node * | type_of_variable_two_ |
TAO_PSDL_Node * | type_of_variable_three_ |
****************************************************************
Definition at line 1662 of file PSDL_Node.h.
TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type | ( | int | type_one | ) |
****************************************************************
Definition at line 2466 of file PSDL_Node.cpp.
: type_one_ (type_one), type_two_ (0), type_three_ (0), type_of_variable_one_ (0), type_of_variable_two_ (0), type_of_variable_three_ (0) { }
TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type | ( | int | type_one, | |
int | type_two | |||
) |
Definition at line 2476 of file PSDL_Node.cpp.
: type_one_ (type_one), type_two_ (type_two), type_three_ (0), type_of_variable_one_ (0), type_of_variable_two_ (0), type_of_variable_three_ (0) { }
TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type | ( | int | type_one, | |
int | type_two, | |||
int | type_three | |||
) |
Definition at line 2487 of file PSDL_Node.cpp.
: type_one_ (type_one), type_two_ (type_two), type_three_ (type_three), type_of_variable_one_ (0), type_of_variable_two_ (0), type_of_variable_three_ (0) { }
TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type | ( | int | type_one, | |
TAO_PSDL_Node * | type_of_variable_one | |||
) |
Definition at line 2499 of file PSDL_Node.cpp.
: type_one_ (type_one), type_two_ (0), type_three_ (0), type_of_variable_one_ (type_of_variable_one), type_of_variable_two_ (0), type_of_variable_three_ (0) { }
TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type | ( | TAO_PSDL_Node * | type_of_variable_one | ) |
Definition at line 2510 of file PSDL_Node.cpp.
: type_one_ (0), type_two_ (0), type_three_ (0), type_of_variable_one_ (type_of_variable_one), type_of_variable_two_ (0), type_of_variable_three_ (0) { }
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 2536 of file PSDL_Node.cpp.
: type_one_ (type_one), type_two_ (0), type_three_ (0), type_of_variable_one_ (type_of_variable_one), type_of_variable_two_ (type_of_variable_two), type_of_variable_three_ (0) { // @@ I am not sure if it is needed. This is nto needed in case fo // structs atleast. So, I will check it that it doesnt happen in // case of structs. Or rather will comment it out and will check // later if need arised by. // this->psdl_scope_visitor ()->visit_predefined_type (this); /* if (this->type_one_ == TAO_PSDL_ENUM) { this->psdl_scope ()->add_enum_decl (this->identifier_type_, "enum"); } */ }
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 2520 of file PSDL_Node.cpp.
: type_one_ (0), type_two_ (0), type_three_ (0), type_of_variable_one_ (type_of_variable_one), type_of_variable_two_ (type_of_variable_two), type_of_variable_three_ (0) { this->psdl_scope_visitor ()->visit_predefined_type (this); /* this->psdl_scope ()->add_enum_decl (this->identifier_value_, this->identifier_type_); */ }
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 2560 of file PSDL_Node.cpp.
: type_one_ (0), type_two_ (0), type_three_ (0), type_of_variable_one_ (type_of_variable_one), type_of_variable_two_ (type_of_variable_two), type_of_variable_three_ (type_of_variable_three) { }
TAO_PSDL_Predefined_Type::~TAO_PSDL_Predefined_Type | ( | void | ) | [virtual] |
Definition at line 2573 of file PSDL_Node.cpp.
{ if (this->type_of_variable_one_ != 0) delete this->type_of_variable_one_; if (this->type_of_variable_two_ != 0) delete this->type_of_variable_two_; if (this->type_of_variable_three_ != 0) delete this->type_of_variable_three_; }
int TAO_PSDL_Predefined_Type::accept | ( | TAO_PSDL_Node_Visitor * | visitor | ) | [virtual] |
= The Node methods.
Implements TAO_PSDL_Node.
Definition at line 2622 of file PSDL_Node.cpp.
{ return visitor->visit_predefined_type (this); }
TAO_PSDL_Node * TAO_PSDL_Predefined_Type::type_of_variable_one | ( | void | ) | const |
Definition at line 2603 of file PSDL_Node.cpp.
{ return this->type_of_variable_one_; }
TAO_PSDL_Node * TAO_PSDL_Predefined_Type::type_of_variable_three | ( | void | ) | const |
Definition at line 2615 of file PSDL_Node.cpp.
{ return this->type_of_variable_three_; }
TAO_PSDL_Node * TAO_PSDL_Predefined_Type::type_of_variable_two | ( | void | ) | const |
Definition at line 2609 of file PSDL_Node.cpp.
{ return this->type_of_variable_two_; }
int TAO_PSDL_Predefined_Type::type_one | ( | void | ) | const |
int TAO_PSDL_Predefined_Type::type_three | ( | void | ) | const |
Definition at line 2597 of file PSDL_Node.cpp.
{ return this->type_three_; }
int TAO_PSDL_Predefined_Type::type_two | ( | void | ) | const |
Definition at line 2591 of file PSDL_Node.cpp.
{ return this->type_two_; }
Definition at line 1710 of file PSDL_Node.h.
Definition at line 1712 of file PSDL_Node.h.
Definition at line 1711 of file PSDL_Node.h.
int TAO_PSDL_Predefined_Type::type_one_ [private] |
The values.
Definition at line 1706 of file PSDL_Node.h.
int TAO_PSDL_Predefined_Type::type_three_ [private] |
Definition at line 1708 of file PSDL_Node.h.
int TAO_PSDL_Predefined_Type::type_two_ [private] |
Definition at line 1707 of file PSDL_Node.h.