TAO_PSDL_Identifier Class Reference

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

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Identifier:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Identifier:

Collaboration graph
[legend]
List of all members.

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_

Detailed Description

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

Definition at line 1362 of file PSDL_Node.h.


Constructor & Destructor Documentation

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  ) 

Definition at line 2025 of file PSDL_Node.cpp.

02026   : value_type_ (value_type)
02027 {
02028 }

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 }


Member Function Documentation

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 }


Member Data Documentation

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]

Definition at line 1383 of file PSDL_Node.h.

Referenced by value_type().


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