Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

NTIntFun Class Reference

#include <NTIntFun.h>

Inheritance diagram for NTIntFun:

Inheritance graph
[legend]
Collaboration diagram for NTIntFun:

Collaboration graph
[legend]
List of all members.

Detailed Description

Returns a int value from an Ntuple (abstract base class for NTIntFunT templates).

Author: Benno List, Jenny List

Date
2005/06/04 16:27:51
Author
blist

Changelog:

Definition at line 32 of file NTIntFun.h.

Public Member Functions

 NTIntFun (const std::string &name_)
 Constructor from a name.

 NTIntFun (const std::string &name_, const IntFun *iter_)
 Constructor from a name and an iterator.

 NTIntFun (const std::string &name_, int offset_)
 Constructor from a name and an offsets.

virtual NTIntFunoperator[] (const IntFunPoR &iter_) const=0
 Returns a new object with a different iterator.

virtual NTIntFunoperator[] (int offset_) const=0
 Returns a new object with a different offset.

virtual const FillIteratorgetIterator () const
 Returns pointer to iterator, if any.


Protected Member Functions

virtual ~NTIntFun ()
 Protected destructor ensures creation on the heap.

std::string getBaseName () const
 Returns the part of the name before the "[".


Protected Attributes

const IntFuniter
 An optional FillIterator.

int offset
 An optional offset, i.e. array index.


Related Functions

(Note that these are not member functions.)

template<class Ntuple, class T> NTIntFunT< Ntuple, T > & ntintfun (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", const IntFunPoR &iter_=0)
 returns a IntFun from an ntuple data member

template<class Ntuple, class T> NTIntFunT< Ntuple, T > & ntintfun (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", int offset_)
 returns a IntFun from an ntuple data member


Constructor & Destructor Documentation

NTIntFun::NTIntFun const std::string &  name_  ) 
 

Constructor from a name.

Parameters:
name_  The name

Definition at line 19 of file NTIntFun.C.

References NamedO::getName().

NTIntFun::NTIntFun const std::string &  name_,
const IntFun iter_
 

Constructor from a name and an iterator.

Parameters:
name_  The name
iter_  The Iterator

Definition at line 29 of file NTIntFun.C.

References NamedO::getName().

NTIntFun::NTIntFun const std::string &  name_,
int  offset_
 

Constructor from a name and an offsets.

Parameters:
name_  The name
offset_  The integer offset

Definition at line 39 of file NTIntFun.C.

References NamedO::getName().


Member Function Documentation

virtual NTIntFun& NTIntFun::operator[] const IntFunPoR iter_  )  const [pure virtual]
 

Returns a new object with a different iterator.

Parameters:
iter_  the new iterator

Implemented in NTIntFunT< Ntuple, T >.

virtual NTIntFun& NTIntFun::operator[] int  offset_  )  const [pure virtual]
 

Returns a new object with a different offset.

Parameters:
offset_  the new offset

Implemented in NTIntFunT< Ntuple, T >.


Friends And Related Function Documentation

template<class Ntuple, class T>
NTIntFunT< Ntuple, T > & ntintfun const Ntuple &  nt,
T Ntuple::*  p_mem,
const char *  name_ = "?",
const IntFunPoR iter_ = 0
[related]
 

returns a IntFun from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name
iter_  An optional iterator

Definition at line 206 of file NTIntFun.h.

template<class Ntuple, class T>
NTIntFunT< Ntuple, T > & ntintfun const Ntuple &  nt,
T Ntuple::*  p_mem,
const char *  name_ = "?",
int  offset_
[related]
 

returns a IntFun from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name
offset_  An offset into an array

Definition at line 219 of file NTIntFun.h.


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 12:55:00 2006 for SFH by doxygen 1.3.2