The Gaudi Framework
v30r3 (a5ef0a68)
|
Concrete class discribing basic data items in an N tuple. More...
#include <GaudiKernel/NTupleItems.h>
Public Types | |
typedef Range< TYP > | ItemRange |
Set type definition to make life more easy easy. More... | |
Public Types inherited from NTuple::_Data< TYP > | |
typedef Range< TYP > | ItemRange |
Set type definition to make life more easy easy. More... | |
Public Member Functions | |
_DataImp (INTuple *tup, std::string name, const std::type_info &info, std::string index, long len, TYP low, TYP high, TYP def) | |
Standard Constructor. More... | |
~_DataImp () override | |
Standard destructor. More... | |
std::string | typeName () const override |
Get proper type name. More... | |
void | reset () override |
Reset to default. More... | |
long | filled () const override |
Number of items filled. More... | |
INTupleItem * | indexItem () override |
Pointer to index column (if present, 0 else) More... | |
const INTupleItem * | indexItem () const override |
Pointer to index column (if present, 0 else) (CONST) More... | |
const std::type_info & | typeID () const override |
Compiler type ID. More... | |
long | size () const override |
Size of entire object. More... | |
void | release () override |
Destruct object. More... | |
bool | hasIndex () const override |
Is the tuple have an index column? More... | |
const std::string & | index () const override |
Access the index _Column. More... | |
const std::string & | name () const override |
Access _Column name. More... | |
long | type () const override |
TYP information of the item. More... | |
void | setType (long t) override |
Set the properties of the _Column. More... | |
void | setDefault (const TYP val) override |
Set default value. More... | |
const ItemRange & | range () const override |
Access the range if specified. More... | |
long | length () const override |
Access the buffer length. More... | |
const void * | buffer () const override |
Access data buffer (CONST) More... | |
virtual void * | buffer () |
Access data buffer. More... | |
long | ndim () const override |
Dimension. More... | |
long | dim (long i) const override |
Access individual dimensions. More... | |
INTuple * | tuple () override |
Access to hosting ntuple. More... | |
Public Member Functions inherited from INTupleItem | |
virtual | ~INTupleItem ()=default |
destructor More... | |
Protected Types | |
typedef const std::string & | CSTR |
typedef const std::type_info & | CTYPE |
Protected Attributes | |
long | m_length |
Entire buffer length. More... | |
INTuple * | m_tuple |
Pointer to N tuple. More... | |
std::string | m_name |
_Column name More... | |
std::string | m_index |
Check that values are within a certain range while filling. More... | |
INTupleItem * | m_indexItem = nullptr |
Pointer to index item. More... | |
DataTypeInfo::Type | m_type |
_Column type More... | |
TYP | m_def |
Buffer with default value. More... | |
Range< TYP > | m_range |
Check that values are within a certain range while filling. More... | |
const std::type_info & | m_info |
Item type information. More... | |
Protected Attributes inherited from NTuple::_Data< TYP > | |
TYP * | m_buffer = nullptr |
Pointer to data buffer. More... | |
Private Member Functions | |
_DataImp (const _DataImp &)=delete | |
Inhibit Copy Constructor. More... | |
Additional Inherited Members |
Concrete class discribing basic data items in an N tuple.
Definition at line 34 of file NTupleItems.h.
|
protected |
Definition at line 51 of file NTupleItems.h.
|
protected |
Definition at line 52 of file NTupleItems.h.
typedef Range<TYP> NTuple::_DataImp< TYP >::ItemRange |
Set type definition to make life more easy easy.
Definition at line 74 of file NTupleItems.h.
|
privatedelete |
Inhibit Copy Constructor.
|
inline |
Standard Constructor.
Definition at line 76 of file NTupleItems.h.
|
inlineoverride |
|
inlineoverridevirtual |
|
inlinevirtual |
|
inlineoverridevirtual |
Access individual dimensions.
Implements INTupleItem.
Reimplemented in NTuple::_MatrixImp< TYP >, and NTuple::_ArrayImp< TYP >.
Definition at line 155 of file NTupleItems.h.
|
inlineoverridevirtual |
Number of items filled.
Implements INTupleItem.
Definition at line 97 of file NTupleItems.h.
|
inlineoverridevirtual |
Is the tuple have an index column?
Implements INTupleItem.
Definition at line 133 of file NTupleItems.h.
|
inlineoverridevirtual |
Access the index _Column.
Implements INTupleItem.
Definition at line 135 of file NTupleItems.h.
|
inlineoverridevirtual |
Pointer to index column (if present, 0 else)
Implements INTupleItem.
Definition at line 115 of file NTupleItems.h.
|
inlineoverridevirtual |
Pointer to index column (if present, 0 else) (CONST)
Implements INTupleItem.
Definition at line 121 of file NTupleItems.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Dimension.
Implements INTupleItem.
Reimplemented in NTuple::_MatrixImp< TYP >, and NTuple::_ArrayImp< TYP >.
Definition at line 153 of file NTupleItems.h.
|
inlineoverridevirtual |
Access the range if specified.
Implements NTuple::_Data< TYP >.
Reimplemented in NTuple::_MatrixImp< TYP >, NTuple::_ArrayImp< TYP >, and NTuple::_ItemImp< TYP >.
Definition at line 145 of file NTupleItems.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reset to default.
Implements INTupleItem.
Definition at line 95 of file NTupleItems.h.
|
inlineoverridevirtual |
Set default value.
Implements NTuple::_Data< TYP >.
Reimplemented in NTuple::_MatrixImp< TYP >, NTuple::_ArrayImp< TYP >, and NTuple::_ItemImp< TYP >.
Definition at line 143 of file NTupleItems.h.
|
inlineoverridevirtual |
Set the properties of the _Column.
Implements INTupleItem.
Definition at line 141 of file NTupleItems.h.
|
inlineoverridevirtual |
Size of entire object.
Implements INTupleItem.
Reimplemented in NTuple::_MatrixImp< TYP >, NTuple::_ArrayImp< TYP >, and NTuple::_ItemImp< TYP >.
Definition at line 129 of file NTupleItems.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Compiler type ID.
Implements INTupleItem.
Definition at line 127 of file NTupleItems.h.
|
inlineoverridevirtual |
Get proper type name.
Implements INTupleItem.
Definition at line 93 of file NTupleItems.h.
|
protected |
Buffer with default value.
Definition at line 66 of file NTupleItems.h.
|
protected |
Check that values are within a certain range while filling.
Definition at line 60 of file NTupleItems.h.
|
mutableprotected |
Pointer to index item.
Definition at line 62 of file NTupleItems.h.
|
protected |
Item type information.
Definition at line 70 of file NTupleItems.h.
|
protected |
Entire buffer length.
Definition at line 54 of file NTupleItems.h.
|
protected |
_Column name
Definition at line 58 of file NTupleItems.h.
|
protected |
Check that values are within a certain range while filling.
Definition at line 68 of file NTupleItems.h.
|
protected |
Pointer to N tuple.
Definition at line 56 of file NTupleItems.h.
|
protected |
_Column type
Definition at line 64 of file NTupleItems.h.