| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# NTuple::_ItemImp< TYP > Class Template Reference

Concrete class discribing a column in a N tuple. More...

`#include <NTupleItems.h>`

Inheritance diagram for NTuple::_ItemImp< TYP >:

[legend]
Collaboration diagram for NTuple::_ItemImp< TYP >:

[legend]

List of all members.

## Public Types
typedef Range< TYP > | ItemRange
| Set type definition to make life more easy easy.
## Public Member Functions
| _ItemImp (INTuple *tup, const std::string &name, const std::type_info &info, TYP min, TYP max, TYP def)
| Standard Constructor.
virtual | ~_ItemImp ()
| Standard Destructor.
virtual void | setDefault (const TYP val)
| Compiler type ID.
virtual const ItemRange & | range () const
| Access the range if specified.
virtual long | size () const
| Size of entire object.

## Detailed Description

### template<class TYP>
class NTuple::_ItemImp< TYP >

Concrete class discribing a column in a N tuple.

Definition at line 160 of file NTupleItems.h.

## Member Typedef Documentation

template<class TYP>

typedef Range<TYP> NTuple::_ItemImp< TYP >::ItemRange

Set type definition to make life more easy easy.

Reimplemented from NTuple::_DataImp< TYP >.

Definition at line 165 of file NTupleItems.h.

## Constructor & Destructor Documentation

template<class TYP>

NTuple::_ItemImp< TYP >::_ItemImp | ( | INTuple * | tup,
|  | const std::string & | name,
|  | const std::type_info & | info,
|  | TYP | min,
|  | TYP | max,
|  | TYP | def |
| ) |  |  | `[inline]`

Standard Constructor.

Definition at line 167 of file NTupleItems.h.

    00168     : _DataImp<TYP>(tup, name, info, "", 1, min, max, def) {                       }

template<class TYP>

virtual NTuple::_ItemImp< TYP >::~_ItemImp | ( |  | ) | `[inline, virtual]`

Standard Destructor.

Definition at line 170 of file NTupleItems.h.

    00170 {                                     }

## Member Function Documentation

template<class TYP>

virtual void NTuple::_ItemImp< TYP >::setDefault | ( | const TYP | val | ) | `[inline, virtual]`

Compiler type ID.

Set default value

Reimplemented from NTuple::_DataImp< TYP >.

Definition at line 174 of file NTupleItems.h.

    00174 { this->m_def = val;                  }

template<class TYP>

virtual const ItemRange& NTuple::_ItemImp< TYP >::range | ( |  | ) | const`[inline, virtual]`

Access the range if specified.

Reimplemented from NTuple::_DataImp< TYP >.

Definition at line 176 of file NTupleItems.h.

    00176 { return this->m_range;               }

template<class TYP>

virtual long NTuple::_ItemImp< TYP >::size | ( | void |  | ) | const`[inline, virtual]`

Size of entire object.

Reimplemented from NTuple::_DataImp< TYP >.

Definition at line 178 of file NTupleItems.h.

    00178 { return this->m_length*sizeof(TYP);  }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7/GaudiKernel/GaudiKernel/NTupleItems.h