The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
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>

Inheritance diagram for NTuple::Array< TYP >:
Collaboration diagram for NTuple::Array< TYP >:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from NTuple::_Accessor< _Array< TYP > >
TYP * m_ptr
 Pointer to instance.
 

Detailed Description

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

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

Definition at line 324 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 345 of file NTuple.h.

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

◆ end()

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

Definition at line 346 of file NTuple.h.

346{ 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 330 of file NTuple.h.

330 {
331 *( this->m_ptr ) = *( copy.operator->() );
332 return *this;
333 }
Class acting as a smart pointer holding a N tuple _Item.
Definition NTuple.h:324

◆ operator[]() [1/2]

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

Array operator.

Definition at line 336 of file NTuple.h.

336 {
337 return this->m_ptr->data( i );
338 }

◆ 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 341 of file NTuple.h.

341 {
342 return this->m_ptr->data( i );
343 }

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