|
Last change
on this file since 9777 was 9777, checked in by Eric.Larour, 14 years ago |
|
Discarded Marshall, Demarshall and MarshallSize routines for parallel compilation, where it is never used.
Only activated according to _SERIAL_ symbol.
|
|
File size:
704 bytes
|
| 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;
|
|---|
| [9777] | 23 | #ifdef _SERIAL_
|
|---|
| [1] | 24 | virtual void Marshall(char** pmarshalled_dataset)=0;
|
|---|
| 25 | virtual int MarshallSize()=0;
|
|---|
| 26 | virtual void Demarshall(char** pmarshalled_dataset)=0;
|
|---|
| [9777] | 27 | #endif
|
|---|
| [1] | 28 | virtual int Enum()=0;
|
|---|
| 29 | virtual Object* copy()=0;
|
|---|
| [4248] | 30 |
|
|---|
| [1] | 31 | };
|
|---|
| 32 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.