Public Member Functions | |
| AllocTable () | |
| void | clear () |
| unsigned long | count () |
| void | resize (unsigned long newsize) |
| void | preserve (unsigned long n) |
| void | set (unsigned long index, unsigned long val) |
| unsigned | unused () |
| void | setChain (std::vector< unsigned long >) |
| std::vector< unsigned long > | follow (unsigned long start) |
| unsigned long | operator[] (unsigned long index) |
| void | load (const unsigned char *buffer, unsigned len) |
| void | save (unsigned char *buffer) |
Public Attributes | |
| unsigned | blockSize |
Static Public Attributes | |
| static const unsigned | Eof |
| static const unsigned | Avail |
| static const unsigned | Bat |
| static const unsigned | MetaBat |
Private Member Functions | |
| AllocTable (const AllocTable &) | |
| AllocTable & | operator= (const AllocTable &) |
Private Attributes | |
| std::vector< unsigned long > | data |
| libwps::AllocTable::AllocTable | ( | ) |
| libwps::AllocTable::AllocTable | ( | const AllocTable & | ) | [private] |
| void libwps::AllocTable::clear | ( | ) |
| unsigned long libwps::AllocTable::count | ( | ) |
| void libwps::AllocTable::resize | ( | unsigned long | newsize | ) |
| void libwps::AllocTable::preserve | ( | unsigned long | n | ) |
| void libwps::AllocTable::set | ( | unsigned long | index, | |
| unsigned long | val | |||
| ) |
| unsigned libwps::AllocTable::unused | ( | ) |
| void libwps::AllocTable::setChain | ( | std::vector< unsigned long > | ) |
| std::vector< unsigned long > libwps::AllocTable::follow | ( | unsigned long | start | ) |
| unsigned long libwps::AllocTable::operator[] | ( | unsigned long | index | ) |
| void libwps::AllocTable::load | ( | const unsigned char * | buffer, | |
| unsigned | len | |||
| ) |
| void libwps::AllocTable::save | ( | unsigned char * | buffer | ) |
| AllocTable& libwps::AllocTable::operator= | ( | const AllocTable & | ) | [private] |
const unsigned libwps::AllocTable::Eof [static] |
const unsigned libwps::AllocTable::Avail [static] |
const unsigned libwps::AllocTable::Bat [static] |
const unsigned libwps::AllocTable::MetaBat [static] |
| unsigned libwps::AllocTable::blockSize |
std::vector<unsigned long> libwps::AllocTable::data [private] |