The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
NTuple::_Data< TYP > Class Template Referenceabstract

Abstract class describing basic data in an Ntuple. More...

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

Inheritance diagram for NTuple::_Data< TYP >:
Collaboration diagram for NTuple::_Data< TYP >:

Public Types

typedef Range< TYP > ItemRange
 Set type definition to make life more easy easy.
 

Public Member Functions

virtual void setDefault (const TYP d)=0
 Set default value.
 
virtual const ItemRangerange () const =0
 Access the range if specified.
 
- Public Member Functions inherited from INTupleItem
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 INTupleItemindexItem ()=0
 Pointer to index column (if present, 0 else)
 
virtual const INTupleItemindexItem () const =0
 Pointer to index column (if present, 0 else) (CONST)
 
virtual INTupletuple ()=0
 NTuple the item belongs to.
 

Protected Attributes

TYP * m_buffer = nullptr
 Pointer to data buffer.
 

Additional Inherited Members

- Protected Member Functions inherited from INTupleItem
virtual void setType (long typ)=0
 Set the properties of the INTupleItem.
 

Detailed Description

template<class TYP>
class NTuple::_Data< TYP >

Abstract class describing basic data in an Ntuple.

Definition at line 122 of file NTuple.h.

Member Typedef Documentation

◆ ItemRange

template<class TYP>
typedef Range<TYP> NTuple::_Data< TYP >::ItemRange

Set type definition to make life more easy easy.

Definition at line 129 of file NTuple.h.

Member Function Documentation

◆ range()

template<class TYP>
virtual const ItemRange & NTuple::_Data< TYP >::range ( ) const
pure virtual

◆ setDefault()

template<class TYP>
virtual void NTuple::_Data< TYP >::setDefault ( const TYP d)
pure virtual

Member Data Documentation

◆ m_buffer

template<class TYP>
TYP* NTuple::_Data< TYP >::m_buffer = nullptr
protected

Pointer to data buffer.

Definition at line 125 of file NTuple.h.


The documentation for this class was generated from the following file: