source: issm/trunk-jpl/src/c/objects/ExternalResults/BoolExternalResult.h@ 11202

Last change on this file since 11202 was 11202, checked in by Mathieu Morlighem, 13 years ago

Fixed some g++ warnings: deprecated conversion from string constant to ‘char*’

File size: 1.4 KB
RevLine 
[4050]1/*! \file BoolExternalResult.h
2 * \brief: header file for triavertexinput object
3 */
4
5
6#ifndef _BOOLEXTERNALRESULT_H_
7#define _BOOLEXTERNALRESULT_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
23#include "./ExternalResult.h"
24#include "../../include/include.h"
25#include "../../shared/shared.h"
26#include "../../include/include.h"
27#include "../../include/include.h"
28/*}}}*/
29
30class BoolExternalResult: public ExternalResult{
31
32 public:
33 int id;
34 int enum_type;
35 bool value;
36 int step;
37 double time;
38
[4248]39 /*BoolExternalResult constructors, destructors: {{{1*/
[4050]40 BoolExternalResult();
41 BoolExternalResult(int id, int enum_type,bool value,int step,double time);
42 ~BoolExternalResult();
43 /*}}}*/
[4248]44 /*Object virtual functions definitions:{{{1 */
45 void Echo();
[4050]46 void DeepEcho();
[4248]47 int Id();
48 int MyRank();
[9777]49 #ifdef _SERIAL_
[4248]50 void Marshall(char** pmarshalled_dataset);
51 int MarshallSize();
[4050]52 void Demarshall(char** pmarshalled_dataset);
[9777]53 #endif
[9883]54 int ObjectEnum();
[4248]55 Object* copy();
[4050]56 /*}}}*/
[4248]57 /*ExternalResult management: {{{1*/
[9883]58 int InstanceEnum(){return enum_type;}
[6389]59 void WriteData(FILE* fid,bool io_gather);
[11202]60 void GetResultName(char**);
[4166]61 #ifdef _SERIAL_
62 void SetMatlabField(mxArray* dataref);
63 #endif
[4182]64 int GetStep(void);
[4050]65 /*}}}*/
66};
67#endif /* _BOOLEXTERNALRESULT_H */
Note: See TracBrowser for help on using the repository browser.