Last change
on this file since 15012 was 15012, checked in by Mathieu Morlighem, 12 years ago |
CHG: moved classes/objects back to classes
|
File size:
540 bytes
|
Rev | Line | |
---|
[9002] | 1 | /*!\file: Constraint.h
|
---|
| 2 | * \brief abstract class for Constraint object
|
---|
[9285] | 3 | * This class is a place holder for constraints
|
---|
[9002] | 4 | * It is derived from Object, so DataSets can contain them.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | #ifndef _CONSTRAINT_H_
|
---|
| 8 | #define _CONSTRAINT_H_
|
---|
| 9 |
|
---|
| 10 | /*Headers:*/
|
---|
[12365] | 11 | /*{{{*/
|
---|
[12200] | 12 | class Nodes;
|
---|
[9002] | 13 | #include "../Object.h"
|
---|
[15012] | 14 | #include "../../toolkits/toolkits.h"
|
---|
[9002] | 15 | /*}}}*/
|
---|
| 16 |
|
---|
| 17 | class Constraint: public Object{
|
---|
| 18 |
|
---|
| 19 | public:
|
---|
[13623] | 20 |
|
---|
[9002] | 21 | virtual ~Constraint(){};
|
---|
| 22 | virtual void ConstrainNode(Nodes* nodes,Parameters* parameters)=0;
|
---|
| 23 | virtual bool InAnalysis(int analysis_type)=0;
|
---|
| 24 |
|
---|
| 25 | };
|
---|
| 26 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.