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 = 0xfffffffe |
| static const unsigned | Avail = 0xffffffff |
| static const unsigned | Bat = 0xfffffffd |
| static const unsigned | MetaBat = 0xfffffffc |
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 | ( | ) |
| std::vector< unsigned long > libwps::AllocTable::follow | ( | unsigned long | start | ) |
Referenced by libwps::StorageIO::load(), and libwps::StreamIO::StreamIO().
| void libwps::AllocTable::load | ( | const unsigned char * | buffer, | |
| unsigned | len | |||
| ) |
Referenced by libwps::StorageIO::load().
| AllocTable& libwps::AllocTable::operator= | ( | const AllocTable & | ) | [private] |
| unsigned long libwps::AllocTable::operator[] | ( | unsigned long | index | ) |
| void libwps::AllocTable::preserve | ( | unsigned long | n | ) |
| void libwps::AllocTable::resize | ( | unsigned long | newsize | ) |
Referenced by AllocTable(), load(), set(), and unused().
| void libwps::AllocTable::save | ( | unsigned char * | buffer | ) |
| void libwps::AllocTable::set | ( | unsigned long | index, | |
| unsigned long | val | |||
| ) |
| void libwps::AllocTable::setChain | ( | std::vector< unsigned long > | chain | ) |
| unsigned libwps::AllocTable::unused | ( | ) |
Referenced by preserve().
const unsigned libwps::AllocTable::Avail = 0xffffffff [static] |
Referenced by libwps::Header::Header(), resize(), and unused().
const unsigned libwps::AllocTable::Bat = 0xfffffffd [static] |
Referenced by follow().
| unsigned libwps::AllocTable::blockSize |
std::vector<unsigned long> libwps::AllocTable::data [private] |
const unsigned libwps::AllocTable::Eof = 0xfffffffe [static] |
Referenced by follow(), and setChain().
const unsigned libwps::AllocTable::MetaBat = 0xfffffffc [static] |
Referenced by follow().