Public Member Functions | Private Attributes

TAO_PSDL_Unary_Expr Class Reference

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

#include <PSDL_Node.h>

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

List of all members.

Public Member Functions

 TAO_PSDL_Unary_Expr (TAO_PSDL_Node *unary_operator, TAO_PSDL_Node *primary_expr)
 ****************************************************************
 TAO_PSDL_Unary_Expr (TAO_PSDL_Node *primary_expr)
virtual ~TAO_PSDL_Unary_Expr (void)
TAO_PSDL_Nodeunary_operator (void) const
 Get the value.
TAO_PSDL_Nodeprimary_expr (void) const
int accept (TAO_PSDL_Node_Visitor *visitor)
 = The Node methods.

Private Attributes

TAO_PSDL_Nodeunary_operator_
 The values.
TAO_PSDL_Nodeprimary_expr_

Detailed Description

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

Definition at line 2153 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Unary_Expr::TAO_PSDL_Unary_Expr ( TAO_PSDL_Node unary_operator,
TAO_PSDL_Node primary_expr 
)

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

Definition at line 3370 of file PSDL_Node.cpp.

  : unary_operator_ (unary_operator),
    primary_expr_ (primary_expr)
{
}

TAO_PSDL_Unary_Expr::TAO_PSDL_Unary_Expr ( TAO_PSDL_Node primary_expr  ) 

Definition at line 3377 of file PSDL_Node.cpp.

  : unary_operator_ (0),
    primary_expr_ (primary_expr)
{
}

TAO_PSDL_Unary_Expr::~TAO_PSDL_Unary_Expr ( void   )  [virtual]

Definition at line 3383 of file PSDL_Node.cpp.

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

  delete this->primary_expr_;
}


Member Function Documentation

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

= The Node methods.

Implements TAO_PSDL_Node.

Definition at line 3406 of file PSDL_Node.cpp.

{
  return visitor->visit_unary_expr  (this);
}

TAO_PSDL_Node * TAO_PSDL_Unary_Expr::primary_expr ( void   )  const

Definition at line 3399 of file PSDL_Node.cpp.

{
  return this->primary_expr_;
}

TAO_PSDL_Node * TAO_PSDL_Unary_Expr::unary_operator ( void   )  const

Get the value.

Definition at line 3393 of file PSDL_Node.cpp.

{
  return this->unary_operator_;
}


Member Data Documentation

Definition at line 2174 of file PSDL_Node.h.

The values.

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