ECF 1.5
Public Member Functions | Static Public Attributes | List of all members
ReadPar Class Reference

Public Member Functions

int OpenFile (const char *fname)
 
int CloseFile (void)
 
int ReadParameter (const char *par, int type, void *val, int vector=1, int item=1)
 

Static Public Attributes

static const int STRING = 0
 
static const int INTEGER = 1
 
static const int DOUBLE = 2
 

Detailed Description

Definition at line 16 of file readpar.h.

Constructor & Destructor Documentation

◆ ReadPar()

ReadPar::ReadPar ( void  )

Definition at line 15 of file readpar.cpp.

◆ ~ReadPar()

ReadPar::~ReadPar ( void  )

Definition at line 19 of file readpar.cpp.

Member Function Documentation

◆ CloseFile()

int ReadPar::CloseFile ( void  )

Definition at line 29 of file readpar.cpp.

◆ OpenFile()

int ReadPar::OpenFile ( const char *  fname)

Definition at line 23 of file readpar.cpp.

◆ ReadParameter()

int ReadPar::ReadParameter ( const char *  par,
int  type,
void *  val,
int  vector = 1,
int  item = 1 
)

Definition at line 38 of file readpar.cpp.

Member Data Documentation

◆ DOUBLE

const int ReadPar::DOUBLE = 2
static

Definition at line 20 of file readpar.h.

◆ INTEGER

const int ReadPar::INTEGER = 1
static

Definition at line 19 of file readpar.h.

◆ STRING

const int ReadPar::STRING = 0
static

Definition at line 18 of file readpar.h.


The documentation for this class was generated from the following files: