|
inlib
1.2.0
|


Public Member Functions | |
| virtual void * | cast (const std::string &a_class) const |
| virtual base_col * | copy () const |
| virtual bool | add () |
| virtual bool | reset () |
| virtual uint64 | num_elems () const |
| virtual std::string | aida_type () const |
| virtual bool | s_default_value (std::string &a_s) const |
| virtual bool | s_value (std::string &a_s) const |
| virtual bool | s_fill (const std::string &a_s) |
| aida_col (std::ostream &a_out, const std::string &a_name, const T &a_def) | |
| virtual | ~aida_col () |
| aida_col (const aida_col &a_from) | |
| aida_col & | operator= (const aida_col &a_from) |
| bool | fill (const T &a_value) |
| bool | get_entry (T &a_v) const |
Static Public Member Functions | |
| static const std::string & | s_class () |
Protected Attributes | |
| std::vector< T > | m_data |
| T | m_default |
| T | m_tmp |
Definition at line 378 of file aida_ntuple.
| inlib::aida::aida_col< T >::aida_col | ( | std::ostream & | a_out, |
| const std::string & | a_name, | ||
| const T & | a_def | ||
| ) | [inline] |
Definition at line 422 of file aida_ntuple.
: aida_base_col(a_out,a_name) ,m_default(a_def) ,m_tmp(a_def){}
| virtual inlib::aida::aida_col< T >::~aida_col | ( | ) | [inline, virtual] |
Definition at line 427 of file aida_ntuple.
{}
| inlib::aida::aida_col< T >::aida_col | ( | const aida_col< T > & | a_from | ) | [inline] |
Definition at line 429 of file aida_ntuple.
: aida_base_col(a_from) ,m_data(a_from.m_data) ,m_default(a_from.m_default) ,m_tmp(a_from.m_tmp) {}
| virtual bool inlib::aida::aida_col< T >::add | ( | ) | [inline, virtual] |
Implements inlib::aida::base_col.
Definition at line 390 of file aida_ntuple.
| virtual std::string inlib::aida::aida_col< T >::aida_type | ( | ) | const [inline, virtual] |
Implements inlib::aida::aida_base_col.
Definition at line 399 of file aida_ntuple.
{return s_aida_type(T());}
| virtual void* inlib::aida::aida_col< T >::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Reimplemented from inlib::aida::aida_base_col.
Definition at line 384 of file aida_ntuple.
{
if(void* p = cmp_cast< aida_col<T> >(this,a_class)) {return p;}
else return aida_base_col::cast(a_class);
}
| virtual base_col* inlib::aida::aida_col< T >::copy | ( | ) | const [inline, virtual] |
Implements inlib::aida::base_col.
Definition at line 389 of file aida_ntuple.
{return new aida_col(*this);}
| bool inlib::aida::aida_col< T >::fill | ( | const T & | a_value | ) | [inline] |
Definition at line 443 of file aida_ntuple.
{m_tmp = a_value;return true;}
| bool inlib::aida::aida_col< T >::get_entry | ( | T & | a_v | ) | const [inline] |
Definition at line 444 of file aida_ntuple.
| virtual uint64 inlib::aida::aida_col< T >::num_elems | ( | ) | const [inline, virtual] |
Implements inlib::aida::base_col.
Definition at line 397 of file aida_ntuple.
{return m_data.size();}
| aida_col& inlib::aida::aida_col< T >::operator= | ( | const aida_col< T > & | a_from | ) | [inline] |
Definition at line 435 of file aida_ntuple.
{
aida_base_col::operator=(a_from);
m_data = a_from.m_data;
m_default = a_from.m_default;
m_tmp = a_from.m_tmp;
return *this;
}
| virtual bool inlib::aida::aida_col< T >::reset | ( | ) | [inline, virtual] |
Implements inlib::aida::base_col.
Definition at line 391 of file aida_ntuple.
| static const std::string& inlib::aida::aida_col< T >::s_class | ( | ) | [inline, static] |
Reimplemented from inlib::aida::aida_base_col.
Definition at line 380 of file aida_ntuple.
{
static const std::string s_v("inlib::aida::aida_col<"+stype(T())+">");
return s_v;
}
| virtual bool inlib::aida::aida_col< T >::s_default_value | ( | std::string & | a_s | ) | const [inline, virtual] |
Implements inlib::aida::aida_base_col.
Definition at line 400 of file aida_ntuple.
| virtual bool inlib::aida::aida_col< T >::s_fill | ( | const std::string & | a_s | ) | [inline, virtual] |
Implements inlib::aida::aida_base_col.
Definition at line 411 of file aida_ntuple.
| virtual bool inlib::aida::aida_col< T >::s_value | ( | std::string & | a_s | ) | const [inline, virtual] |
Implements inlib::aida::aida_base_col.
Definition at line 404 of file aida_ntuple.
std::vector<T> inlib::aida::aida_col< T >::m_data [protected] |
Definition at line 459 of file aida_ntuple.
T inlib::aida::aida_col< T >::m_default [protected] |
Definition at line 460 of file aida_ntuple.
T inlib::aida::aida_col< T >::m_tmp [protected] |
Definition at line 461 of file aida_ntuple.
1.7.5.1