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

◆ AllocTable() [1/2]

librevenge::AllocTable::AllocTable ( )
inline

Referenced by AllocTable(), and operator=().

◆ AllocTable() [2/2]

librevenge::AllocTable::AllocTable ( const AllocTable & )
private

Member Function Documentation

◆ clear()

void librevenge::AllocTable::clear ( )

◆ count()

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

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

◆ follow()

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

◆ load()

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

◆ operator=()

AllocTable & librevenge::AllocTable::operator= ( const AllocTable & )
private

◆ operator[]()

unsigned long librevenge::AllocTable::operator[] ( unsigned long index) const
inline

◆ resize()

void librevenge::AllocTable::resize ( unsigned long newsize)
inline

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

◆ save()

void librevenge::AllocTable::save ( unsigned char * buffer) const
inline

◆ saveSize()

unsigned librevenge::AllocTable::saveSize ( ) const
inline

◆ set()

void librevenge::AllocTable::set ( unsigned long index,
unsigned long val )
inline

Referenced by load(), and setChain().

◆ setChain()

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

Member Data Documentation

◆ m_blockSize

unsigned librevenge::AllocTable::m_blockSize

Referenced by AllocTable().

◆ m_data

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

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

Generated for librevenge by doxygen 1.14.0