The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 54 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  }

◆ 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: