libwpd::AllocTable Class Reference

Public Member Functions

 AllocTable ()
 
void clear ()
 
unsigned long count ()
 
void resize (unsigned long newsize)
 
void set (unsigned long index, unsigned long val)
 
std::vector< unsigned long > follow (unsigned long start)
 
unsigned long operator[] (unsigned long index)
 
void load (const unsigned char *buffer, unsigned len)
 

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 ( )
std::vector< unsigned long > libwpd::AllocTable::follow ( unsigned long  start)
void libwpd::AllocTable::load ( const unsigned char *  buffer,
unsigned  len 
)
AllocTable& libwpd::AllocTable::operator= ( const AllocTable )
private
unsigned long libwpd::AllocTable::operator[] ( unsigned long  index)
void libwpd::AllocTable::resize ( unsigned long  newsize)

Referenced by AllocTable().

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

Member Data Documentation

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

Referenced by libwpd::Header::Header().

const unsigned libwpd::AllocTable::Bat = 0xfffffffd
static
unsigned libwpd::AllocTable::blockSize
std::vector<unsigned long> libwpd::AllocTable::data
private
const unsigned libwpd::AllocTable::Eof = 0xfffffffe
static
const unsigned libwpd::AllocTable::MetaBat = 0xfffffffc
static

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

Generated for libwpd by doxygen 1.8.3