| Line | |
|---|
| 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 | /*{{{*/
|
|---|
| 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 |
|
|---|
| 25 | class BoolExternalResult: public ExternalResult{
|
|---|
| 26 |
|
|---|
| 27 | public:
|
|---|
| 28 | int id;
|
|---|
| 29 | int enum_type;
|
|---|
| 30 | bool value;
|
|---|
| 31 | int step;
|
|---|
| 32 | IssmDouble time;
|
|---|
| 33 |
|
|---|
| 34 | /*BoolExternalResult constructors, destructors: {{{*/
|
|---|
| 35 | BoolExternalResult();
|
|---|
| 36 | BoolExternalResult(int id, int enum_type,bool value,int step,IssmDouble time);
|
|---|
| 37 | ~BoolExternalResult();
|
|---|
| 38 | /*}}}*/
|
|---|
| 39 | /*Object virtual functions definitions:{{{ */
|
|---|
| 40 | void Echo();
|
|---|
| 41 | void DeepEcho();
|
|---|
| 42 | int Id();
|
|---|
| 43 | int MyRank();
|
|---|
| 44 | int ObjectEnum();
|
|---|
| 45 | Object* copy();
|
|---|
| 46 | /*}}}*/
|
|---|
| 47 | /*ExternalResult management: {{{*/
|
|---|
| 48 | int InstanceEnum(){return enum_type;}
|
|---|
| 49 | void WriteData(FILE* fid,bool io_gather);
|
|---|
| 50 | void GetResultName(char**);
|
|---|
| 51 | int GetStep(void);
|
|---|
| 52 | /*}}}*/
|
|---|
| 53 | };
|
|---|
| 54 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.