|
Last change
on this file since 12330 was 12330, checked in by Mathieu Morlighem, 13 years ago |
|
merged trunk-jpl and trunk for revision 12326M
|
|
File size:
1.1 KB
|
| Rev | Line | |
|---|
| [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 | #include "./ExternalResult.h"
|
|---|
| 19 | #include "../../include/include.h"
|
|---|
| 20 | #include "../../shared/shared.h"
|
|---|
| 21 | /*}}}*/
|
|---|
| 22 |
|
|---|
| 23 | class IntExternalResult: public ExternalResult{
|
|---|
| 24 |
|
|---|
| 25 | public:
|
|---|
| 26 | int id;
|
|---|
| 27 | int enum_type;
|
|---|
| 28 | int value;
|
|---|
| 29 | int step;
|
|---|
| 30 | double time;
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| [4248] | 33 | /*IntExternalResult constructors, destructors: {{{1*/
|
|---|
| [4050] | 34 | IntExternalResult();
|
|---|
| 35 | IntExternalResult(int id,int enum_type,int value,int step,double time);
|
|---|
| 36 | ~IntExternalResult();
|
|---|
| 37 |
|
|---|
| 38 | /*}}}*/
|
|---|
| [4248] | 39 | /*Object virtual functions definitions:{{{1 */
|
|---|
| 40 | void Echo();
|
|---|
| [4050] | 41 | void DeepEcho();
|
|---|
| [4248] | 42 | int Id();
|
|---|
| 43 | int MyRank();
|
|---|
| [9883] | 44 | int ObjectEnum();
|
|---|
| [4248] | 45 | Object* copy();
|
|---|
| [4050] | 46 | /*}}}*/
|
|---|
| [4248] | 47 | /*ExternalResult managemnet: {{{1*/
|
|---|
| [9883] | 48 | int InstanceEnum(){return enum_type;}
|
|---|
| [6389] | 49 | void WriteData(FILE* fid,bool io_gather);
|
|---|
| [11237] | 50 | void GetResultName(char**);
|
|---|
| [4182] | 51 | int GetStep(void);
|
|---|
| [4050] | 52 | /*}}}*/
|
|---|
| 53 | };
|
|---|
| 54 | #endif /* _INTEXTERNALRESULT_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.