ROOTANA
Public Member Functions | Data Fields
MidasOdb Class Reference
Inheritance diagram for MidasOdb:
Inheritance graph
[legend]
Collaboration diagram for MidasOdb:
Collaboration graph
[legend]

Public Member Functions

 MidasOdb (HNDLE hDB, const char *root)
 
 ~MidasOdb ()
 
std::string Path (const char *varname)
 
void SetPrintError (bool v)
 
bool GetPrintError () const
 
bool IsReadOnly () const
 
MVOdbChdir (const char *subdir, bool create, MVOdbError *error)
 
void RAInfo (const char *varname, int *num_elements, int *element_size, MVOdbError *error)
 
void ReadKey (const char *varname, int *tid, int *num_values, int *total_size, int *item_size, MVOdbError *error)
 
void ReadDir (std::vector< std::string > *varname, std::vector< int > *tid, std::vector< int > *num_values, std::vector< int > *total_size, std::vector< int > *item_size, MVOdbError *error)
 
void ResizeArray (const char *varname, int new_size, MVOdbError *error)
 
void ResizeStringArray (const char *varname, int new_size, int new_string_length, MVOdbError *error)
 
void R (const char *varname, int tid, void *value, int size, bool create, MVOdbError *error)
 
void RI (const char *varname, int *value, bool create, MVOdbError *error)
 
void RU16 (const char *varname, uint16_t *value, bool create, MVOdbError *error)
 
void RU32 (const char *varname, uint32_t *value, bool create, MVOdbError *error)
 
void RD (const char *varname, double *value, bool create, MVOdbError *error)
 
void RF (const char *varname, float *value, bool create, MVOdbError *error)
 
void RB (const char *varname, bool *value, bool create, MVOdbError *error)
 
void RS (const char *varname, std::string *value, bool create, int create_string_length, MVOdbError *error)
 
void RAI (const char *varname, int index, int tid, void *value, int size, MVOdbError *error)
 
void RIAI (const char *varname, int index, int *value, MVOdbError *error)
 
void RU16AI (const char *varname, int index, uint16_t *value, MVOdbError *error)
 
void RU32AI (const char *varname, int index, uint32_t *value, MVOdbError *error)
 
void RDAI (const char *varname, int index, double *value, MVOdbError *error)
 
void RFAI (const char *varname, int index, float *value, MVOdbError *error)
 
void RBAI (const char *varname, int index, bool *value, MVOdbError *error)
 
void RSAI (const char *varname, int index, std::string *value, MVOdbError *error)
 
void RA (const std::string &path, int tid, void *buf, int size, MVOdbError *error)
 
void GetArraySize (const char *varname, int *pnum_values, int *pitem_size, MVOdbError *error)
 
template<class X >
void RXA (const char *varname, int tid, std::vector< X > *value, bool create, int create_size, MVOdbError *error)
 
void RIA (const char *varname, std::vector< int > *value, bool create, int create_size, MVOdbError *error)
 
void RFA (const char *varname, std::vector< float > *value, bool create, int create_size, MVOdbError *error)
 
void RDA (const char *varname, std::vector< double > *value, bool create, int create_size, MVOdbError *error)
 
void RU16A (const char *varname, std::vector< uint16_t > *value, bool create, int create_size, MVOdbError *error)
 
void RU32A (const char *varname, std::vector< uint32_t > *value, bool create, int create_size, MVOdbError *error)
 
void RBA (const char *varname, std::vector< bool > *value, bool create, int create_size, MVOdbError *error)
 
void RSA (const char *varname, std::vector< std::string > *value, bool create, int create_size, int create_string_length, MVOdbError *error)
 
void W (const char *varname, int tid, const void *v, int size, MVOdbError *error)
 
void WB (const char *varname, bool v, MVOdbError *error)
 
void WI (const char *varname, int v, MVOdbError *error)
 
void WU16 (const char *varname, uint16_t v, MVOdbError *error)
 
void WU32 (const char *varname, uint32_t v, MVOdbError *error)
 
void WD (const char *varname, double v, MVOdbError *error)
 
void WF (const char *varname, float v, MVOdbError *error)
 
void WS (const char *varname, const char *v, int string_length, MVOdbError *error)
 
void WAI (const char *varname, int index, int tid, const void *v, int size, MVOdbError *error)
 
void WBAI (const char *varname, int index, bool v, MVOdbError *error)
 
void WIAI (const char *varname, int index, int v, MVOdbError *error)
 
void WU16AI (const char *varname, int index, uint16_t v, MVOdbError *error)
 
void WU32AI (const char *varname, int index, uint32_t v, MVOdbError *error)
 
void WDAI (const char *varname, int index, double v, MVOdbError *error)
 
void WFAI (const char *varname, int index, float v, MVOdbError *error)
 
void WSAI (const char *varname, int index, const char *v, MVOdbError *error)
 
void WA (const char *varname, int tid, const void *v, int size, int count, MVOdbError *error)
 
void WBA (const char *varname, const std::vector< bool > &v, MVOdbError *error)
 
void WU16A (const char *varname, const std::vector< uint16_t > &v, MVOdbError *error)
 
void WU32A (const char *varname, const std::vector< uint32_t > &v, MVOdbError *error)
 
void WIA (const char *varname, const std::vector< int > &v, MVOdbError *error)
 
void WFA (const char *varname, const std::vector< float > &v, MVOdbError *error)
 
void WDA (const char *varname, const std::vector< double > &v, MVOdbError *error)
 
void WSA (const char *varname, const std::vector< std::string > &v, int odb_string_size, MVOdbError *error)
 
void Delete (const char *odbname, MVOdbError *error)
 
- Public Member Functions inherited from MVOdb
virtual ~MVOdb ()=0
 
virtual ~MVOdb ()=0
 

Data Fields

HNDLE fDB
 
std::string fRoot
 
bool fTrace
 
bool fPrintError
 

Detailed Description

Definition at line 25 of file midasodb.cxx.

Constructor & Destructor Documentation

◆ MidasOdb()

MidasOdb::MidasOdb ( HNDLE  hDB,
const char *  root 
)
inline

Definition at line 34 of file midasodb.cxx.

Here is the caller graph for this function:

◆ ~MidasOdb()

MidasOdb::~MidasOdb ( )
inline

Definition at line 42 of file midasodb.cxx.

Member Function Documentation

◆ Chdir()

MVOdb* MidasOdb::Chdir ( const char *  subdir,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 75 of file midasodb.cxx.

Here is the call graph for this function:

◆ Delete()

void MidasOdb::Delete ( const char *  odbname,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 806 of file midasodb.cxx.

Here is the call graph for this function:

◆ GetArraySize()

void MidasOdb::GetArraySize ( const char *  varname,
int *  pnum_values,
int *  pitem_size,
MVOdbError error 
)
inline

Definition at line 366 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPrintError()

bool MidasOdb::GetPrintError ( ) const
inlinevirtual

Implements MVOdb.

Definition at line 65 of file midasodb.cxx.

◆ IsReadOnly()

bool MidasOdb::IsReadOnly ( ) const
inlinevirtual

Implements MVOdb.

Definition at line 70 of file midasodb.cxx.

◆ Path()

std::string MidasOdb::Path ( const char *  varname)
inline

Definition at line 51 of file midasodb.cxx.

Here is the caller graph for this function:

◆ R()

void MidasOdb::R ( const char *  varname,
int  tid,
void *  value,
int  size,
bool  create,
MVOdbError error 
)
inline

Definition at line 217 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RA()

void MidasOdb::RA ( const std::string &  path,
int  tid,
void *  buf,
int  size,
MVOdbError error 
)
inline

Definition at line 354 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RAI()

void MidasOdb::RAI ( const char *  varname,
int  index,
int  tid,
void *  value,
int  size,
MVOdbError error 
)
inline

Definition at line 282 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RAInfo()

void MidasOdb::RAInfo ( const char *  varname,
int *  num_elements,
int *  element_size,
MVOdbError error 
)
inline

Definition at line 108 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RB()

void MidasOdb::RB ( const char *  varname,
bool *  value,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 254 of file midasodb.cxx.

Here is the call graph for this function:

◆ RBA()

void MidasOdb::RBA ( const char *  varname,
std::vector< bool > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 461 of file midasodb.cxx.

◆ RBAI()

void MidasOdb::RBAI ( const char *  varname,
int  index,
bool *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 326 of file midasodb.cxx.

Here is the call graph for this function:

◆ RD()

void MidasOdb::RD ( const char *  varname,
double *  value,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 244 of file midasodb.cxx.

Here is the call graph for this function:

◆ RDA()

void MidasOdb::RDA ( const char *  varname,
std::vector< double > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 446 of file midasodb.cxx.

◆ RDAI()

void MidasOdb::RDAI ( const char *  varname,
int  index,
double *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 316 of file midasodb.cxx.

Here is the call graph for this function:

◆ ReadDir()

void MidasOdb::ReadDir ( std::vector< std::string > *  varname,
std::vector< int > *  tid,
std::vector< int > *  num_values,
std::vector< int > *  total_size,
std::vector< int > *  item_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 175 of file midasodb.cxx.

Here is the call graph for this function:

◆ ReadKey()

void MidasOdb::ReadKey ( const char *  varname,
int *  tid,
int *  num_values,
int *  total_size,
int *  item_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 135 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResizeArray()

void MidasOdb::ResizeArray ( const char *  varname,
int  new_size,
MVOdbError error 
)
inline

Definition at line 181 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResizeStringArray()

void MidasOdb::ResizeStringArray ( const char *  varname,
int  new_size,
int  new_string_length,
MVOdbError error 
)
inline

Definition at line 204 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RF()

void MidasOdb::RF ( const char *  varname,
float *  value,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 249 of file midasodb.cxx.

Here is the call graph for this function:

◆ RFA()

void MidasOdb::RFA ( const char *  varname,
std::vector< float > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 441 of file midasodb.cxx.

◆ RFAI()

void MidasOdb::RFAI ( const char *  varname,
int  index,
float *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 321 of file midasodb.cxx.

Here is the call graph for this function:

◆ RI()

void MidasOdb::RI ( const char *  varname,
int *  value,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 229 of file midasodb.cxx.

Here is the call graph for this function:

◆ RIA()

void MidasOdb::RIA ( const char *  varname,
std::vector< int > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 436 of file midasodb.cxx.

◆ RIAI()

void MidasOdb::RIAI ( const char *  varname,
int  index,
int *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 301 of file midasodb.cxx.

Here is the call graph for this function:

◆ RS()

void MidasOdb::RS ( const char *  varname,
std::string *  value,
bool  create,
int  create_string_length,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 262 of file midasodb.cxx.

Here is the call graph for this function:

◆ RSA()

void MidasOdb::RSA ( const char *  varname,
std::vector< std::string > *  value,
bool  create,
int  create_size,
int  create_string_length,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 488 of file midasodb.cxx.

Here is the call graph for this function:

◆ RSAI()

void MidasOdb::RSAI ( const char *  varname,
int  index,
std::string *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 334 of file midasodb.cxx.

Here is the call graph for this function:

◆ RU16()

void MidasOdb::RU16 ( const char *  varname,
uint16_t *  value,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 234 of file midasodb.cxx.

Here is the call graph for this function:

◆ RU16A()

void MidasOdb::RU16A ( const char *  varname,
std::vector< uint16_t > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 451 of file midasodb.cxx.

◆ RU16AI()

void MidasOdb::RU16AI ( const char *  varname,
int  index,
uint16_t *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 306 of file midasodb.cxx.

Here is the call graph for this function:

◆ RU32()

void MidasOdb::RU32 ( const char *  varname,
uint32_t *  value,
bool  create,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 239 of file midasodb.cxx.

Here is the call graph for this function:

◆ RU32A()

void MidasOdb::RU32A ( const char *  varname,
std::vector< uint32_t > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 456 of file midasodb.cxx.

◆ RU32AI()

void MidasOdb::RU32AI ( const char *  varname,
int  index,
uint32_t *  value,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 311 of file midasodb.cxx.

Here is the call graph for this function:

◆ RXA()

template<class X >
void MidasOdb::RXA ( const char *  varname,
int  tid,
std::vector< X > *  value,
bool  create,
int  create_size,
MVOdbError error 
)
inline

Definition at line 386 of file midasodb.cxx.

Here is the call graph for this function:

◆ SetPrintError()

void MidasOdb::SetPrintError ( bool  v)
inlinevirtual

Implements MVOdb.

Definition at line 60 of file midasodb.cxx.

◆ W()

void MidasOdb::W ( const char *  varname,
int  tid,
const void *  v,
int  size,
MVOdbError error 
)
inline

Definition at line 583 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WA()

void MidasOdb::WA ( const char *  varname,
int  tid,
const void *  v,
int  size,
int  count,
MVOdbError error 
)
inline

Definition at line 720 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WAI()

void MidasOdb::WAI ( const char *  varname,
int  index,
int  tid,
const void *  v,
int  size,
MVOdbError error 
)
inline

Definition at line 642 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WB()

void MidasOdb::WB ( const char *  varname,
bool  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 597 of file midasodb.cxx.

Here is the call graph for this function:

◆ WBA()

void MidasOdb::WBA ( const char *  varname,
const std::vector< bool > &  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 747 of file midasodb.cxx.

Here is the call graph for this function:

◆ WBAI()

void MidasOdb::WBAI ( const char *  varname,
int  index,
bool  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 673 of file midasodb.cxx.

Here is the call graph for this function:

◆ WD()

void MidasOdb::WD ( const char *  varname,
double  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 618 of file midasodb.cxx.

Here is the call graph for this function:

◆ WDA()

void MidasOdb::WDA ( const char *  varname,
const std::vector< double > &  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 779 of file midasodb.cxx.

Here is the call graph for this function:

◆ WDAI()

void MidasOdb::WDAI ( const char *  varname,
int  index,
double  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 694 of file midasodb.cxx.

Here is the call graph for this function:

◆ WF()

void MidasOdb::WF ( const char *  varname,
float  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 623 of file midasodb.cxx.

Here is the call graph for this function:

◆ WFA()

void MidasOdb::WFA ( const char *  varname,
const std::vector< float > &  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 774 of file midasodb.cxx.

Here is the call graph for this function:

◆ WFAI()

void MidasOdb::WFAI ( const char *  varname,
int  index,
float  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 699 of file midasodb.cxx.

Here is the call graph for this function:

◆ WI()

void MidasOdb::WI ( const char *  varname,
int  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 603 of file midasodb.cxx.

Here is the call graph for this function:

◆ WIA()

void MidasOdb::WIA ( const char *  varname,
const std::vector< int > &  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 769 of file midasodb.cxx.

Here is the call graph for this function:

◆ WIAI()

void MidasOdb::WIAI ( const char *  varname,
int  index,
int  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 679 of file midasodb.cxx.

Here is the call graph for this function:

◆ WS()

void MidasOdb::WS ( const char *  varname,
const char *  v,
int  string_length,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 628 of file midasodb.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WSA()

void MidasOdb::WSA ( const char *  varname,
const std::vector< std::string > &  v,
int  odb_string_size,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 784 of file midasodb.cxx.

Here is the call graph for this function:

◆ WSAI()

void MidasOdb::WSAI ( const char *  varname,
int  index,
const char *  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 704 of file midasodb.cxx.

Here is the call graph for this function:

◆ WU16()

void MidasOdb::WU16 ( const char *  varname,
uint16_t  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 608 of file midasodb.cxx.

Here is the call graph for this function:

◆ WU16A()

void MidasOdb::WU16A ( const char *  varname,
const std::vector< uint16_t > &  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 759 of file midasodb.cxx.

Here is the call graph for this function:

◆ WU16AI()

void MidasOdb::WU16AI ( const char *  varname,
int  index,
uint16_t  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 684 of file midasodb.cxx.

Here is the call graph for this function:

◆ WU32()

void MidasOdb::WU32 ( const char *  varname,
uint32_t  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 613 of file midasodb.cxx.

Here is the call graph for this function:

◆ WU32A()

void MidasOdb::WU32A ( const char *  varname,
const std::vector< uint32_t > &  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 764 of file midasodb.cxx.

Here is the call graph for this function:

◆ WU32AI()

void MidasOdb::WU32AI ( const char *  varname,
int  index,
uint32_t  v,
MVOdbError error 
)
inlinevirtual

Implements MVOdb.

Definition at line 689 of file midasodb.cxx.

Here is the call graph for this function:

Field Documentation

◆ fDB

HNDLE MidasOdb::fDB

Definition at line 28 of file midasodb.cxx.

◆ fPrintError

bool MidasOdb::fPrintError

Definition at line 31 of file midasodb.cxx.

◆ fRoot

std::string MidasOdb::fRoot

Definition at line 29 of file midasodb.cxx.

◆ fTrace

bool MidasOdb::fTrace

Definition at line 30 of file midasodb.cxx.


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