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

JBLH1BankIntFun Class Reference

#include <H1BankFuns.h>

Inheritance diagram for JBLH1BankIntFun:

Inheritance graph
[legend]
Collaboration diagram for JBLH1BankIntFun:

Collaboration graph
[legend]
List of all members.

Detailed Description

Returns a int value from an int-valued column of an H1 bank row.

Definition at line 170 of file H1BankFuns.h.

Public Member Functions

 JBLH1BankIntFun (const char *name_, const FillIterator &iter_, int column_=0, const char *attribname=0)
 Constructor by name.

 JBLH1BankIntFun (const H1BankPtr &ptr_, const FillIterator &iter_, int column_=0, const char *attribname=0)
 Constructor from H1BankPtr.

virtual int operator() () const
 Returns int value of selected column.

virtual JBLH1BankIntFunoperator[] (int newcolumn) const
 Returns an JBLH1BankIntFun that corresponds to a different column.

virtual JBLH1BankIntFunInt (int newcolumn) const
 Returns an JBLH1BankIntFun that corresponds to a different column.

virtual JBLH1BankFloatFun & Float (int newcolumn) const
 Returns an JBLH1BankFloatFun that corresponds to a different column.

virtual JBLH1BankFloatFunIntFloatFromInt (int newcolumn) const
 Returns an JBLH1BankFloatFunInt that corresponds to a different column.

virtual const FillIteratorgetIterator () const
 Returns pointer to iterator.


Protected Member Functions

virtual ~JBLH1BankIntFun ()
 Protected virtual destructor to ensure creation on the heap.


Private Attributes

const H1BankPtr & ptr
 The bank pointer.

const FillIteratoriter
 The iterator.

int column
 The column (starting at 0!).


Constructor & Destructor Documentation

JBLH1BankIntFun::JBLH1BankIntFun const char *  name_,
const FillIterator iter_,
int  column_ = 0,
const char *  attribname = 0
[inline]
 

Constructor by name.

Parameters:
name_  The bank name
iter_  The iterator
column_  The column (starting at 0!)
attribname  Optional attribute name

Definition at line 173 of file H1BankFuns.h.

References column, NamedO::getName(), Int(), iter, ptr, and NamedO::str().

Referenced by Int(), and operator[]().

JBLH1BankIntFun::JBLH1BankIntFun const H1BankPtr &  ptr_,
const FillIterator iter_,
int  column_ = 0,
const char *  attribname = 0
[inline]
 

Constructor from H1BankPtr.

Parameters:
ptr_  The bank pointer
iter_  The iterator
column_  The column (starting at 0!)
attribname  Optional attribute name

Definition at line 183 of file H1BankFuns.h.

References column, NamedO::getName(), Int(), iter, ptr, and NamedO::str().


Member Function Documentation

virtual JBLH1BankIntFun& JBLH1BankIntFun::operator[] int  newcolumn  )  const [inline, virtual]
 

Returns an JBLH1BankIntFun that corresponds to a different column.

Parameters:
newcolumn  The new column

Definition at line 200 of file H1BankFuns.h.

References iter, JBLH1BankIntFun(), and ptr.

virtual JBLH1BankIntFun& JBLH1BankIntFun::Int int  newcolumn  )  const [inline, virtual]
 

Returns an JBLH1BankIntFun that corresponds to a different column.

Parameters:
newcolumn  The new column

Definition at line 205 of file H1BankFuns.h.

References iter, JBLH1BankIntFun(), and ptr.

Referenced by JBLH1BankIntFun().

virtual JBLH1BankFloatFun& JBLH1BankIntFun::Float int  newcolumn  )  const [inline, virtual]
 

Returns an JBLH1BankFloatFun that corresponds to a different column.

Parameters:
newcolumn  The new column

Definition at line 210 of file H1BankFuns.h.

References iter, and ptr.

virtual JBLH1BankFloatFunInt& JBLH1BankIntFun::FloatFromInt int  newcolumn  )  const [inline, virtual]
 

Returns an JBLH1BankFloatFunInt that corresponds to a different column.

Parameters:
newcolumn  The new column

Definition at line 215 of file H1BankFuns.h.

References iter, and ptr.


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:54:42 2006 for SFH by doxygen 1.3.2