Gaudi Framework, version v23r0

Home   Generated: Mon Jan 30 2012
Public Member Functions | Private Types

NTuple::Item< TYP > Class Template Reference

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

#include <NTuple.h>

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

List of all members.

Public Member Functions

 Item ()
 Standard Constructor.
 operator const TYP () const
 Automatic type conversion.
TYP operator* ()
 Dereference operator for pointers.
const TYP operator* () const
 Dereference operator for pointers(CONST)
Itemoperator++ ()
Itemoperator++ (int)
Itemoperator-- ()
Itemoperator-- (int)
Itemoperator= (const TYP data)
 Assignment operator.
template<class T >
Itemoperator= (const Item< T > &data)
 Assignment operator.
Item< TYP > & operator+= (const TYP data)
Item< TYP > & operator-= (const TYP data)
Item< TYP > & operator*= (const TYP data)
Item< TYP > & operator/= (const TYP data)

Private Types

typedef Item< TYP > _My

Detailed Description

template<class TYP>
class NTuple::Item< TYP >

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

Definition at line 250 of file NTuple.h.


Member Typedef Documentation

template<class TYP>
typedef Item<TYP> NTuple::Item< TYP >::_My [private]

Definition at line 251 of file NTuple.h.


Constructor & Destructor Documentation

template<class TYP>
NTuple::Item< TYP >::Item (  ) [inline]

Standard Constructor.

Definition at line 254 of file NTuple.h.

{    }

Member Function Documentation

template<class TYP>
NTuple::Item< TYP >::operator const TYP (  ) const [inline]

Automatic type conversion.

Definition at line 256 of file NTuple.h.

{ return this->m_ptr->get();       }
template<class TYP>
TYP NTuple::Item< TYP >::operator* (  ) [inline]

Dereference operator for pointers.

Definition at line 258 of file NTuple.h.

{ return this->m_ptr->get();       }
template<class TYP>
const TYP NTuple::Item< TYP >::operator* (  ) const [inline]

Dereference operator for pointers(CONST)

Definition at line 260 of file NTuple.h.

{ return this->m_ptr->get();       }
template<class TYP>
Item<TYP>& NTuple::Item< TYP >::operator*= ( const TYP  data ) [inline]

Definition at line 285 of file NTuple.h.

                                               {
      this->m_ptr->set ( this->m_ptr->get() * data );
      return *this;
    }
template<class TYP>
Item& NTuple::Item< TYP >::operator++ (  ) [inline]

Definition at line 262 of file NTuple.h.

{ return *this += TYP(1);          }
template<class TYP>
Item& NTuple::Item< TYP >::operator++ ( int   ) [inline]

Definition at line 263 of file NTuple.h.

{ return *this += TYP(1);          }
template<class TYP>
Item<TYP>& NTuple::Item< TYP >::operator+= ( const TYP  data ) [inline]

Definition at line 277 of file NTuple.h.

                                               {
      this->m_ptr->set ( this->m_ptr->get() + data );
      return *this;
    }
template<class TYP>
Item& NTuple::Item< TYP >::operator-- ( int   ) [inline]

Definition at line 265 of file NTuple.h.

{ return *this -= TYP(1);          }
template<class TYP>
Item& NTuple::Item< TYP >::operator-- (  ) [inline]

Definition at line 264 of file NTuple.h.

{ return *this -= TYP(1);          }
template<class TYP>
Item<TYP>& NTuple::Item< TYP >::operator-= ( const TYP  data ) [inline]

Definition at line 281 of file NTuple.h.

                                               {
      this->m_ptr->set ( this->m_ptr->get() - data );
      return *this;
    }
template<class TYP>
Item<TYP>& NTuple::Item< TYP >::operator/= ( const TYP  data ) [inline]

Definition at line 289 of file NTuple.h.

                                               {
      this->m_ptr->set ( this->m_ptr->get() / data );
      return *this;
    }
template<class TYP>
template<class T >
Item& NTuple::Item< TYP >::operator= ( const Item< T > &  data ) [inline]

Assignment operator.

Definition at line 273 of file NTuple.h.

                                         {
      this->m_ptr->set( data->get() );
      return *this;
    }
template<class TYP>
Item& NTuple::Item< TYP >::operator= ( const TYP  data ) [inline]

Assignment operator.

Definition at line 267 of file NTuple.h.

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Jan 30 2012 13:53:36 for Gaudi Framework, version v23r0 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004