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

Last change on this file since 4091 was 4091, checked in by Eric.Larour, 15 years ago

renamed UpdateInputsFromVectorx to InputUpdateFromVectorx

File size: 1.1 KB
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, Grid, 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 virtual ~Object() {};
18 virtual void Echo()=0;
19 virtual void DeepEcho()=0;
20 virtual int Id()=0;
21 virtual int MyRank()=0;
22 virtual void Marshall(char** pmarshalled_dataset)=0;
23 virtual int MarshallSize()=0;
24 virtual void Demarshall(char** pmarshalled_dataset)=0;
25 virtual int Enum()=0;
26 virtual Object* copy()=0;
27 virtual void InputUpdateFromVector(double* vector, int name, int type)=0;
28 virtual void InputUpdateFromVector(int* vector, int name, int type)=0;
29 virtual void InputUpdateFromVector(bool* vector, int name, int type)=0;
30 virtual void InputUpdateFromConstant(double constant, int name)=0;
31 virtual void InputUpdateFromConstant(int constant, int name)=0;
32 virtual void InputUpdateFromConstant(bool constant, int name)=0;
33 virtual void InputUpdateFromSolution(double* solution)=0;
34
35};
36#endif
Note: See TracBrowser for help on using the repository browser.