| The Gaudi Framework v28r2p1 (f1a77ff4)

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
NTuple::Array< TYP > Class Template Reference

Class acting as a smart pointer holding a N tuple _Item. More...

`#include <GaudiKernel/NTuple.h>`

Inheritance diagram for NTuple::Array< TYP >:
[legend]
Collaboration diagram for NTuple::Array< TYP >:
[legend]

## Public Member Functions
| Array ()=default
| Standard Constructor. More...
template<class T >
Array & | operator= (const Array< T > &copy)
| Assignment operator. More...
template<class T >
TYP & | operator[] (const T i)
| Array operator. More...
template<class T >
const TYP & | operator[] (const T i) const
| Array operator. More...
TYP * | begin ()
TYP * | end ()
| ~Array () override=default
Public Member Functions inherited from NTuple::_Accessor< _Array< TYP > >
| _Accessor ()=default
| Standard Constructor. More...
virtual | ~_Accessor ()=default
| Standard Destructor. More...
bool | operator! () const
| Check if column is present. More...
| operator const void * () const
| Check if column is present. More...
_Array< TYP > * | operator-> ()
| Dereference operator. More...
const _Array< TYP > * | operator-> () const
| Dereference operator (CONST) More...
const Range< _Array< TYP > > & | range () const
| Access the range. More...

## Additional Inherited Members
Protected Attributes inherited from NTuple::_Accessor< _Array< TYP > >
_Array< TYP > * | m_ptr
| Pointer to instance. More...

## Detailed Description

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

Class acting as a smart pointer holding a N tuple _Item.

Definition at line 43 of file NTuple.h.

## Constructor & Destructor Documentation

template<class TYP>

NTuple::Array< TYP >::Array | ( |  | ) |
| default

Standard Constructor.

template<class TYP>

NTuple::Array< TYP >::~Array | ( |  | ) |
| override default

## Member Function Documentation

template<class TYP>

TYP* NTuple::Array< TYP >::begin | ( |  | ) |
| inline

Definition at line 336 of file NTuple.h.

336 { return this->m_ptr->begin(); }
NTuple::_Accessor< _Array< TYP > >::m_ptr
_Array< TYP > * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>

TYP* NTuple::Array< TYP >::end | ( |  | ) |
| inline

Definition at line 337 of file NTuple.h.

337 { return this->m_ptr->end(); }
NTuple::_Accessor< _Array< TYP > >::m_ptr
_Array< TYP > * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>
template<class T >

Array& NTuple::Array< TYP >::operator= | ( | const Array< T > & | copy | ) |
| inline

Assignment operator.

Definition at line 325 of file NTuple.h.

325 {
326 *(this->m_ptr) = *(copy.operator->());
327 return *this;
328 }
std::copy
T copy(T...args)
NTuple::_Accessor< _Array< TYP > >::m_ptr
_Array< TYP > * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>
template<class T >

TYP& NTuple::Array< TYP >::operator[] | ( | const T | i | ) |
| inline

Array operator.

Definition at line 331 of file NTuple.h.

331 { return this->m_ptr->data(i); }
NTuple::_Accessor< _Array< TYP > >::m_ptr
_Array< TYP > * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>
template<class T >

const TYP& NTuple::Array< TYP >::operator[] | ( | const T | i | ) | const
| inline

Array operator.

Definition at line 334 of file NTuple.h.

334 { return this->m_ptr->data(i); }
NTuple::_Accessor< _Array< TYP > >::m_ptr
_Array< TYP > * m_ptr
Pointer to instance.
Definition: NTuple.h:230

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

- GaudiKernel/GaudiKernel/NTuple.h