#include <ETCL_Constraint.h>
Public Member Functions | |
ETCL_Component_Array (void) | |
ETCL_Component_Array (ETCL_Constraint *integer, ETCL_Constraint *component) | |
virtual | ~ETCL_Component_Array (void) |
ETCL_Literal_Constraint * | integer (void) const |
ETCL_Constraint * | component (void) const |
virtual int | accept (ETCL_Constraint_Visitor *visitor) |
Private Attributes | |
ETCL_Literal_Constraint * | integer_ |
ETCL_Constraint * | component_ |
Definition at line 252 of file ETCL_Constraint.h.
ETCL_Component_Array::ETCL_Component_Array | ( | void | ) | [inline] |
Definition at line 158 of file ETCL_Constraint.inl.
{}
ETCL_Component_Array::ETCL_Component_Array | ( | ETCL_Constraint * | integer, | |
ETCL_Constraint * | component | |||
) | [inline] |
Definition at line 162 of file ETCL_Constraint.inl.
: component_ (component) { this->integer_ = dynamic_cast<ETCL_Literal_Constraint*> (integer); }
ETCL_Component_Array::~ETCL_Component_Array | ( | void | ) | [virtual] |
Definition at line 534 of file ETCL_Constraint.cpp.
{ delete this->component_; delete this->integer_; }
int ETCL_Component_Array::accept | ( | ETCL_Constraint_Visitor * | visitor | ) | [virtual] |
Reimplemented from ETCL_Constraint.
Definition at line 541 of file ETCL_Constraint.cpp.
{ return visitor->visit_component_array (this); }
ETCL_Constraint * ETCL_Component_Array::component | ( | void | ) | const [inline] |
Definition at line 179 of file ETCL_Constraint.inl.
{ return this->component_; }
ETCL_Literal_Constraint * ETCL_Component_Array::integer | ( | void | ) | const [inline] |
Definition at line 173 of file ETCL_Constraint.inl.
{ return this->integer_; }
ETCL_Constraint* ETCL_Component_Array::component_ [private] |
Definition at line 267 of file ETCL_Constraint.h.
Definition at line 266 of file ETCL_Constraint.h.