source: issm/trunk/src/c/objects/ExternalResults/ExternalResult.h@ 9883

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

Method Enum is now ObjectEnum and EnumType is InstanceEnum

File size: 764 bytes
RevLine 
[4050]1/*!\file: ExternalResult.h
2 * \brief abstract class for ExternalResult object
3 */
4
5
6#ifndef _EXTERNALRESULT_H_
7#define _EXTERNALRESULT_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 "../Object.h"
23#include "../Node.h"
24/*}}}*/
25
26class ExternalResult: public Object{
27
28 public:
29
30 virtual ~ExternalResult(){};
[4248]31 /*Virtual functions:{{{1*/
[9883]32 virtual int InstanceEnum()=0;
[6389]33 virtual void WriteData(FILE* fid,bool io_gather)=0;
[4166]34 virtual char* GetResultName(void)=0;
35 #ifdef _SERIAL_
36 virtual void SetMatlabField(mxArray* dataref)=0;
37 #endif
[4182]38 virtual int GetStep(void)=0;
[4050]39 /*}}}*/
40};
41#endif
Note: See TracBrowser for help on using the repository browser.