| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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]
List of all members.

Public Member Functions

 Matrix ()
 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.
virtual ~Matrix ()
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.

Protected Attributes

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


Constructor & Destructor Documentation

template<class TYP>
NTuple::Matrix< TYP >::Matrix (  )  [inline]

Standard Constructor.

Definition at line 343 of file NTuple.h.

00343 {    }

template<class TYP>
virtual NTuple::Matrix< TYP >::~Matrix (  )  [inline, virtual]

Definition at line 356 of file NTuple.h.

00356 {}


Member Function Documentation

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

Assignment operator.

Definition at line 346 of file NTuple.h.

00346                                              {
00347       *(this->m_ptr) = *(copy.operator->());
00348       return *this;
00349     }

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

Array operator.

Definition at line 352 of file NTuple.h.

00352 { 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 355 of file NTuple.h.

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

template<class TYP>
bool NTuple::_Accessor< TYP >::operator! (  )  const [inline, inherited]

Check if column is present.

Definition at line 237 of file NTuple.h.

00237 { return m_ptr != 0;             }

template<class TYP>
NTuple::_Accessor< TYP >::operator const void * (  )  const [inline, inherited]

Check if column is present.

Definition at line 239 of file NTuple.h.

00239 { return m_ptr;                  }

template<class TYP>
TYP* NTuple::_Accessor< TYP >::operator-> (  )  [inline, inherited]

Dereference operator.

Definition at line 241 of file NTuple.h.

00241 { return m_ptr;                  }

template<class TYP>
const TYP* NTuple::_Accessor< TYP >::operator-> (  )  const [inline, inherited]

Dereference operator (CONST).

Definition at line 243 of file NTuple.h.

00243 { return m_ptr;                  }

template<class TYP>
const Range<TYP>& NTuple::_Accessor< TYP >::range (  )  const [inline, inherited]

Access the range.

Definition at line 245 of file NTuple.h.

00245 { return m_ptr->range();         }


Member Data Documentation

template<class TYP>
TYP* NTuple::_Accessor< TYP >::m_ptr [mutable, protected, inherited]

Pointer to instance.

Definition at line 230 of file NTuple.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:18 2011 for GaudiKernel by doxygen 1.4.7