All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
NTuple::_Accessor< TYP > Class Template Reference

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

#include </scratch/z5/marcocle/lhcb-release/419/GAUDI/GAUDI_v26r1/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/NTuple.h>

Collaboration diagram for NTuple::_Accessor< TYP >:

Public Member Functions

 _Accessor ()
 Standard Constructor.
 
virtual ~_Accessor ()
 Standard Destructor.
 
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.
 
 _Accessor ()
 Standard Constructor.
 
virtual ~_Accessor ()
 Standard Destructor.
 
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.
 

Private Member Functions

_Accessor< TYP > & operator= (const _Accessor< TYP > &)
 
_Accessor< TYP > & operator= (const _Accessor< TYP > &)
 

Friends

class Tuple
 

Detailed Description

template<class TYP>
class NTuple::_Accessor< TYP >

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

Definition at line 224 of file NTuple.h.

Constructor & Destructor Documentation

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

Standard Constructor.

Definition at line 235 of file NTuple.h.

: m_ptr(0) { }
template<class TYP>
virtual NTuple::_Accessor< TYP >::~_Accessor ( )
inlinevirtual

Standard Destructor.

Definition at line 237 of file NTuple.h.

{ }
template<class TYP>
NTuple::_Accessor< TYP >::_Accessor ( )
inline

Standard Constructor.

Definition at line 235 of file NTuple.h.

: m_ptr(0) { }
template<class TYP>
virtual NTuple::_Accessor< TYP >::~_Accessor ( )
inlinevirtual

Standard Destructor.

Definition at line 237 of file NTuple.h.

{ }

Member Function Documentation

template<class TYP>
NTuple::_Accessor< TYP >::operator const void * ( ) const
inline

Check if column is present.

Definition at line 241 of file NTuple.h.

{ return m_ptr; }
template<class TYP>
NTuple::_Accessor< TYP >::operator const void * ( ) const
inline

Check if column is present.

Definition at line 241 of file NTuple.h.

{ return m_ptr; }
template<class TYP>
bool NTuple::_Accessor< TYP >::operator! ( ) const
inline

Check if column is present.

Definition at line 239 of file NTuple.h.

{ return m_ptr != 0; }
template<class TYP>
bool NTuple::_Accessor< TYP >::operator! ( ) const
inline

Check if column is present.

Definition at line 239 of file NTuple.h.

{ return m_ptr != 0; }
template<class TYP>
TYP* NTuple::_Accessor< TYP >::operator-> ( )
inline

Dereference operator.

Definition at line 243 of file NTuple.h.

{ return m_ptr; }
template<class TYP>
TYP* NTuple::_Accessor< TYP >::operator-> ( )
inline

Dereference operator.

Definition at line 243 of file NTuple.h.

{ return m_ptr; }
template<class TYP>
const TYP* NTuple::_Accessor< TYP >::operator-> ( ) const
inline

Dereference operator (CONST)

Definition at line 245 of file NTuple.h.

{ return m_ptr; }
template<class TYP>
const TYP* NTuple::_Accessor< TYP >::operator-> ( ) const
inline

Dereference operator (CONST)

Definition at line 245 of file NTuple.h.

{ return m_ptr; }
template<class TYP>
_Accessor<TYP>& NTuple::_Accessor< TYP >::operator= ( const _Accessor< TYP > &  )
inlineprivate

Definition at line 227 of file NTuple.h.

{
return *this;
}
template<class TYP>
_Accessor<TYP>& NTuple::_Accessor< TYP >::operator= ( const _Accessor< TYP > &  )
inlineprivate

Definition at line 227 of file NTuple.h.

{
return *this;
}
template<class TYP>
const Range<TYP>& NTuple::_Accessor< TYP >::range ( ) const
inline

Access the range.

Definition at line 247 of file NTuple.h.

{ return m_ptr->range(); }
template<class TYP>
const Range<TYP>& NTuple::_Accessor< TYP >::range ( ) const
inline

Access the range.

Definition at line 247 of file NTuple.h.

{ return m_ptr->range(); }

Friends And Related Function Documentation

template<class TYP>
Tuple
friend

Definition at line 225 of file NTuple.h.

Member Data Documentation

template<class TYP>
TYP * _Accessor< TYP >::m_ptr
mutableprotected

Pointer to instance.

Definition at line 232 of file NTuple.h.


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