librevenge::AllocTable Class Reference

Public Member Functions

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

Public Attributes

unsigned m_blockSize
 

Private Member Functions

 AllocTable (const AllocTable &)
 
AllocTableoperator= (const AllocTable &)
 

Private Attributes

std::vector< unsigned long > m_data
 

Constructor & Destructor Documentation

librevenge::AllocTable::AllocTable ( )
inline
librevenge::AllocTable::AllocTable ( const AllocTable )
private

Member Function Documentation

void librevenge::AllocTable::clear ( )
unsigned long librevenge::AllocTable::count ( ) const
inline

Referenced by load(), save(), saveSize(), and set().

std::vector< unsigned long > librevenge::AllocTable::follow ( unsigned long  start) const
void librevenge::AllocTable::load ( const unsigned char *  buffer,
unsigned  len 
)
inline
AllocTable& librevenge::AllocTable::operator= ( const AllocTable )
private
unsigned long librevenge::AllocTable::operator[] ( unsigned long  index) const
inline
void librevenge::AllocTable::resize ( unsigned long  newsize)
inline
void librevenge::AllocTable::save ( unsigned char *  buffer) const
inline
unsigned librevenge::AllocTable::saveSize ( ) const
inline
void librevenge::AllocTable::set ( unsigned long  index,
unsigned long  val 
)
inline

Referenced by load().

void librevenge::AllocTable::setChain ( std::vector< unsigned long >  chain,
unsigned  end 
)

Member Data Documentation

unsigned librevenge::AllocTable::m_blockSize
std::vector<unsigned long> librevenge::AllocTable::m_data
private

Referenced by count(), operator[](), resize(), save(), and set().


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

Generated for librevenge by doxygen 1.8.10