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

JBLH1SomeBank< H1SomeBankPtr, H1SomeRow > Class Template Reference

#include <H1BankFuns.h>

List of all members.


Detailed Description

template<class H1SomeBankPtr = H1BankPtr, class H1SomeRow = H1Row>
class JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >

A class that allows generic access to an H1 bank.

An JBLH1Bank represents an H1 bank as object. An JBLH1Bank object can provide an iterator (of type JBLH1BankIterator) that can be used to iterate over the rows of the bank.

Definition at line 333 of file H1BankFuns.h.

Public Member Functions

 JBLH1SomeBank ()
 Default constructor.

 JBLH1SomeBank (const char *name_)
 Constructor by name.

 JBLH1SomeBank (const H1SomeBankPtr &ptr_)
 Constructor from H1BankPtr.

virtual JBLH1SomeBankIterator<
H1SomeBankPtr, H1SomeRow > & 
iter () const
 Returns an JBLH1BankIterator to iterate over the rows of the bank.

virtual const H1SomeBankPtr & getH1BankPtr () const
 Returns the bank pointer.

virtual const char * getName () const
 Returns pointer to name.


Protected Member Functions

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


Private Attributes

const H1SomeBankPtr & ptr
 The bank pointer.

std::string name
 A name (good for debugging).


Constructor & Destructor Documentation

template<class H1SomeBankPtr = H1BankPtr, class H1SomeRow = H1Row>
JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >::JBLH1SomeBank const char *  name_  )  [inline, explicit]
 

Constructor by name.

Parameters:
name_  The bank name

Definition at line 343 of file H1BankFuns.h.

References JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >::name, and JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >::ptr.

template<class H1SomeBankPtr = H1BankPtr, class H1SomeRow = H1Row>
JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >::JBLH1SomeBank const H1SomeBankPtr &  ptr_  )  [inline, explicit]
 

Constructor from H1BankPtr.

Parameters:
ptr_  The bank pointer

Definition at line 350 of file H1BankFuns.h.

References JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >::name, and JBLH1SomeBank< H1SomeBankPtr, H1SomeRow >::ptr.


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