Bank_AMOS.hh File Reference

Header for Bank_t. More...

#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 AMOS::BankMode_t

Functions

bool AMOS::BankExists (NCode_t ncode, const std::string &dir)
 Checks for the accessibility of a bank with certain type.
void AMOS::PrintBankVersion (const char *s)
 Prints the bank version a program is compatible with.

Variables

const BankMode_t AMOS::B_READ = 0x1
 protected reading mode
const BankMode_t AMOS::B_WRITE = 0x2
 protected writing mode
const BankMode_t AMOS::B_SPY = 0x4
 unprotected reading mode, overrides all other modes


Detailed Description

Header for Bank_t.

Author:
Adam M Phillippy
Date:
07/18/2003

Definition in file Bank_AMOS.hh.


Define Documentation

#define __Bank_AMOS_HH   1

Note:
In an effort to ensure the binary-compatibility of AMOS banks all disk I/O should be independent of any system-dependent sizes or byte orders (endian-ness), such as 'int' which can vary in size and be stored in either big- or little-endian byte order. To avoid these issues, use only types with known sizes (int32_t for example) and read/write atomic data with the readLE and writeLE methods which convert strongly-typed ints to and from little-endian byte order before reading/writing.

Definition at line 20 of file Bank_AMOS.hh.


Generated on Mon Feb 22 17:36:27 2010 for libAMOS by  doxygen 1.4.7