psi::dboc::StringBlocks Class Reference

Manages logic of arranging strings into blocks of manageble size. More...

#include <stringblocks.h>


Public Member Functions

 StringBlocks (int nstr, int nstr_per_block)
int nstr_per_block () const
 How many strings per block?
int nblocks () const
 How many blocks?
int size (int block) const
 Size of the block.
int block (int str) const
 To which block does this string belong?
int rel_to_block_begin (int str) const
 Index within the block.
int begin (int block) const
 First string in this block.
int end (int block) const
 Last string in this block.


Detailed Description

Manages logic of arranging strings into blocks of manageble size.

Definition at line 16 of file stringblocks.h.


The documentation for this class was generated from the following files:
Generated on Wed Feb 13 16:36:15 2008 for PSI by  doxygen 1.5.4