Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 339 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 1050 of file Bank_AMOS.cc.

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

Bank_t::BankPartition_t::~BankPartition_t  ) 
 

Closes fix and var streams and frees buffer memory.

Definition at line 1061 of file Bank_AMOS.cc.

References AMOS::Bank_t::close(), 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 352 of file Bank_AMOS.hh.

Referenced by BankPartition_t(), and ~BankPartition_t().

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

The name of the fixed len file.

Definition at line 350 of file Bank_AMOS.hh.

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

The fstream for this partition's var len store.

Definition at line 353 of file Bank_AMOS.hh.

Referenced by BankPartition_t(), and ~BankPartition_t().

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

The name of the variable len file.

Definition at line 351 of file Bank_AMOS.hh.


The documentation for this class was generated from the following files:
Generated on Tue May 17 15:19:41 2005 for libAMOS by doxygen 1.3.8