Public Member Functions | Private Attributes

ETCL_Binary_Expr Class Reference

#include <ETCL_Constraint.h>

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

List of all members.

Public Member Functions

 ETCL_Binary_Expr (int type, ETCL_Constraint *lhs, ETCL_Constraint *rhs)
virtual ~ETCL_Binary_Expr (void)
int type (void) const
ETCL_Constraintrhs (void) const
ETCL_Constraintlhs (void) const
int accept (ETCL_Constraint_Visitor *visitor)

Private Attributes

int type_
ETCL_Constraintlhs_
ETCL_Constraintrhs_

Detailed Description

Definition at line 380 of file ETCL_Constraint.h.


Constructor & Destructor Documentation

ETCL_Binary_Expr::ETCL_Binary_Expr ( int  type,
ETCL_Constraint lhs,
ETCL_Constraint rhs 
) [inline]

Definition at line 324 of file ETCL_Constraint.inl.

  :  type_ (type),
     lhs_ (lhs),
     rhs_ (rhs)
{}

ETCL_Binary_Expr::~ETCL_Binary_Expr ( void   )  [virtual]

Definition at line 638 of file ETCL_Constraint.cpp.

{
  delete this->lhs_;
  delete this->rhs_;
}


Member Function Documentation

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

Reimplemented from ETCL_Constraint.

Definition at line 645 of file ETCL_Constraint.cpp.

{
  return visitor->visit_binary_expr (this);
}

ETCL_Constraint * ETCL_Binary_Expr::lhs ( void   )  const [inline]

Definition at line 345 of file ETCL_Constraint.inl.

{
  return this->lhs_;
}

ETCL_Constraint * ETCL_Binary_Expr::rhs ( void   )  const [inline]

Definition at line 339 of file ETCL_Constraint.inl.

{
  return this->rhs_;
}

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

Definition at line 333 of file ETCL_Constraint.inl.

{
  return this->type_;
}


Member Data Documentation

Definition at line 396 of file ETCL_Constraint.h.

Definition at line 397 of file ETCL_Constraint.h.

int ETCL_Binary_Expr::type_ [private]

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