ROOTANA
Loading...
Searching...
No Matches
Data Structures | Functions
mvodb.h File Reference
#include <string>
#include <vector>
#include <stdint.h>
Include dependency graph for mvodb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MVOdb
 
class  MVOdbError
 

Functions

MVOdbMakeNullOdb ()
 
MVOdbMakeMidasOdb (int hDB, MVOdbError *error=NULL)
 
MVOdbMakeXmlFileOdb (const char *filename, MVOdbError *error=NULL)
 
MVOdbMakeXmlBufferOdb (const char *buf, int bufsize, MVOdbError *error=NULL)
 
MVOdbMakeJsonFileOdb (const char *filename, MVOdbError *error=NULL)
 
MVOdbMakeJsonBufferOdb (const char *buf, int bufsize, MVOdbError *error=NULL)
 
MVOdbMakeFileDumpOdb (const char *buf, int bufsize, MVOdbError *error=NULL)
 Access ODB from a midas file dump. FOrmat could be .xml, .json or .odb.
 
void SetOk (MVOdbError *error)
 
void SetError (MVOdbError *error, bool print, const std::string &path, const std::string &message)
 
void SetMidasStatus (MVOdbError *error, bool print, const std::string &path, const char *midas_func_name, int status)
 

Function Documentation

◆ MakeFileDumpOdb()

MVOdb * MakeFileDumpOdb ( const char *  buf,
int  bufsize,
MVOdbError error = NULL 
)

Access ODB from a midas file dump. FOrmat could be .xml, .json or .odb.

Definition at line 91 of file mvodb.cxx.

◆ MakeJsonBufferOdb()

MVOdb * MakeJsonBufferOdb ( const char *  buf,
int  bufsize,
MVOdbError error = NULL 
)

Definition at line 574 of file mjsonodb.cxx.

◆ MakeJsonFileOdb()

MVOdb * MakeJsonFileOdb ( const char *  filename,
MVOdbError error = NULL 
)

Definition at line 536 of file mjsonodb.cxx.

◆ MakeMidasOdb()

MVOdb * MakeMidasOdb ( int  hDB,
MVOdbError error = NULL 
)

Definition at line 924 of file midasodb.cxx.

◆ MakeNullOdb()

MVOdb * MakeNullOdb ( )

Definition at line 129 of file nullodb.cxx.

◆ MakeXmlBufferOdb()

MVOdb * MakeXmlBufferOdb ( const char *  buf,
int  bufsize,
MVOdbError error = NULL 
)

Definition at line 720 of file mxmlodb.cxx.

◆ MakeXmlFileOdb()

MVOdb * MakeXmlFileOdb ( const char *  filename,
MVOdbError error = NULL 
)

Definition at line 689 of file mxmlodb.cxx.

◆ SetError()

void SetError ( MVOdbError error,
bool  print,
const std::string &  path,
const std::string &  message 
)

Definition at line 70 of file mvodb.cxx.

Here is the caller graph for this function:

◆ SetMidasStatus()

void SetMidasStatus ( MVOdbError error,
bool  print,
const std::string &  path,
const char *  midas_func_name,
int  status 
)

Definition at line 41 of file mvodb.cxx.

◆ SetOk()

void SetOk ( MVOdbError error)

Definition at line 31 of file mvodb.cxx.

Here is the caller graph for this function: