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

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

renamed UpdateInputsFromConstantx to InputUpdateFromConstantx

File size: 1.1 KB
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
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;
[803]19 virtual void DeepEcho()=0;
[3673]20 virtual int Id()=0;
[1]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;
[3703]27 virtual void UpdateInputsFromVector(double* vector, int name, int type)=0;
[3751]28 virtual void UpdateInputsFromVector(int* vector, int name, int type)=0;
29 virtual void UpdateInputsFromVector(bool* vector, int name, int type)=0;
[4079]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;
[4043]33 virtual void UpdateInputsFromSolution(double* solution)=0;
[3463]34
[1]35};
36#endif
Note: See TracBrowser for help on using the repository browser.