Gaudi Framework, version v23r9

Home   Generated: Thu Jul 18 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
NTuple::Array< TYP > Class Template Reference

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

#include <NTuple.h>

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

Public Member Functions

 Array ()
 Standard Constructor.
 
template<class T >
Arrayoperator= (const Array< 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 ~Array ()
 
- Public Member Functions inherited from NTuple::_Accessor< _Array< 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.
 
_Array< TYP > * operator-> ()
 Dereference operator.
 
const _Array< TYP > * operator-> () const
 Dereference operator (CONST)
 
const Range< _Array< TYP > > & range () const
 Access the range.
 

Additional Inherited Members

- Protected Attributes inherited from NTuple::_Accessor< _Array< TYP > >
_Array< TYP > * m_ptr
 Pointer to instance.
 

Detailed Description

template<class TYP>
class NTuple::Array< TYP >

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

Definition at line 321 of file NTuple.h.

Constructor & Destructor Documentation

template<class TYP>
NTuple::Array< TYP >::Array ( )
inline

Standard Constructor.

Definition at line 324 of file NTuple.h.

{ }
template<class TYP>
virtual NTuple::Array< TYP >::~Array ( )
inlinevirtual

Definition at line 337 of file NTuple.h.

{}

Member Function Documentation

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

Assignment operator.

Definition at line 327 of file NTuple.h.

{
*(this->m_ptr) = *(copy.operator->());
return *this;
}
template<class TYP>
template<class T >
TYP& NTuple::Array< TYP >::operator[] ( const T  i)
inline

Array operator.

Definition at line 333 of file NTuple.h.

{ return this->m_ptr->data(i); }
template<class TYP>
template<class T >
const TYP& NTuple::Array< TYP >::operator[] ( const T  i) const
inline

Array operator.

Definition at line 336 of file NTuple.h.

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

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

Generated at Thu Jul 18 2013 12:18:16 for Gaudi Framework, version v23r9 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004