AMOS::Bank_t::BankPartition_t Class Reference

A single partition of the file-based bank. More...

#include <Bank_AMOS.hh>

List of all members.

Public Member Functions

 BankPartition_t (Size_t buffer_size)
 Allocates stream buffers for fix and var streams.
 ~BankPartition_t ()
 Closes fix and var streams and frees buffer memory.

Public Attributes

std::string fix_name
 The name of the fixed len file.
std::string var_name
 The name of the variable len file.
std::fstream fix
 The fstream for this partition's fix len store.
std::fstream var
 The fstream for this partition's var len store.


Detailed Description

A single partition of the file-based bank.

Unifies the two biserial file streams of a bank partition and handles the IO buffers.

Definition at line 357 of file Bank_AMOS.hh.


Constructor & Destructor Documentation

Bank_t::BankPartition_t::BankPartition_t ( Size_t  buffer_size  ) 

Allocates stream buffers for fix and var streams.

Definition at line 1081 of file Bank_AMOS.cc.

References fix, AMOS::SafeMalloc(), and var.

Bank_t::BankPartition_t::~BankPartition_t (  ) 

Closes fix and var streams and frees buffer memory.

Definition at line 1092 of file Bank_AMOS.cc.

References fix, and var.


Member Data Documentation

std::fstream AMOS::Bank_t::BankPartition_t::fix

The fstream for this partition's fix len store.

Definition at line 370 of file Bank_AMOS.hh.

Referenced by AMOS::Bank_t::appendBID(), BankPartition_t(), AMOS::Bank_t::concat(), AMOS::Bank_t::fetchBID(), AMOS::Bank_t::fetchBIDFix(), AMOS::Bank_t::openPartition(), AMOS::Bank_t::removeBID(), AMOS::Bank_t::replaceBID(), and ~BankPartition_t().

std::string AMOS::Bank_t::BankPartition_t::fix_name

The name of the fixed len file.

Definition at line 368 of file Bank_AMOS.hh.

Referenced by AMOS::Bank_t::addPartition(), and AMOS::Bank_t::openPartition().

std::fstream AMOS::Bank_t::BankPartition_t::var

The fstream for this partition's var len store.

Definition at line 371 of file Bank_AMOS.hh.

Referenced by AMOS::Bank_t::appendBID(), BankPartition_t(), AMOS::Bank_t::concat(), AMOS::Bank_t::fetchBID(), AMOS::Bank_t::openPartition(), AMOS::Bank_t::removeBID(), AMOS::Bank_t::replaceBID(), and ~BankPartition_t().

std::string AMOS::Bank_t::BankPartition_t::var_name

The name of the variable len file.

Definition at line 369 of file Bank_AMOS.hh.

Referenced by AMOS::Bank_t::addPartition(), and AMOS::Bank_t::openPartition().


The documentation for this class was generated from the following files:
Generated on Mon Feb 22 17:36:35 2010 for libAMOS by  doxygen 1.4.7