#include "utility_AMOS.hh"
#include "IDMap_AMOS.hh"
#include <cstdlib>
#include <string>
#include <fstream>
#include <vector>
#include <deque>
Include dependency graph for Bank_AMOS.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | AMOS |
Classes | |
class | AMOS::IBankable_t |
Interface for classes that can be stored in an AMOS bank. More... | |
class | AMOS::Bank_t |
An AMOS data bank for efficiently storing Bankable data types. More... | |
class | AMOS::Bank_t::BankPartition_t |
A single partition of the file-based bank. More... | |
Defines | |
#define | __Bank_AMOS_HH 1 |
Typedefs | |
typedef uint8_t | BankMode_t |
Functions | |
bool | BankExists (NCode_t ncode, const std::string &dir) |
Checks for the accessibility of a bank with certain type. | |
void | PrintBankVersion (const char *s) |
Prints the bank version a program is compatible with. | |
Variables | |
const BankMode_t | B_READ = 0x1 |
protected reading mode | |
const BankMode_t | B_WRITE = 0x2 |
protected writing mode | |
const BankMode_t | B_SPY = 0x4 |
unprotected reading mode, overrides all other modes |
Definition in file Bank_AMOS.hh.
|
|
|
Definition at line 34 of file Bank_AMOS.hh. Referenced by AMOS::BankStream_t::create(), AMOS::Bank_t::create(), AMOS::BankStream_t::open(), AMOS::Bank_t::open(), and AMOS::Bank_t::setMode(). |
|
Checks for the accessibility of a bank with certain type. Only checks for the existence and readability of the info store, does not perform any validity checking on the other partitions.
References AMOS::Decode(), and AMOS::NCode_t. |
|
Prints the bank version a program is compatible with.
|
|
|
unprotected reading mode, overrides all other modes Definition at line 37 of file Bank_AMOS.hh. Referenced by AMOS::Bank_t::lockIFO(), AMOS::Bank_t::setMode(), AMOS::Bank_t::syncIFO(), AMOS::Bank_t::touchFile(), and AMOS::Bank_t::unlockIFO(). |
|
protected writing mode Definition at line 36 of file Bank_AMOS.hh. Referenced by AMOS::Bank_t::appendBID(), AMOS::Bank_t::clean(), AMOS::Bank_t::clear(), AMOS::Bank_t::close(), AMOS::Bank_t::concat(), AMOS::Bank_t::create(), AMOS::Bank_t::destroy(), AMOS::Bank_t::openPartition(), AMOS::BankStream_t::operator<<(), AMOS::Bank_t::removeBID(), AMOS::Bank_t::replaceBID(), AMOS::Bank_t::setMode(), and AMOS::Bank_t::syncIFO(). |