The Gaudi Framework  master (594c33fa)
NTuple::_Item< TYP > Class Template Reference

Abstract class describing a column in a N tuple. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/NTuple.h>

Public Member Functions

template<class T >
_Item< TYP > & operator= (const _Item< T > &copy)
 Assignment operator. More...
 
void set (const TYP &item)
 Access to data by reference. More...
 
virtual TYP get () const
 Access to data by reference (CONST) More...
 

Static Public Member Functions

static _Itemcreate (INTuple *tup, const std::string &name, const std::type_info &info, TYP min, TYP max, TYP def)
 Create instance. More...
 

Detailed Description

template<class TYP>
class NTuple::_Item< TYP >

Abstract class describing a column in a N tuple.

Definition at line 50 of file NTuple.h.

Member Function Documentation

◆ create()

template<class TYP >
NTuple::_Item< TYP > * NTuple::_Item< TYP >::create ( INTuple tup,
const std::string name,
const std::type_info info,
TYP  min,
TYP  max,
TYP  def 
)
static

Create instance.

Definition at line 36 of file NTupleItems.cpp.

37  {
38  return new _ItemImp<TYP>( tup, name, info, min, max, def );
39 }

◆ get()

template<class TYP >
virtual TYP NTuple::_Item< TYP >::get ( ) const
inlinevirtual

Access to data by reference (CONST)

Definition at line 161 of file NTuple.h.

161 { return *this->m_buffer; }

◆ operator=()

template<class TYP >
template<class T >
_Item<TYP>& NTuple::_Item< TYP >::operator= ( const _Item< T > &  copy)
inline

Assignment operator.

Definition at line 154 of file NTuple.h.

154  {
155  *this->m_buffer = copy.get();
156  return *this;
157  }

◆ set()

template<class TYP >
void NTuple::_Item< TYP >::set ( const TYP &  item)
inline

Access to data by reference.

Definition at line 159 of file NTuple.h.

159 { *this->m_buffer = item; }

The documentation for this class was generated from the following files:
max
EventIDBase max(const EventIDBase &lhs, const EventIDBase &rhs)
Definition: EventIDBase.h:225
std::copy
T copy(T... args)
min
EventIDBase min(const EventIDBase &lhs, const EventIDBase &rhs)
Definition: EventIDBase.h:212
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77