DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Protected Member Functions | Protected Attributes
dabc::HStore Class Reference

class, used for direct store of records in JSON/XML form More...

#include <dabc/Record.h>

Public Member Functions

void BeforeNextChild (const char *basename=0)
 
void CloseChilds ()
 
void CloseNode (const char *nodename)
 
void CreateNode (const char *nodename)
 
std::string GetResult ()
 
unsigned hlimit () const
 
 HStore (unsigned m=0)
 
unsigned mask () const
 
void SetField (const char *name, const char *value)
 
void SetLimits (uint64_t v, unsigned hlimit)
 
void SetMask (unsigned m)
 
uint64_t version () const
 
virtual ~HStore ()
 

Protected Member Functions

unsigned compact () const
 
bool isxml ()
 
void NewLine ()
 

Protected Attributes

std::string buf
 
unsigned fHLimit
 
bool first_node
 
unsigned fMask
 
uint64_t fVersion
 
int lvl
 
std::vector< int > numchilds
 
std::vector< int > numflds
 

Detailed Description

class, used for direct store of records in JSON/XML form

Definition at line 179 of file Record.h.

Constructor & Destructor Documentation

◆ HStore()

dabc::HStore::HStore ( unsigned  m = 0)
inline

Definition at line 201 of file Record.h.

◆ ~HStore()

virtual dabc::HStore::~HStore ( )
inlinevirtual

Definition at line 202 of file Record.h.

Member Function Documentation

◆ compact()

unsigned dabc::HStore::compact ( ) const
inlineprotected

Definition at line 190 of file Record.h.

◆ NewLine()

void dabc::HStore::NewLine ( )
inlineprotected

Definition at line 192 of file Record.h.

◆ isxml()

bool dabc::HStore::isxml ( )
inlineprotected

Definition at line 198 of file Record.h.

◆ SetLimits()

void dabc::HStore::SetLimits ( uint64_t  v,
unsigned  hlimit 
)
inline

Definition at line 204 of file Record.h.

◆ mask()

unsigned dabc::HStore::mask ( ) const
inline

Definition at line 206 of file Record.h.

◆ SetMask()

void dabc::HStore::SetMask ( unsigned  m)
inline

Definition at line 207 of file Record.h.

◆ version()

uint64_t dabc::HStore::version ( ) const
inline

Definition at line 209 of file Record.h.

◆ hlimit()

unsigned dabc::HStore::hlimit ( ) const
inline

Definition at line 210 of file Record.h.

◆ GetResult()

std::string dabc::HStore::GetResult ( )
inline

Definition at line 212 of file Record.h.

◆ CreateNode()

void dabc::HStore::CreateNode ( const char *  nodename)

Definition at line 145 of file Record.cxx.

◆ SetField()

void dabc::HStore::SetField ( const char *  name,
const char *  value 
)

Definition at line 170 of file Record.cxx.

◆ BeforeNextChild()

void dabc::HStore::BeforeNextChild ( const char *  basename = 0)

Definition at line 247 of file Record.cxx.

◆ CloseChilds()

void dabc::HStore::CloseChilds ( )

Definition at line 277 of file Record.cxx.

◆ CloseNode()

void dabc::HStore::CloseNode ( const char *  nodename)

Definition at line 221 of file Record.cxx.

Field Documentation

◆ fMask

unsigned dabc::HStore::fMask
protected

Definition at line 181 of file Record.h.

◆ buf

std::string dabc::HStore::buf
protected

Definition at line 182 of file Record.h.

◆ lvl

int dabc::HStore::lvl
protected

Definition at line 183 of file Record.h.

◆ numflds

std::vector<int> dabc::HStore::numflds
protected

Definition at line 184 of file Record.h.

◆ numchilds

std::vector<int> dabc::HStore::numchilds
protected

Definition at line 185 of file Record.h.

◆ fVersion

uint64_t dabc::HStore::fVersion
protected

Definition at line 186 of file Record.h.

◆ fHLimit

unsigned dabc::HStore::fHLimit
protected

Definition at line 187 of file Record.h.

◆ first_node

bool dabc::HStore::first_node
protected

Definition at line 188 of file Record.h.


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