Public Member Functions | Private Attributes

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 2875 of file PSDL_Node.cpp.

  : type_ (type),
    const_exp_ (0),
    case_label_ (0)
{
}

TAO_PSDL_Case_Label::TAO_PSDL_Case_Label ( TAO_PSDL_Node type,
TAO_PSDL_Node const_exp 
)

Definition at line 2882 of file PSDL_Node.cpp.

  : type_ (type),
    const_exp_ (const_exp),
    case_label_ (0)
{
}

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 2890 of file PSDL_Node.cpp.

  : type_ (type),
    const_exp_ (const_exp),
    case_label_ (case_label)
{
}

TAO_PSDL_Case_Label::~TAO_PSDL_Case_Label ( void   )  [virtual]

Definition at line 2899 of file PSDL_Node.cpp.

{
  if (this->const_exp_ != 0)
    delete this->const_exp_;

  if (this->case_label_ != 0)
    delete this->case_label_;
}


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 2928 of file PSDL_Node.cpp.

{
  return visitor->visit_case_label (this);
}

TAO_PSDL_Node * TAO_PSDL_Case_Label::case_label ( void   )  const

Definition at line 2922 of file PSDL_Node.cpp.

{
  return this->case_label_;
}

TAO_PSDL_Node * TAO_PSDL_Case_Label::const_exp ( void   )  const

Definition at line 2916 of file PSDL_Node.cpp.

{
  return this->const_exp_;
}

TAO_PSDL_Node * TAO_PSDL_Case_Label::type ( void   )  const

Get the value.

Definition at line 2910 of file PSDL_Node.cpp.

{
  return this->type_;
}


Member Data Documentation

Definition at line 1891 of file PSDL_Node.h.

Definition at line 1890 of file PSDL_Node.h.

The values.

Reimplemented from TAO_PSDL_Node.

Definition at line 1889 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