| The Gaudi Framework v28r2p1 (f1a77ff4)

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

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

Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
NTuple::_Accessor< TYP > Class Template Reference

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

`#include <GaudiKernel/NTuple.h>`

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

## Public Member Functions
| _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...
TYP * | operator-> ()
| Dereference operator. More...
const TYP * | operator-> () const
| Dereference operator (CONST) More...
const Range< TYP > & | range () const
| Access the range. More...

## Protected Attributes
TYP * | m_ptr = nullptr
| Pointer to instance. More...

## Private Member Functions
_Accessor< TYP > & | operator= (const _Accessor< TYP > &)

## Friends
class | Tuple

## Detailed Description

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

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

Definition at line 41 of file NTuple.h.

## Constructor & Destructor Documentation

template<class TYP>

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

Standard Constructor.

template<class TYP>

virtual NTuple::_Accessor< TYP >::~_Accessor | ( |  | ) |
| virtual default

Standard Destructor.

## Member Function Documentation

template<class TYP>

NTuple::_Accessor< TYP >::operator const void * | ( |  | ) | const
| inline

Check if column is present.

Definition at line 239 of file NTuple.h.

239 { return m_ptr; }
NTuple::_Accessor::m_ptr
TYP * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>

bool NTuple::_Accessor< TYP >::operator! | ( |  | ) | const
| inline

Check if column is present.

Definition at line 237 of file NTuple.h.

237 { return m_ptr != 0; }
NTuple::_Accessor::m_ptr
TYP * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>

TYP* NTuple::_Accessor< TYP >::operator-> | ( |  | ) |
| inline

Dereference operator.

Definition at line 241 of file NTuple.h.

241 { return m_ptr; }
NTuple::_Accessor::m_ptr
TYP * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>

const TYP* NTuple::_Accessor< TYP >::operator-> | ( |  | ) | const
| inline

Dereference operator (CONST)

Definition at line 243 of file NTuple.h.

243 { return m_ptr; }
NTuple::_Accessor::m_ptr
TYP * m_ptr
Pointer to instance.
Definition: NTuple.h:230
template<class TYP>

_Accessor<TYP>& NTuple::_Accessor< TYP >::operator= | ( | const _Accessor< TYP > & |  | ) |
| inline private

Definition at line 225 of file NTuple.h.

225 {
226 return *this;
227 }
template<class TYP>

const Range<TYP>& NTuple::_Accessor< TYP >::range | ( |  | ) | const
| inline

Access the range.

Definition at line 245 of file NTuple.h.

245 { return m_ptr->range(); }
NTuple::_Accessor::m_ptr
TYP * m_ptr
Pointer to instance.
Definition: NTuple.h:230

## Friends And Related Function Documentation

template<class TYP>

friend class Tuple
| friend

Definition at line 223 of file NTuple.h.

## Member Data Documentation

template<class TYP>

TYP* NTuple::_Accessor< TYP >::m_ptr = nullptr
| mutable protected

Pointer to instance.

Definition at line 230 of file NTuple.h.

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

- GaudiKernel/GaudiKernel/NTuple.h