source: issm/trunk/src/c/objects/Object.h@ 9777

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