The Gaudi Framework  v31r0 (aeb156f0)
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 ()=default
 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 ()=default
 Standard Constructor. More...
 
virtual ~_Accessor ()=default
 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 295 of file NTuple.h.

Member Typedef Documentation

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

Definition at line 296 of file NTuple.h.

Constructor & Destructor Documentation

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

Standard Constructor.

Member Function Documentation

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

Automatic type conversion.

Definition at line 302 of file NTuple.h.

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

Assignment operator.

Definition at line 304 of file NTuple.h.

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

Assignment operator.

Definition at line 310 of file NTuple.h.

310  {
311  this->m_ptr->set( data->get() );
312  return *this;
313  }
void set(const TYP &item)
Access to data by reference.
Definition: NTuple.h:149
_Item< bool > * m_ptr
Pointer to instance.
Definition: NTuple.h:224

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