ROOTANA
Data Structures | Functions
mjsonodb.cxx File Reference
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "mvodb.h"
#include "mjson.h"
Include dependency graph for mjsonodb.cxx:

Go to the source code of this file.

Data Structures

class  JsonOdb
 Access to ODB saved in JSON format inside midas .mid files. More...
 

Functions

static std::string toString (int i)
 
template<>
bool JsonOdb::GetJsonValue< std::string > (const char *varname, const MJsonNode *node, std::string *value, MVOdbError *error)
 
MVOdbMakeJsonFileOdb (const char *filename, MVOdbError *error)
 
MVOdbMakeJsonBufferOdb (const char *buf, int bufsize, MVOdbError *error)
 

Function Documentation

◆ JsonOdb::GetJsonValue< std::string >()

template<>
bool JsonOdb::GetJsonValue< std::string > ( const char *  varname,
const MJsonNode node,
std::string *  value,
MVOdbError error 
)

Definition at line 521 of file mjsonodb.cxx.

Here is the call graph for this function:

◆ MakeJsonBufferOdb()

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

Definition at line 567 of file mjsonodb.cxx.

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

◆ MakeJsonFileOdb()

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

Definition at line 529 of file mjsonodb.cxx.

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

◆ toString()

static std::string toString ( int  i)
static

Definition at line 19 of file mjsonodb.cxx.

Here is the caller graph for this function: