source: issm/trunk-jpl/src/c/classes/Constraints/Constraint.h@ 15067

Last change on this file since 15067 was 15067, checked in by Eric.Larour, 12 years ago

CHG: moved DataSet.h and Object.h into a directory called datastructures/
This should be our first building block which along shared/ will be used by every
other library we build. Not sure whether to make it into a library for now.

File size: 566 bytes
Line 
1/*!\file: Constraint.h
2 * \brief abstract class for Constraint object
3 * This class is a place holder for constraints
4 * It is derived from Object, so DataSets can contain them.
5 */
6
7#ifndef _CONSTRAINT_H_
8#define _CONSTRAINT_H_
9
10/*Headers:*/
11/*{{{*/
12class Nodes;
13#include "../../datastructures/datastructures.h"
14#include "../../toolkits/toolkits.h"
15/*}}}*/
16
17class Constraint: public Object{
18
19 public:
20
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.