Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
Decoder::THaUsrstrutils Class Reference

Definition at line 21 of file THaUsrstrutils.h.

Public Member Functions

int getflag (const char *s) const
 
unsigned int getint (const char *s) const
 
long getSignedInt (const char *s) const
 
char * getstr (const char *s) const
 
void string_from_evbuffer (const UInt_t *evbuffer, UInt_t nlen)
 
void string_from_file (const char *ffile_name)
 
 THaUsrstrutils ()=default
 
virtual ~THaUsrstrutils ()=default
 

Protected Member Functions

void getflagpos (const char *s, const char **pos_ret, const char **val_ret) const
 

Static Protected Member Functions

static void getflagpos_instring (const char *confstr, const char *s, const char **pos_ret, const char **val_ret)
 

Protected Attributes

std::string configstr
 

#include <THaUsrstrutils.h>

Constructor & Destructor Documentation

◆ THaUsrstrutils()

Decoder::THaUsrstrutils::THaUsrstrutils ( )
default

◆ ~THaUsrstrutils()

virtual Decoder::THaUsrstrutils::~THaUsrstrutils ( )
virtualdefault

Member Function Documentation

◆ getflag()

int Decoder::THaUsrstrutils::getflag ( const char *  s) const

Definition at line 29 of file THaUsrstrutils.cxx.

◆ getflagpos()

void Decoder::THaUsrstrutils::getflagpos ( const char *  s,
const char **  pos_ret,
const char **  val_ret 
) const
inlineprotected

Definition at line 120 of file THaUsrstrutils.h.

◆ getflagpos_instring()

void Decoder::THaUsrstrutils::getflagpos_instring ( const char *  confstr,
const char *  s,
const char **  pos_ret,
const char **  val_ret 
)
staticprotected

Definition at line 76 of file THaUsrstrutils.cxx.

◆ getint()

unsigned int Decoder::THaUsrstrutils::getint ( const char *  s) const

Definition at line 56 of file THaUsrstrutils.cxx.

◆ getSignedInt()

long Decoder::THaUsrstrutils::getSignedInt ( const char *  s) const

Definition at line 67 of file THaUsrstrutils.cxx.

◆ getstr()

char * Decoder::THaUsrstrutils::getstr ( const char *  s) const

Definition at line 39 of file THaUsrstrutils.cxx.

◆ string_from_evbuffer()

void Decoder::THaUsrstrutils::string_from_evbuffer ( const UInt_t evbuffer,
UInt_t  nlen 
)

Definition at line 101 of file THaUsrstrutils.cxx.

◆ string_from_file()

void Decoder::THaUsrstrutils::string_from_file ( const char *  ffile_name)

Definition at line 179 of file THaUsrstrutils.cxx.

Member Data Documentation

◆ configstr

std::string Decoder::THaUsrstrutils::configstr
protected

Definition at line 107 of file THaUsrstrutils.h.

Collaboration diagram for Decoder::THaUsrstrutils:

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