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

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

#include <GaudiKernel/NTuple.h>

Inheritance diagram for NTuple::Item< bool >:
Collaboration diagram for NTuple::Item< bool >:

Public Member Functions

 Item ()
 Standard Constructor. More...
 
 operator bool () const
 Automatic type conversion. More...
 
Itemoperator= (const bool data)
 Assignment operator. More...
 
template<class T >
Itemoperator= (const Item< T > &data)
 Assignment operator. More...
 
- Public Member Functions inherited from NTuple::_Accessor< _Item< bool > >
 _Accessor ()
 Standard Constructor. More...
 
virtual ~_Accessor ()
 Standard Destructor. More...
 
bool operator! () const
 Check if column is present. More...
 
 operator const void * () const
 Check if column is present. More...
 
_Item< bool > * operator-> ()
 Dereference operator. More...
 
const _Item< bool > * operator-> () const
 Dereference operator (CONST) More...
 
const Range< _Item< bool > > & range () const
 Access the range. More...
 

Private Types

typedef Item< bool > _My
 

Additional Inherited Members

- Protected Attributes inherited from NTuple::_Accessor< _Item< bool > >
_Item< bool > * m_ptr
 Pointer to instance. More...
 

Detailed Description

template<>
class NTuple::Item< bool >

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

Definition at line 299 of file NTuple.h.

Member Typedef Documentation

typedef Item<bool> NTuple::Item< bool >::_My
private

Definition at line 300 of file NTuple.h.

Constructor & Destructor Documentation

NTuple::Item< bool >::Item ( )
inline

Standard Constructor.

Definition at line 303 of file NTuple.h.

303 { }

Member Function Documentation

NTuple::Item< bool >::operator bool ( ) const
inline

Automatic type conversion.

Definition at line 305 of file NTuple.h.

305 { return this->m_ptr->get(); }
virtual TYP get() const
Access to data by reference (CONST)
Definition: NTuple.h:147
_Item< bool > * m_ptr
Pointer to instance.
Definition: NTuple.h:232
Item& NTuple::Item< bool >::operator= ( const bool  data)
inline

Assignment operator.

Definition at line 307 of file NTuple.h.

307  {
308  this->m_ptr->set( data );
309  return *this;
310  }
void set(const TYP &item)
Access to data by reference.
Definition: NTuple.h:145
_Item< bool > * m_ptr
Pointer to instance.
Definition: NTuple.h:232
template<class T >
Item& NTuple::Item< bool >::operator= ( const Item< T > &  data)
inline

Assignment operator.

Definition at line 313 of file NTuple.h.

313  {
314  this->m_ptr->set( data->get() );
315  return *this;
316  }
void set(const TYP &item)
Access to data by reference.
Definition: NTuple.h:145
_Item< bool > * m_ptr
Pointer to instance.
Definition: NTuple.h:232

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