source:
issm/trunk/src/c/objects/ExternalResults/IntExternalResult.h@
9320
Last change on this file since 9320 was 9320, checked in by , 14 years ago | |
---|---|
File size: 1.3 KB |
Line | |
---|---|
1 | /*! \file IntExternalResult.h |
2 | * \brief: header file for triavertexinput object |
3 | */ |
4 | |
5 | |
6 | #ifndef _INTEXTERNALRESULT_H_ |
7 | #define _INTEXTERNALRESULT_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 | #include "./ExternalResult.h" |
23 | #include "../../include/include.h" |
24 | #include "../../shared/shared.h" |
25 | /*}}}*/ |
26 | |
27 | class IntExternalResult: public ExternalResult{ |
28 | |
29 | public: |
30 | int id; |
31 | int enum_type; |
32 | int value; |
33 | int step; |
34 | double time; |
35 | |
36 | |
37 | /*IntExternalResult constructors, destructors: {{{1*/ |
38 | IntExternalResult(); |
39 | IntExternalResult(int id,int enum_type,int value,int step,double time); |
40 | ~IntExternalResult(); |
41 | |
42 | /*}}}*/ |
43 | /*Object virtual functions definitions:{{{1 */ |
44 | void Echo(); |
45 | void DeepEcho(); |
46 | int Id(); |
47 | int MyRank(); |
48 | void Marshall(char** pmarshalled_dataset); |
49 | int MarshallSize(); |
50 | void Demarshall(char** pmarshalled_dataset); |
51 | int Enum(); |
52 | Object* copy(); |
53 | /*}}}*/ |
54 | /*ExternalResult managemnet: {{{1*/ |
55 | int EnumType(){return enum_type;} |
56 | void WriteData(FILE* fid,bool io_gather); |
57 | char* GetResultName(void); |
58 | #ifdef _SERIAL_ |
59 | void SetMatlabField(mxArray* dataref); |
60 | #endif |
61 | int GetStep(void); |
62 | /*}}}*/ |
63 | }; |
64 | #endif /* _INTEXTERNALRESULT_H */ |
Note:
See TracBrowser
for help on using the repository browser.