source: issm/trunk/src/c/objects/ExternalResults/IntExternalResult.h@ 11237

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

merged trunk-jpl and trunk for revision 11236

File size: 1.4 KB
RevLine 
[4050]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
[9320]13 #include <config.h>
[4050]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
27class IntExternalResult: public ExternalResult{
28
29 public:
30 int id;
31 int enum_type;
32 int value;
33 int step;
34 double time;
35
36
[4248]37 /*IntExternalResult constructors, destructors: {{{1*/
[4050]38 IntExternalResult();
39 IntExternalResult(int id,int enum_type,int value,int step,double time);
40 ~IntExternalResult();
41
42 /*}}}*/
[4248]43 /*Object virtual functions definitions:{{{1 */
44 void Echo();
[4050]45 void DeepEcho();
[4248]46 int Id();
47 int MyRank();
[9777]48 #ifdef _SERIAL_
[4248]49 void Marshall(char** pmarshalled_dataset);
50 int MarshallSize();
[4050]51 void Demarshall(char** pmarshalled_dataset);
[9777]52 #endif
[9883]53 int ObjectEnum();
[4248]54 Object* copy();
[4050]55 /*}}}*/
[4248]56 /*ExternalResult managemnet: {{{1*/
[9883]57 int InstanceEnum(){return enum_type;}
[6389]58 void WriteData(FILE* fid,bool io_gather);
[11237]59 void GetResultName(char**);
[4166]60 #ifdef _SERIAL_
61 void SetMatlabField(mxArray* dataref);
62 #endif
[4182]63 int GetStep(void);
[4050]64 /*}}}*/
65};
66#endif /* _INTEXTERNALRESULT_H */
Note: See TracBrowser for help on using the repository browser.