Belle II Software  release-08-01-10
NSMVar Class Reference
Inheritance diagram for NSMVar:
Collaboration diagram for NSMVar:

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 NSMVaroperator= (const NSMVar &var)
 
const NSMVaroperator= (int val)
 
const NSMVaroperator= (float val)
 
const NSMVaroperator= (const std::string &val)
 
const NSMVaroperator= (const std::vector< int > &val)
 
const NSMVaroperator= (const std::vector< float > &val)
 
const NSMVaroperator>> (int &val) const
 
const NSMVaroperator>> (float &val) const
 
const NSMVaroperator>> (std::string &val) const
 
const NSMVaroperator>> (std::vector< int > &val) const
 
const NSMVaroperator>> (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
 

Detailed Description

Definition at line 23 of file NSMVar.h.


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