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
|
---|
[8303] | 6 | * to any other objects (Quad, Tria, Node , etc ...), that can be included in a
|
---|
[1] | 7 | * DataSet.
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | #ifndef _OBJECT_H_
|
---|
| 12 | #define _OBJECT_H_
|
---|
| 13 |
|
---|
| 14 | class Object {
|
---|
| 15 |
|
---|
| 16 | public:
|
---|
[4248] | 17 |
|
---|
[1] | 18 | virtual ~Object() {};
|
---|
| 19 | virtual void Echo()=0;
|
---|
[803] | 20 | virtual void DeepEcho()=0;
|
---|
[3673] | 21 | virtual int Id()=0;
|
---|
[1] | 22 | virtual int MyRank()=0;
|
---|
| 23 | virtual void Marshall(char** pmarshalled_dataset)=0;
|
---|
| 24 | virtual int MarshallSize()=0;
|
---|
| 25 | virtual void Demarshall(char** pmarshalled_dataset)=0;
|
---|
| 26 | virtual int Enum()=0;
|
---|
| 27 | virtual Object* copy()=0;
|
---|
[4248] | 28 |
|
---|
[1] | 29 | };
|
---|
| 30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.