The Gaudi Framework  v36r1 (3e2fb5a8)
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>

Public Member Functions

 Matrix ()=default
 Standard Constructor. More...
 
template<class T >
Matrixoperator= (const Matrix< 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...
 

Detailed Description

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

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

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

365  {
366  *( this->m_ptr ) = *( copy.operator->() );
367  return *this;
368  }

◆ operator[]() [1/2]

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

Array operator.

Definition at line 371 of file NTuple.h.

371  {
372  return this->m_ptr->column( i );
373  }

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

376  {
377  return this->m_ptr->column( i );
378  }

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