| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
NTuple::Matrix< TYP > Class Template Reference

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

`#include <NTuple.h>`

Inheritance diagram for NTuple::Matrix< TYP >:
[legend]
Collaboration diagram for NTuple::Matrix< TYP >:
[legend]

## Public Member Functions
| Matrix ()
| Standard Constructor.
template<class T >
Matrix & | operator= (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.
virtual | ~Matrix ()
Public Member Functions inherited from NTuple::_Accessor< _Matrix< TYP > >
| _Accessor ()
| Standard Constructor.
virtual | ~_Accessor ()
| Standard Destructor.
bool | operator! () const
| Check if column is present.
| operator const void * () const
| Check if column is present.
_Matrix< TYP > * | operator-> ()
| Dereference operator.
const _Matrix< TYP > * | operator-> () const
| Dereference operator (CONST)
const Range< _Matrix< TYP > > & | range () const
| Access the range.

## Additional Inherited Members
Protected Attributes inherited from NTuple::_Accessor< _Matrix< TYP > >
_Matrix< 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 342 of file NTuple.h.

## Constructor & Destructor Documentation

template<class TYP>

NTuple::Matrix< TYP >::Matrix | ( |  | ) |
| inline

Standard Constructor.

Definition at line 345 of file NTuple.h.

{ }
template<class TYP>

virtual NTuple::Matrix< TYP >::~Matrix | ( |  | ) |
| inline virtual

Definition at line 358 of file NTuple.h.

{}

## Member Function Documentation

template<class TYP>
template<class T >

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

Assignment operator.

Definition at line 348 of file NTuple.h.

{
*(this->m_ptr) = *(copy.operator->());
return *this;
}
template<class TYP>
template<class T >

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

Array operator.

Definition at line 354 of file NTuple.h.

{ return this->m_ptr->column(i); }
template<class TYP>
template<class T >

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

Array operator.

Definition at line 357 of file NTuple.h.

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

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/NTuple.h