#include <PSDL_Node.h>
Inheritance diagram for TAO_PSDL_Identifier:
Public Member Functions | |
TAO_PSDL_Identifier (char *value) | |
**************************************************************** | |
TAO_PSDL_Identifier (int value_type) | |
virtual | ~TAO_PSDL_Identifier (void) |
char * | value (void) const |
Get the value. | |
int | value_type (void) const |
int | accept (TAO_PSDL_Node_Visitor *visitor) |
= The Node methods. | |
Private Attributes | |
char * | value_ |
The values. | |
int | value_type_ |
Definition at line 1362 of file PSDL_Node.h.
TAO_PSDL_Identifier::TAO_PSDL_Identifier | ( | char * | value | ) |
****************************************************************
Definition at line 2018 of file PSDL_Node.cpp.
References TAO_PSDL_Scope::instance(), and TAO_PSDL_Scope::save_identifier().
02019 : value_ (CORBA::string_dup (value)), 02020 value_type_ (0) 02021 { 02022 TAO_PSDL_Scope::instance ()->save_identifier (value); 02023 }
TAO_PSDL_Identifier::TAO_PSDL_Identifier | ( | int | value_type | ) |
TAO_PSDL_Identifier::~TAO_PSDL_Identifier | ( | void | ) | [virtual] |
Definition at line 2030 of file PSDL_Node.cpp.
References value_.
02031 { 02032 if (this->value_ != 0) 02033 delete this->value_; 02034 }
int TAO_PSDL_Identifier::accept | ( | TAO_PSDL_Node_Visitor * | visitor | ) | [virtual] |
= The Node methods.
Implements TAO_PSDL_Node.
Definition at line 2051 of file PSDL_Node.cpp.
References TAO_PSDL_Node_Visitor::visit_identifier().
02052 { 02053 return visitor->visit_identifier (this); 02054 }
char * TAO_PSDL_Identifier::value | ( | void | ) | const |
Get the value.
Definition at line 2038 of file PSDL_Node.cpp.
References value_.
Referenced by TAO_PSDL_Type_Dcl_Visitor::visit_identifier(), TAO_PSDL_Struct_Visitor::visit_identifier(), TAO_PSDL_Scope_Visitor::visit_identifier(), TAO_PSDL_Node_Visitor::visit_identifier(), TAO_PSDL_Interface_Visitor::visit_identifier(), TAO_PSDL_Exception_Visitor::visit_identifier(), TAO_PSDL_Enum_Type_Visitor::visit_identifier(), and Dump_Visitor::visit_identifier().
02039 { 02040 return this->value_; 02041 }
int TAO_PSDL_Identifier::value_type | ( | void | ) | const |
Definition at line 2044 of file PSDL_Node.cpp.
References value_type_.
02045 { 02046 return this->value_type_; 02047 }
char* TAO_PSDL_Identifier::value_ [private] |
The values.
Definition at line 1382 of file PSDL_Node.h.
Referenced by value(), and ~TAO_PSDL_Identifier().
int TAO_PSDL_Identifier::value_type_ [private] |