Rev | Line | |
---|
[1] | 1 | /*
|
---|
| 2 | * Object.h:
|
---|
| 3 | * \brief prototype for abstract Object class
|
---|
| 4 | * \file Object.h
|
---|
| 5 | * This prototype describes the Object class. This is an abstract class, parent
|
---|
| 6 | * to any other objects (Quad, Tria, Grid, etc ...), that can be included in a
|
---|
| 7 | * DataSet.
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | #ifndef _OBJECT_H_
|
---|
| 12 | #define _OBJECT_H_
|
---|
| 13 |
|
---|
| 14 | class Object {
|
---|
| 15 |
|
---|
| 16 | public:
|
---|
| 17 | virtual ~Object() {};
|
---|
| 18 | virtual void Echo()=0;
|
---|
[803] | 19 | virtual void DeepEcho()=0;
|
---|
[1] | 20 | virtual int GetId()=0;
|
---|
| 21 | virtual int MyRank()=0;
|
---|
| 22 | virtual void Marshall(char** pmarshalled_dataset)=0;
|
---|
| 23 | virtual int MarshallSize()=0;
|
---|
| 24 | virtual char* GetName()=0;
|
---|
| 25 | virtual void Demarshall(char** pmarshalled_dataset)=0;
|
---|
| 26 | virtual int Enum()=0;
|
---|
[3454] | 27 | virtual void SetClone(int* minranks)=0;
|
---|
[1] | 28 | virtual Object* copy()=0;
|
---|
| 29 |
|
---|
| 30 | };
|
---|
| 31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.