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

Last change on this file since 8303 was 8303, checked in by seroussi, 14 years ago

changed from grid to node in c

File size: 677 bytes
RevLine 
[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
14class 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.