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

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

Quality control changes:

  • "stdlib" to <stdlib> and similar header file problems.
  • fscanf vulnerabilities issues.
File size: 760 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*/
[4050]32 virtual int EnumType()=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.