#include <PSDL_Node.h>
Inheritance diagram for TAO_PSDL_Literal:
Public Member Functions | |
TAO_PSDL_Literal (CORBA::Boolean boolean_value) | |
**************************************************************** | |
TAO_PSDL_Literal (int int_value) | |
TAO_PSDL_Literal (double double_value) | |
TAO_PSDL_Literal (const char *char_value) | |
virtual | ~TAO_PSDL_Literal (void) |
CORBA::Boolean | boolean_value (void) const |
Get the value. | |
int | int_value (void) const |
double | double_value (void) const |
const char * | char_value (void) const |
int | accept (TAO_PSDL_Node_Visitor *visitor) |
= The Node methods. | |
Private Attributes | |
CORBA::Boolean | boolean_value_ |
The values. | |
int | int_value_ |
double | double_value_ |
const char * | char_value_ |
Definition at line 3113 of file PSDL_Node.h.
TAO_PSDL_Literal::TAO_PSDL_Literal | ( | CORBA::Boolean | boolean_value | ) |
****************************************************************
Definition at line 4821 of file PSDL_Node.cpp.
04822 : boolean_value_ (boolean_value), 04823 int_value_ (0), 04824 double_value_ (0), 04825 char_value_ (0) 04826 { 04827 }
TAO_PSDL_Literal::TAO_PSDL_Literal | ( | int | int_value | ) |
Definition at line 4829 of file PSDL_Node.cpp.
04830 : boolean_value_ (0), 04831 int_value_ (int_value), 04832 double_value_ (0), 04833 char_value_ (0) 04834 { 04835 }
TAO_PSDL_Literal::TAO_PSDL_Literal | ( | double | double_value | ) |
Definition at line 4837 of file PSDL_Node.cpp.
04838 : boolean_value_ (0), 04839 int_value_ (0), 04840 double_value_ (double_value), 04841 char_value_ (0) 04842 { 04843 }
TAO_PSDL_Literal::TAO_PSDL_Literal | ( | const char * | char_value | ) |
Definition at line 4845 of file PSDL_Node.cpp.
04846 : boolean_value_ (0), 04847 int_value_ (0), 04848 double_value_ (0), 04849 char_value_ (char_value) 04850 { 04851 }
TAO_PSDL_Literal::~TAO_PSDL_Literal | ( | void | ) | [virtual] |
Definition at line 4853 of file PSDL_Node.cpp.
04854 { 04855 // We cannot delete this since it is a constant 04856 /*if (this->char_value_ != 0) 04857 delete this->char_value_; */ 04858 }
int TAO_PSDL_Literal::accept | ( | TAO_PSDL_Node_Visitor * | visitor | ) | [virtual] |
= The Node methods.
Implements TAO_PSDL_Node.
Definition at line 4887 of file PSDL_Node.cpp.
References TAO_PSDL_Node_Visitor::visit_literal().
04888 { 04889 return visitor->visit_literal (this); 04890 }
CORBA::Boolean TAO_PSDL_Literal::boolean_value | ( | void | ) | const |
Get the value.
Definition at line 4862 of file PSDL_Node.cpp.
References boolean_value_.
04863 { 04864 return this->boolean_value_; 04865 }
const char * TAO_PSDL_Literal::char_value | ( | void | ) | const |
Definition at line 4880 of file PSDL_Node.cpp.
References char_value_.
04881 { 04882 return this->char_value_; 04883 }
double TAO_PSDL_Literal::double_value | ( | void | ) | const |
Definition at line 4874 of file PSDL_Node.cpp.
References double_value_.
04875 { 04876 return this->double_value_; 04877 }
int TAO_PSDL_Literal::int_value | ( | void | ) | const |
Definition at line 4868 of file PSDL_Node.cpp.
References int_value_.
04869 { 04870 return this->int_value_; 04871 }
const char* TAO_PSDL_Literal::char_value_ [private] |
double TAO_PSDL_Literal::double_value_ [private] |
int TAO_PSDL_Literal::int_value_ [private] |