libwpd::AllocTable Class Reference

List of all members.

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 &)
AllocTableoperator= (const AllocTable &)

Private Attributes

std::vector< unsigned long > data


Constructor & Destructor Documentation

libwpd::AllocTable::AllocTable (  ) 

libwpd::AllocTable::AllocTable ( const AllocTable  )  [private]


Member Function Documentation

void libwpd::AllocTable::clear (  ) 

unsigned long libwpd::AllocTable::count (  ) 

Referenced by follow(), load(), and set().

std::vector< unsigned long > libwpd::AllocTable::follow ( unsigned long  start  ) 

void libwpd::AllocTable::load ( const unsigned char *  buffer,
unsigned  len 
)

Referenced by libwpd::StorageIO::load().

AllocTable& libwpd::AllocTable::operator= ( const AllocTable  )  [private]

unsigned long libwpd::AllocTable::operator[] ( unsigned long  index  ) 

void libwpd::AllocTable::preserve ( unsigned long  n  ) 

void libwpd::AllocTable::resize ( unsigned long  newsize  ) 

Referenced by AllocTable(), load(), set(), and unused().

void libwpd::AllocTable::save ( unsigned char *  buffer  ) 

void libwpd::AllocTable::set ( unsigned long  index,
unsigned long  val 
)

void libwpd::AllocTable::setChain ( std::vector< unsigned long >  chain  ) 

unsigned libwpd::AllocTable::unused (  ) 

Referenced by preserve().


Member Data Documentation

const unsigned libwpd::AllocTable::Avail = 0xffffffff [static]

const unsigned libwpd::AllocTable::Bat = 0xfffffffd [static]

Referenced by follow().

std::vector<unsigned long> libwpd::AllocTable::data [private]

const unsigned libwpd::AllocTable::Eof = 0xfffffffe [static]

Referenced by follow(), and setChain().

const unsigned libwpd::AllocTable::MetaBat = 0xfffffffc [static]

Referenced by follow().


The documentation for this class was generated from the following file:

Generated on Thu Apr 9 10:56:22 2009 for libwpd by doxygen 1.5.8