The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
NTuple::Matrix< 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::Matrix< TYP >:
Collaboration diagram for NTuple::Matrix< TYP >:

Public Member Functions

 Matrix ()=default
 Standard Constructor.
 
template<class T>
Matrixoperator= (const Matrix< 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.
 
- Public Member Functions inherited from NTuple::_Accessor< _Matrix< 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< _Matrix< TYP > >
TYP * m_ptr
 Pointer to instance.
 

Detailed Description

template<class TYP>
class NTuple::Matrix< TYP >

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

Definition at line 352 of file NTuple.h.

Constructor & Destructor Documentation

◆ Matrix()

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

Standard Constructor.

Member Function Documentation

◆ operator=()

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

Assignment operator.

Definition at line 358 of file NTuple.h.

358 {
359 *( this->m_ptr ) = *( copy.operator->() );
360 return *this;
361 }
Class acting as a smart pointer holding a N tuple _Item.
Definition NTuple.h:352

◆ operator[]() [1/2]

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

Array operator.

Definition at line 364 of file NTuple.h.

364 {
365 return this->m_ptr->column( i );
366 }

◆ operator[]() [2/2]

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

Array operator.

Definition at line 369 of file NTuple.h.

369 {
370 return this->m_ptr->column( i );
371 }

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