ROOTANA
|
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "mvodb.h"
#include "mxml.h"
Go to the source code of this file.
Data Structures | |
class | XmlOdb |
Access to ODB saved in XML format inside midas .mid files. More... | |
Functions | |
static std::string | toString (int i) |
static PMXML_NODE | FindNode (PMXML_NODE dir, const char *name) |
static const char * | GetAttrName (PMXML_NODE node, int i) |
Return the name of the indexed attribute. More... | |
static const char * | GetAttrValue (PMXML_NODE node, int i) |
Return the value of the indexed attribute. More... | |
static const char * | GetAttr (PMXML_NODE node, const char *attrName) |
Return the value of the named attribute. More... | |
template<typename T > | |
static T | GetXmlValue (const char *text) |
template<> | |
int | GetXmlValue< int > (const char *text) |
template<> | |
double | GetXmlValue< double > (const char *text) |
template<> | |
float | GetXmlValue< float > (const char *text) |
template<> | |
bool | GetXmlValue< bool > (const char *text) |
template<> | |
uint16_t | GetXmlValue< uint16_t > (const char *text) |
template<> | |
uint32_t | GetXmlValue< uint32_t > (const char *text) |
template<> | |
std::string | GetXmlValue< std::string > (const char *text) |
MVOdb * | MakeXmlFileOdb (const char *filename, MVOdbError *error) |
MVOdb * | MakeXmlBufferOdb (const char *buf, int bufsize, MVOdbError *error) |
|
static |
|
static |
Return the value of the named attribute.
Definition at line 61 of file mxmlodb.cxx.
|
static |
Return the name of the indexed attribute.
Definition at line 45 of file mxmlodb.cxx.
|
static |
Return the value of the indexed attribute.
Definition at line 53 of file mxmlodb.cxx.
|
static |
bool GetXmlValue< bool > | ( | const char * | text | ) |
Definition at line 143 of file mxmlodb.cxx.
double GetXmlValue< double > | ( | const char * | text | ) |
Definition at line 131 of file mxmlodb.cxx.
float GetXmlValue< float > | ( | const char * | text | ) |
Definition at line 137 of file mxmlodb.cxx.
int GetXmlValue< int > | ( | const char * | text | ) |
Definition at line 125 of file mxmlodb.cxx.
std::string GetXmlValue< std::string > | ( | const char * | text | ) |
Definition at line 164 of file mxmlodb.cxx.
uint16_t GetXmlValue< uint16_t > | ( | const char * | text | ) |
Definition at line 152 of file mxmlodb.cxx.
uint32_t GetXmlValue< uint32_t > | ( | const char * | text | ) |
Definition at line 158 of file mxmlodb.cxx.
MVOdb* MakeXmlBufferOdb | ( | const char * | buf, |
int | bufsize, | ||
MVOdbError * | error | ||
) |
Definition at line 720 of file mxmlodb.cxx.
MVOdb* MakeXmlFileOdb | ( | const char * | filename, |
MVOdbError * | error | ||
) |
Definition at line 689 of file mxmlodb.cxx.
|
static |