| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Types | List of all members
NTuple::Item< bool > Class Template Reference

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

`#include <NTuple.h>`

Inheritance diagram for NTuple::Item< bool >:
[legend]
Collaboration diagram for NTuple::Item< bool >:
[legend]

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

## Private Types
typedef Item< bool > | _My

## Additional Inherited Members
Protected Attributes inherited from NTuple::_Accessor< _Item< bool > >
_Item< bool > * | m_ptr
| Pointer to instance.

## 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.

{ }

## Member Function Documentation

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

Automatic type conversion.

Definition at line 305 of file NTuple.h.

{ return this->m_ptr->get(); }

Item& NTuple::Item< bool >::operator= | ( | const bool | data | ) |
| inline

Assignment operator.

Definition at line 307 of file NTuple.h.

{
this->m_ptr->set( data );
return *this;
}
template<class T >

Item& NTuple::Item< bool >::operator= | ( | const Item< T > & | data | ) |
| inline

Assignment operator.

Definition at line 313 of file NTuple.h.

{
this->m_ptr->set( data->get() );
return *this;
}

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/NTuple.h