Abstract class describing a column in a N tuple.
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/NTuple.h>
|
| template<class T> |
| _Item< TYP > & | operator= (const _Item< T > ©) |
| | Assignment operator.
|
| |
| void | set (const TYP &item) |
| | Access to data by reference.
|
| |
| virtual TYP | get () const |
| | Access to data by reference (CONST)
|
| |
| virtual void | setDefault (const TYP d)=0 |
| | Set default value.
|
| |
| virtual const ItemRange & | range () const =0 |
| | Access the range if specified.
|
| |
| virtual | ~INTupleItem ()=default |
| | destructor
|
| |
| virtual void | release ()=0 |
| | Destruct object.
|
| |
| virtual const std::type_info & | typeID () const =0 |
| | Compiler type ID.
|
| |
| virtual std::string | typeName () const =0 |
| | Proper type name of the object.
|
| |
| virtual const void * | buffer () const =0 |
| | Access data buffer (CONST)
|
| |
| virtual bool | hasIndex () const =0 |
| | Is the tuple have an index item?
|
| |
| virtual const std::string & | index () const =0 |
| | Access the index _Item.
|
| |
| virtual const std::string & | name () const =0 |
| | Access _Item name.
|
| |
| virtual long | type () const =0 |
| | Type information of the item.
|
| |
| virtual long | length () const =0 |
| | Access the buffer length.
|
| |
| virtual void | reset ()=0 |
| | Reset column.
|
| |
| virtual long | ndim () const =0 |
| | Dimension.
|
| |
| virtual long | dim (long i) const =0 |
| | Access individual dimensions.
|
| |
| virtual long | size () const =0 |
| | Size of entire object.
|
| |
| virtual long | filled () const =0 |
| | Number of items filled.
|
| |
| virtual INTupleItem * | indexItem ()=0 |
| | Pointer to index column (if present, 0 else)
|
| |
| virtual const INTupleItem * | indexItem () const =0 |
| | Pointer to index column (if present, 0 else) (CONST)
|
| |
| virtual INTuple * | tuple ()=0 |
| | NTuple the item belongs to.
|
| |
|
| static _Item * | create (INTuple *tup, const std::string &name, const std::type_info &info, TYP min, TYP max, TYP def) |
| | Create instance.
|
| |
|
| typedef Range< TYP > | ItemRange |
| | Set type definition to make life more easy easy.
|
| |
| virtual void | setType (long typ)=0 |
| | Set the properties of the INTupleItem.
|
| |
| TYP * | m_buffer = nullptr |
| | Pointer to data buffer.
|
| |
template<
class TYP>
class NTuple::_Item< TYP >
Abstract class describing a column in a N tuple.
Definition at line 139 of file NTuple.h.
◆ create()
Create instance.
Definition at line 20 of file NTupleItems.cpp.
21 {
23}
virtual const std::string & name() const =0
Access _Item name.
Abstract class describing a column in a N tuple.
◆ get()
Access to data by reference (CONST)
Definition at line 153 of file NTuple.h.
TYP * m_buffer
Pointer to data buffer.
◆ operator=()
Assignment operator.
Definition at line 146 of file NTuple.h.
146 {
148 return *this;
149 }
virtual TYP get() const
Access to data by reference (CONST)
◆ set()
Access to data by reference.
Definition at line 151 of file NTuple.h.
The documentation for this class was generated from the following files: