Public Member Functions | Private Attributes

ETCL_Unary_Expr Class Reference

#include <ETCL_Constraint.h>

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

List of all members.

Public Member Functions

 ETCL_Unary_Expr (int type, ETCL_Constraint *subexpr)
virtual ~ETCL_Unary_Expr (void)
int type (void) const
ETCL_Constraintsubexpr (void) const
int accept (ETCL_Constraint_Visitor *visitor)

Private Attributes

int type_
ETCL_Constraintsubexpr_

Detailed Description

Definition at line 363 of file ETCL_Constraint.h.


Constructor & Destructor Documentation

ETCL_Unary_Expr::ETCL_Unary_Expr ( int  type,
ETCL_Constraint subexpr 
) [inline]

Definition at line 303 of file ETCL_Constraint.inl.

  :  type_ (type),
     subexpr_ (subexpr)
{}

ETCL_Unary_Expr::~ETCL_Unary_Expr ( void   )  [virtual]

Definition at line 625 of file ETCL_Constraint.cpp.

{
  delete this->subexpr_;
}


Member Function Documentation

int ETCL_Unary_Expr::accept ( ETCL_Constraint_Visitor visitor  )  [virtual]

Reimplemented from ETCL_Constraint.

Definition at line 631 of file ETCL_Constraint.cpp.

{
  return visitor->visit_unary_expr (this);
}

ETCL_Constraint * ETCL_Unary_Expr::subexpr ( void   )  const [inline]

Definition at line 316 of file ETCL_Constraint.inl.

{
  return this->subexpr_;
}

int ETCL_Unary_Expr::type ( void   )  const [inline]

Definition at line 310 of file ETCL_Constraint.inl.

{
  return this->type_;
}


Member Data Documentation

Definition at line 377 of file ETCL_Constraint.h.

int ETCL_Unary_Expr::type_ [private]

Definition at line 376 of file ETCL_Constraint.h.


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