Gecode::FlatZinc::ConExpr Class Reference
Abstract representation of a constraint. More...
#include <conexpr.hh>
Public Member Functions | |
ConExpr (const std::string &id0, AST::Array *args0) | |
Constructor. | |
AST::Node * | operator[] (int i) const |
Return argument i. | |
~ConExpr (void) | |
Destructor. | |
Public Attributes | |
std::string | id |
Identifier for the constraint. | |
AST::Array * | args |
Constraint arguments. |
Detailed Description
Abstract representation of a constraint.
Definition at line 47 of file conexpr.hh.
Constructor & Destructor Documentation
Gecode::FlatZinc::ConExpr::ConExpr | ( | const std::string & | id0, | |
AST::Array * | args0 | |||
) | [inline] |
Constructor.
Definition at line 62 of file conexpr.hh.
Gecode::FlatZinc::ConExpr::~ConExpr | ( | void | ) | [inline] |
Destructor.
Definition at line 69 of file conexpr.hh.
Member Function Documentation
AST::Node * Gecode::FlatZinc::ConExpr::operator[] | ( | int | i | ) | const [inline] |
Return argument i.
Definition at line 66 of file conexpr.hh.
Member Data Documentation
std::string Gecode::FlatZinc::ConExpr::id |
Identifier for the constraint.
Definition at line 50 of file conexpr.hh.
Constraint arguments.
Definition at line 52 of file conexpr.hh.
The documentation for this class was generated from the following file:
- gecode/flatzinc/conexpr.hh (Revision: 9700)