TAO_PSDL_Case_Label Class Reference

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

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Case_Label:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Case_Label:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_PSDL_Case_Label (TAO_PSDL_Node *type)
 ****************************************************************
 TAO_PSDL_Case_Label (TAO_PSDL_Node *type, TAO_PSDL_Node *const_exp)
 TAO_PSDL_Case_Label (TAO_PSDL_Node *type, TAO_PSDL_Node *const_exp, TAO_PSDL_Node *case_label)
virtual ~TAO_PSDL_Case_Label (void)
TAO_PSDL_Nodetype (void) const
 Get the value.
TAO_PSDL_Nodeconst_exp (void) const
TAO_PSDL_Nodecase_label (void) const
int accept (TAO_PSDL_Node_Visitor *visitor)
 = The Node methods.

Private Attributes

TAO_PSDL_Nodetype_
 The values.
TAO_PSDL_Nodeconst_exp_
TAO_PSDL_Nodecase_label_

Detailed Description

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

Definition at line 1864 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Case_Label::TAO_PSDL_Case_Label ( TAO_PSDL_Node type  ) 

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

Definition at line 2879 of file PSDL_Node.cpp.

02880   : type_ (type),
02881     const_exp_ (0),
02882     case_label_ (0)
02883 {
02884 }

TAO_PSDL_Case_Label::TAO_PSDL_Case_Label ( TAO_PSDL_Node type,
TAO_PSDL_Node const_exp 
)

Definition at line 2886 of file PSDL_Node.cpp.

02888   : type_ (type),
02889     const_exp_ (const_exp),
02890     case_label_ (0)
02891 {
02892 }

TAO_PSDL_Case_Label::TAO_PSDL_Case_Label ( TAO_PSDL_Node type,
TAO_PSDL_Node const_exp,
TAO_PSDL_Node case_label 
)

Definition at line 2894 of file PSDL_Node.cpp.

02897   : type_ (type),
02898     const_exp_ (const_exp),
02899     case_label_ (case_label)
02900 {
02901 }

TAO_PSDL_Case_Label::~TAO_PSDL_Case_Label ( void   )  [virtual]

Definition at line 2903 of file PSDL_Node.cpp.

References case_label_, and const_exp_.

02904 {
02905   if (this->const_exp_ != 0)
02906     delete this->const_exp_;
02907 
02908   if (this->case_label_ != 0)
02909     delete this->case_label_;
02910 }


Member Function Documentation

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

= The Node methods.

Implements TAO_PSDL_Node.

Definition at line 2932 of file PSDL_Node.cpp.

References TAO_PSDL_Node_Visitor::visit_case_label().

02933 {
02934   return visitor->visit_case_label (this);
02935 }

TAO_PSDL_Node * TAO_PSDL_Case_Label::case_label ( void   )  const

Definition at line 2926 of file PSDL_Node.cpp.

References case_label_.

02927 {
02928   return this->case_label_;
02929 }

TAO_PSDL_Node * TAO_PSDL_Case_Label::const_exp ( void   )  const

Definition at line 2920 of file PSDL_Node.cpp.

References const_exp_.

02921 {
02922   return this->const_exp_;
02923 }

TAO_PSDL_Node * TAO_PSDL_Case_Label::type ( void   )  const

Get the value.

Definition at line 2914 of file PSDL_Node.cpp.

References type_.

02915 {
02916   return this->type_;
02917 }


Member Data Documentation

TAO_PSDL_Node* TAO_PSDL_Case_Label::case_label_ [private]

Definition at line 1891 of file PSDL_Node.h.

Referenced by case_label(), and ~TAO_PSDL_Case_Label().

TAO_PSDL_Node* TAO_PSDL_Case_Label::const_exp_ [private]

Definition at line 1890 of file PSDL_Node.h.

Referenced by const_exp(), and ~TAO_PSDL_Case_Label().

TAO_PSDL_Node* TAO_PSDL_Case_Label::type_ [private]

The values.

Reimplemented from TAO_PSDL_Node.

Definition at line 1889 of file PSDL_Node.h.

Referenced by type().


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