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

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

Discarded Marshall, Demarshall and MarshallSize routines for parallel compilation, where it is never used.
Only activated according to _SERIAL_ symbol.

File size: 1.3 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
[4050]53 int Enum();
[4248]54 Object* copy();
[4050]55 /*}}}*/
[4248]56 /*ExternalResult managemnet: {{{1*/
[4050]57 int EnumType(){return enum_type;}
[6389]58 void WriteData(FILE* fid,bool io_gather);
[4166]59 char* GetResultName(void);
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.