Go to the documentation of this file. 1 #ifndef GENERICDATABASE_H
2 #define GENERICDATABASE_H "GenericDataBase.h"
9 inline double abs(
double x){
return fabs(x); }
14 #if !defined(OV_BOOL_DEFINED) && !defined(USE_PPP)
18 #ifdef OV_EXCEPTIONS_NOT_SUPPORTED
19 #define throw exit(1); cout <<
77 virtual int isNull()
const;
92 const int & maxNumber,
int & actualNumber)
const;
95 const int & maxNumber,
int & actualNumber)
const;
98 virtual int getID()
const;
107 virtual int put(
const float & x,
const aString & name );
108 virtual int put(
const double & x,
const aString & name );
109 virtual int put(
const int & x,
const aString & name );
111 #ifdef OV_BOOL_DEFINED
112 virtual int put(
const bool & x,
const aString & name );
116 virtual int get(
float &
x,
const aString & name )
const;
117 virtual int get(
double &
x,
const aString & name )
const;
118 virtual int get(
int &
x,
const aString & name )
const;
120 #ifdef OV_BOOL_DEFINED
121 virtual int get(
bool &
x,
const aString & name )
const;
125 virtual int put(
const floatSerialArray & x,
const aString & name );
126 virtual int put(
const doubleSerialArray & x,
const aString & name );
127 virtual int put(
const intSerialArray & x,
const aString & name );
134 virtual int get( floatSerialArray &
x,
const aString & name, Index *Iv=
NULL )
const;
135 virtual int get( doubleSerialArray &
x,
const aString & name, Index *Iv=
NULL )
const;
136 virtual int get( intSerialArray &
x,
const aString & name, Index *Iv=
NULL )
const;
144 virtual int put(
const int x[],
const aString & name,
const int number );
145 virtual int put(
const float x[],
const aString & name,
const int number );
146 virtual int put(
const double x[],
const aString & name,
const int number );
149 virtual int get(
int x[],
const aString & name,
const int number )
const;
150 virtual int get(
float x[],
const aString & name,
const int number )
const;
151 virtual int get(
double x[],
const aString & name,
const int number )
const;
152 virtual int get(
aString x[],
const aString & name,
const int number )
const;