g4tools  5.4.0
Public Member Functions | Static Public Member Functions | List of all members
tools::aida::aida_base_col Class Referenceabstract
Inheritance diagram for tools::aida::aida_base_col:
Inheritance graph
[legend]
Collaboration diagram for tools::aida::aida_base_col:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual const std::string & aida_type () const =0
 
virtual bool s_default_value (std::string &) const =0
 
virtual bool s_value (std::string &) const =0
 
virtual bool s_fill (const std::string &)=0
 
 aida_base_col (std::ostream &a_out, const std::string &a_name)
 
virtual ~aida_base_col ()
 
 aida_base_col (const aida_base_col &a_from)
 
aida_base_coloperator= (const aida_base_col &a_from)
 
- Public Member Functions inherited from tools::aida::base_col
virtual base_colcopy () const =0
 
virtual uint64 num_elems () const =0
 
virtual bool add ()=0
 
virtual bool reset ()=0
 
virtual bool fetch_entry () const =0
 
virtual void set_user_variable (void *)=0
 
virtual ~base_col ()
 
const std::string & name () const
 
void set_index (uint64 a_index)
 

Static Public Member Functions

static const std::string & s_class ()
 
- Static Public Member Functions inherited from tools::aida::base_col
static const std::string & s_class ()
 

Additional Inherited Members

- Protected Member Functions inherited from tools::aida::base_col
 base_col (std::ostream &a_out, const std::string &a_name)
 
 base_col (const base_col &a_from)
 
base_coloperator= (const base_col &a_from)
 
- Protected Attributes inherited from tools::aida::base_col
std::ostream & m_out
 
std::string m_name
 
uint64 m_index
 

Detailed Description

Definition at line 317 of file aida_ntuple.

Constructor & Destructor Documentation

◆ aida_base_col() [1/2]

tools::aida::aida_base_col::aida_base_col ( std::ostream &  a_out,
const std::string &  a_name 
)
inline

Definition at line 333 of file aida_ntuple.

334  :base_col(a_out,a_name){}

◆ ~aida_base_col()

virtual tools::aida::aida_base_col::~aida_base_col ( )
inlinevirtual

Definition at line 336 of file aida_ntuple.

336 {}

◆ aida_base_col() [2/2]

tools::aida::aida_base_col::aida_base_col ( const aida_base_col a_from)
inline

Definition at line 338 of file aida_ntuple.

339  :base_col(a_from)
340  {}

Member Function Documentation

◆ aida_type()

virtual const std::string& tools::aida::aida_base_col::aida_type ( ) const
pure virtual

Implemented in tools::aida::aida_col< T >.

◆ cast()

virtual void* tools::aida::aida_base_col::cast ( const std::string &  a_class) const
inlinevirtual

Reimplemented from tools::aida::base_col.

Reimplemented in tools::aida::aida_col< T >.

Definition at line 323 of file aida_ntuple.

323  {
324  if(void* p = cmp_cast<aida_base_col>(this,a_class)) {return p;}
325  return base_col::cast(a_class);
326  }

◆ operator=()

aida_base_col& tools::aida::aida_base_col::operator= ( const aida_base_col a_from)
inline

Definition at line 341 of file aida_ntuple.

341  {
342  base_col::operator=(a_from);
343  return *this;
344  }

◆ s_class()

static const std::string& tools::aida::aida_base_col::s_class ( )
inlinestatic

Definition at line 319 of file aida_ntuple.

319  {
320  static const std::string s_v("tools::aida::aida_base_col");
321  return s_v;
322  }

◆ s_default_value()

virtual bool tools::aida::aida_base_col::s_default_value ( std::string &  ) const
pure virtual

Implemented in tools::aida::aida_col< T >.

◆ s_fill()

virtual bool tools::aida::aida_base_col::s_fill ( const std::string &  )
pure virtual

Implemented in tools::aida::aida_col< T >.

◆ s_value()

virtual bool tools::aida::aida_base_col::s_value ( std::string &  ) const
pure virtual

Implemented in tools::aida::aida_col< T >.


The documentation for this class was generated from the following file:
tools::aida::base_col::base_col
base_col(std::ostream &a_out, const std::string &a_name)
Definition: aida_ntuple:48
tools::aida::base_col::cast
virtual void * cast(const std::string &a_class) const
Definition: aida_ntuple:35
tools::aida::base_col::operator=
base_col & operator=(const base_col &a_from)
Definition: aida_ntuple:70