The Gaudi Framework  master (594c33fa)
NTuple::Array< TYP > Class Template Reference

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

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

Public Member Functions

 Array ()=default
 Standard Constructor. More...
 
template<class T >
Arrayoperator= (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 ()
 

Detailed Description

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

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

Definition at line 60 of file NTuple.h.

Constructor & Destructor Documentation

◆ Array()

template<class TYP >
NTuple::Array< TYP >::Array ( )
default

Standard Constructor.

Member Function Documentation

◆ begin()

template<class TYP >
TYP* NTuple::Array< TYP >::begin ( )
inline

Definition at line 352 of file NTuple.h.

352 { return this->m_ptr->begin(); }

◆ end()

template<class TYP >
TYP* NTuple::Array< TYP >::end ( )
inline

Definition at line 353 of file NTuple.h.

353 { return this->m_ptr->end(); }

◆ operator=()

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

Assignment operator.

Definition at line 337 of file NTuple.h.

337  {
338  *( this->m_ptr ) = *( copy.operator->() );
339  return *this;
340  }

◆ operator[]() [1/2]

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

Array operator.

Definition at line 343 of file NTuple.h.

343  {
344  return this->m_ptr->data( i );
345  }

◆ operator[]() [2/2]

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

Array operator.

Definition at line 348 of file NTuple.h.

348  {
349  return this->m_ptr->data( i );
350  }

The documentation for this class was generated from the following file:
std::copy
T copy(T... args)