Belle II Software
release-08-01-10
|
Public Types | |
enum | Type { NONE = 0 , INT , FLOAT , TEXT } |
Public Member Functions | |
NSMVar (const std::string &name, Type type, int len, const void *value) | |
NSMVar (const std::string &name, const std::string &value) | |
NSMVar (const std::string &name, int value) | |
NSMVar (const std::string &name, float value) | |
NSMVar (const std::string &name, int len, int *value) | |
NSMVar (const std::string &name, int len, float *value) | |
NSMVar (const std::string &name, const std::vector< int > &value) | |
NSMVar (const std::string &name, const std::vector< float > &value) | |
NSMVar (const std::string &name) | |
NSMVar (const NSMVar &var) | |
const NSMVar & | operator= (const NSMVar &var) |
const NSMVar & | operator= (int val) |
const NSMVar & | operator= (float val) |
const NSMVar & | operator= (const std::string &val) |
const NSMVar & | operator= (const std::vector< int > &val) |
const NSMVar & | operator= (const std::vector< float > &val) |
const NSMVar & | operator>> (int &val) const |
const NSMVar & | operator>> (float &val) const |
const NSMVar & | operator>> (std::string &val) const |
const NSMVar & | operator>> (std::vector< int > &val) const |
const NSMVar & | operator>> (std::vector< float > &val) const |
void | setNode (const std::string &node) |
void | setName (const std::string &name) |
const void * | get () const |
void * | get () |
int | size () const |
const std::string & | getNode () const |
const std::string & | getName () const |
Type | getType () const |
const char * | getTypeLabel () const |
int | getLength () const |
int | getInt () const |
float | getFloat () const |
const char * | getText () const |
int | getInt (int i) const |
float | getFloat (int i) const |
int | getId () const |
void | setId (int id) |
void | setDate (int date) |
void | setDate (const Date &date) |
int | getDate () const |
void | readObject (Reader &) override |
void | writeObject (Writer &) const override |
void | copy (const std::string &name, Type type, int len, const void *value, int id=0, int date=0) |
Static Public Attributes | |
static const NSMVar | NOVALUE |
Private Attributes | |
void * | m_value |
std::string | m_node |
std::string | m_name |
Type | m_type |
int | m_len |
int | m_id |
int | m_date |