source: issm/trunk-jpl/src/c/classes/objects/ExternalResults/StringExternalResult.h@ 12832

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

Almost done migrating objects to classes

File size: 1.2 KB
Line 
1/*! \file StringExternalResult.h
2 * \brief: header file for triavertexinput object
3 */
4
5
6#ifndef _STRINGEXTERNALRESULT_H_
7#define _STRINGEXTERNALRESULT_H_
8
9/*Headers:*/
10/*{{{*/
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#include "./ExternalResult.h"
19#include "../../../include/include.h"
20#include "../../../shared/shared.h"
21#include "../../../include/include.h"
22#include "../../../include/include.h"
23/*}}}*/
24
25class StringExternalResult: public ExternalResult{
26
27 private:
28 int id;
29 int enum_type;
30 char* value;
31 int step;
32 IssmDouble time;
33
34 public:
35 /*StringExternalResult constructors, destructors: {{{*/
36 StringExternalResult();
37 StringExternalResult(int id,int enum_type,char* value,int step, IssmDouble time);
38 ~StringExternalResult();
39 /*}}}*/
40 /*Object virtual functions definitions:{{{ */
41 void Echo();
42 void DeepEcho();
43 int Id();
44 int MyRank();
45 int ObjectEnum();
46 Object* copy();
47 /*}}}*/
48 /*ExternalResult management: {{{*/
49 int InstanceEnum(){return enum_type;}
50 void WriteData(FILE* fid,bool io_gather);
51 void GetResultName(char**);
52 int GetStep(void);
53 /*}}}*/
54};
55#endif /* _STRINGEXTERNALRESULT_H */
Note: See TracBrowser for help on using the repository browser.