source: issm/trunk/src/c/objects/Results/StringResult.h@ 3938

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

New results API

File size: 1.6 KB
Line 
1/*! \file StringResult.h
2 * \brief: header file for triavertexinput object
3 */
4
5
6#ifndef _STRINGRESULT_H_
7#define _STRINGRESULT_H_
8
9/*Headers:*/
10/*{{{1*/
11
12#ifdef HAVE_CONFIG_H
13 #include "config.h"
14#else
15#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
16#endif
17
18#ifdef _SERIAL_
19#include <mex.h>
20#endif
21
22
23#include "./Result.h"
24#include "../../include/include.h"
25#include "../../shared/shared.h"
26#include "../../include/include.h"
27#include "../../include/include.h"
28/*}}}*/
29
30class StringResult: public Result{
31
32 private:
33 int id;
34 int enum_type;
35 double time;
36 int step;
37
38 char* value;
39
40 public:
41 /*constructors, destructors: {{{1*/
42 StringResult();
43 StringResult(int id, int enum_type,double time, int step, char* value);
44 ~StringResult();
45 /*}}}*/
46 /*Object methods: {{{1*/
47 Object* copy();
48 void DeepEcho();
49 void Demarshall(char** pmarshalled_dataset);
50 void Echo();
51 int Enum();
52 int Id();
53 void Marshall(char** pmarshalled_dataset);
54 int MarshallSize();
55 int MyRank();
56 void UpdateInputsFromVector(double* vector, int name, int type);
57 void UpdateInputsFromVector(int* vector, int name, int type);
58 void UpdateInputsFromVector(bool* vector, int name, int type);
59 void UpdateInputsFromConstant(double constant, int name);
60 void UpdateInputsFromConstant(int constant, int name);
61 void UpdateInputsFromConstant(bool constant, int name);
62 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type){ISSMERROR("Not implemented yet!");}
63 /*}}}*/
64 /*Result methods: {{{1*/
65 /*}}}*/
66};
67#endif /* _STRINGRESULT_H */
Note: See TracBrowser for help on using the repository browser.