Public Member Functions | Private Attributes

TAO_PSDL_Literal Class Reference

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

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Literal:
Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Literal:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

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

Definition at line 3113 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Literal::TAO_PSDL_Literal ( CORBA::Boolean  boolean_value  ) 

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

Definition at line 4817 of file PSDL_Node.cpp.

TAO_PSDL_Literal::TAO_PSDL_Literal ( int  int_value  ) 

Definition at line 4825 of file PSDL_Node.cpp.

TAO_PSDL_Literal::TAO_PSDL_Literal ( double  double_value  ) 

Definition at line 4833 of file PSDL_Node.cpp.

TAO_PSDL_Literal::TAO_PSDL_Literal ( const char *  char_value  ) 

Definition at line 4841 of file PSDL_Node.cpp.

TAO_PSDL_Literal::~TAO_PSDL_Literal ( void   )  [virtual]

Definition at line 4849 of file PSDL_Node.cpp.

{
  // We cannot delete this since it is a constant
  /*if (this->char_value_ != 0)
    delete this->char_value_; */
}


Member Function Documentation

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

= The Node methods.

Implements TAO_PSDL_Node.

Definition at line 4883 of file PSDL_Node.cpp.

{
  return visitor->visit_literal (this);
}

CORBA::Boolean TAO_PSDL_Literal::boolean_value ( void   )  const

Get the value.

Definition at line 4858 of file PSDL_Node.cpp.

{
  return this->boolean_value_;
}

const char * TAO_PSDL_Literal::char_value ( void   )  const

Definition at line 4876 of file PSDL_Node.cpp.

{
  return this->char_value_;
}

double TAO_PSDL_Literal::double_value ( void   )  const

Definition at line 4870 of file PSDL_Node.cpp.

{
  return this->double_value_;
}

int TAO_PSDL_Literal::int_value ( void   )  const

Definition at line 4864 of file PSDL_Node.cpp.

{
  return this->int_value_;
}


Member Data Documentation

The values.

Definition at line 3139 of file PSDL_Node.h.

const char* TAO_PSDL_Literal::char_value_ [private]

Definition at line 3142 of file PSDL_Node.h.

Definition at line 3141 of file PSDL_Node.h.

Definition at line 3140 of file PSDL_Node.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines