Revision: | 1011 |
Committed: | Tue Feb 3 20:47:10 2004 UTC (21 years, 2 months ago) by tim |
File size: | 476 byte(s) |
Log Message: | *** empty log message *** |
# | Content |
---|---|
1 | #ifndef _CONSTRAINTLIST_H_ |
2 | #define _CONSTRAINTLIST_H_ |
3 | |
4 | #include "Constraint.hpp" |
5 | |
6 | class ConstraintList{ |
7 | public: |
8 | ConstraintList(); |
9 | ~ConstraintList(); |
10 | |
11 | void addConstraint(ConstraintBase* cons); |
12 | int getNumOfCons() {return constraints.size();} |
13 | int getConsType() {return consType;} |
14 | vector<ConstraintBase*> getConstraints() {return constraints;} |
15 | |
16 | protected: |
17 | |
18 | vector<ConstraintBase*> constraints; |
19 | int consType; |
20 | }; |
21 | #endif |
Name | Value |
---|---|
svn:executable | * |