ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ConstraintList.hpp
Revision: 1011
Committed: Tue Feb 3 20:47:10 2004 UTC (20 years, 5 months ago) by tim
File size: 476 byte(s)
Log Message:
*** empty log message ***

File Contents

# 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

Properties

Name Value
svn:executable *