Definition at line 30 of file VirtualOdb.h.
|
virtual | ~VirtualOdb () |
|
virtual int | odbReadAny (const char *name, int index, int tid, void *buf, int bufsize=0)=0 |
|
virtual int | odbReadArraySize (const char *name)=0 |
|
virtual bool | odbReadBool (const char *name, int index=0, bool defaultValue=false)=0 |
|
virtual unsigned char | odbReadByte (const char *name, int index=0, unsigned char defaultValue=0)=0 |
|
virtual double | odbReadDouble (const char *name, int index=0, double defaultValue=0)=0 |
|
virtual float | odbReadFloat (const char *name, int index=0, float defaultValue=0)=0 |
|
virtual int | odbReadInt (const char *name, int index=0, int defaultValue=0)=0 |
|
virtual const char * | odbReadString (const char *name, int index=0, const char *defaultValue=nullptr)=0 |
|
virtual uint32_t | odbReadUint32 (const char *name, int index=0, uint32_t defaultValue=0)=0 |
|
#include <VirtualOdb.h>
◆ ~VirtualOdb()
virtual VirtualOdb::~VirtualOdb |
( |
| ) |
|
|
inlinevirtual |
Destructor has to be virtual.
Definition at line 55 of file VirtualOdb.h.
◆ odbReadAny()
virtual int VirtualOdb::odbReadAny |
( |
const char * |
name, |
|
|
int |
index, |
|
|
int |
tid, |
|
|
void * |
buf, |
|
|
int |
bufsize = 0 |
|
) |
| |
|
pure virtual |
Read value of arbitrary type.
◆ odbReadArraySize()
virtual int VirtualOdb::odbReadArraySize |
( |
const char * |
name | ) |
|
|
pure virtual |
◆ odbReadBool()
virtual bool VirtualOdb::odbReadBool |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
bool |
defaultValue = false |
|
) |
| |
|
pure virtual |
Read a boolean value, midas type TID_BOOL.
◆ odbReadByte()
virtual unsigned char VirtualOdb::odbReadByte |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
unsigned char |
defaultValue = 0 |
|
) |
| |
|
pure virtual |
Read an integer value, midas type TID_INT.
◆ odbReadDouble()
virtual double VirtualOdb::odbReadDouble |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
double |
defaultValue = 0 |
|
) |
| |
|
pure virtual |
Read an 64-bit floating point value, midas type TID_DOUBLET.
◆ odbReadFloat()
virtual float VirtualOdb::odbReadFloat |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
float |
defaultValue = 0 |
|
) |
| |
|
pure virtual |
Read an 32-bit floating point value, midas type TID_FLOAT.
◆ odbReadInt()
virtual int VirtualOdb::odbReadInt |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
int |
defaultValue = 0 |
|
) |
| |
|
pure virtual |
Read an unsigned char value, midas type TID_BYTE.
◆ odbReadString()
virtual const char* VirtualOdb::odbReadString |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
const char * |
defaultValue = nullptr |
|
) |
| |
|
pure virtual |
Read a string value, midas type TID_STRING.
◆ odbReadUint32()
virtual uint32_t VirtualOdb::odbReadUint32 |
( |
const char * |
name, |
|
|
int |
index = 0 , |
|
|
uint32_t |
defaultValue = 0 |
|
) |
| |
|
pure virtual |
Read an unsigned 32-bit integer value, midas type TID_DWORD.