Gaudi Framework, version v23r0

Home   Generated: Mon Jan 30 2012
Public Member Functions | Static Public Member Functions

NTuple::_Item< TYP > Class Template Reference

Abstract class describing a column in a N tuple. 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

template<class T >
_Item< TYP > & operator= (const _Item< T > &copy)
 Assignment operator.
void set (const TYP &item)
 Access to data by reference.
virtual TYP get () const
 Access to data by reference (CONST)

Static Public Member Functions

static _Itemcreate (INTuple *tup, const std::string &name, const std::type_info &info, TYP min, TYP max, TYP def)
 Create instance.

Detailed Description

template<class TYP>
class NTuple::_Item< TYP >

Abstract class describing a column in a N tuple.

Definition at line 127 of file NTuple.h.


Member Function Documentation

template<class TYP>
NTuple::_Item< TYP > * NTuple::_Item< TYP >::create ( INTuple tup,
const std::string name,
const std::type_info info,
TYP  min,
TYP  max,
TYP  def 
) [static]

Create instance.

Definition at line 27 of file NTupleItems.cpp.

                                                                                                            {
  _ItemImp<TYP>* result = new _ItemImp<TYP>(tup, name, info, min, max, def);
  return result;
}
template<class TYP>
virtual TYP NTuple::_Item< TYP >::get (  ) const [inline, virtual]

Access to data by reference (CONST)

Definition at line 145 of file NTuple.h.

{ return *this->m_buffer;             }
template<class TYP>
template<class T >
_Item<TYP>& NTuple::_Item< TYP >::operator= ( const _Item< T > &  copy ) [inline]

Assignment operator.

Definition at line 138 of file NTuple.h.

                                                  {
      *this->m_buffer = copy.get();
      return *this;
    }
template<class TYP>
void NTuple::_Item< TYP >::set ( const TYP &  item ) [inline]

Access to data by reference.

Definition at line 143 of file NTuple.h.

{ *this->m_buffer = item;             }

The documentation for this class was generated from the following files:
 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