The Gaudi Framework  master (37c0b60a)
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 366 of file NTuple.h.

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

◆ operator[]() [1/2]

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

Array operator.

Definition at line 372 of file NTuple.h.

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

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

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

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