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 (  ) 

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

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

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

unsigned libwpd::AllocTable::unused (  ) 

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

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

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

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

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

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


Member Data Documentation

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

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

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

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

unsigned libwpd::AllocTable::blockSize

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


The documentation for this class was generated from the following file:
Generated on Sun Jul 27 00:56:20 2008 for libwpd by doxygen 1.5.4