| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# NTuple::_ItemImp< TYP > Class Template Reference

`#include <NTupleItems.h>`

Inheritance diagram for NTuple::_ItemImp< TYP >:

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

[legend]
List of all members.

## 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.

## 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)
| Set default value.
virtual const ItemRange & | range () const
| Access the range if specified.
virtual long | size () const
| Size of entire object.

## 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]`

Set default value.

Reimplemented from NTuple::_DataImp< TYP >.

Definition at line 174 of file NTupleItems.h.

References NTuple::_DataImp< TYP >::m_def.

    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.

References NTuple::_DataImp< TYP >::m_range.

    00176 { return this->m_range;               }

template<class TYP>

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

Size of entire object.

Reimplemented from NTuple::_DataImp< TYP >.

Definition at line 178 of file NTupleItems.h.

References NTuple::_DataImp< TYP >::m_length.

    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_v20r2/GaudiKernel/v25r2/GaudiKernel/NTupleItems.h