libwps_OLE::AllocTable Class Reference documentation

Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
libwps_OLE::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 &)
AllocTable & | operator= (const AllocTable &)

## Private Attributes
std::vector< unsigned long > | m_data

## Constructor & Destructor Documentation

## ◆ AllocTable() [1/2]

libwps_OLE::AllocTable::AllocTable | ( |  | ) |
| inline

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

## ◆ AllocTable() [2/2]

libwps_OLE::AllocTable::AllocTable | ( | const AllocTable & |  | ) |
| private

## Member Function Documentation

## ◆ clear()

void libwps_OLE::AllocTable::clear | ( |  | ) |

## ◆ count()

unsigned long libwps_OLE::AllocTable::count | ( |  | ) | const
| inline

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

## ◆ follow()

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

## ◆ load()

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

## ◆ operator=()

AllocTable & libwps_OLE::AllocTable::operator= | ( | const AllocTable & |  | ) |
| private

## ◆ operator[]()

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

## ◆ resize()

void libwps_OLE::AllocTable::resize | ( | unsigned long | newsize | ) |
| inline

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

## ◆ save()

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

## ◆ saveSize()

unsigned libwps_OLE::AllocTable::saveSize | ( |  | ) | const
| inline

## ◆ set()

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

Referenced by load(), and setChain().

## ◆ setChain()

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

## Member Data Documentation

## ◆ m_blockSize

unsigned libwps_OLE::AllocTable::m_blockSize

Referenced by AllocTable().

## ◆ m_data

std::vector<unsigned long> libwps_OLE::AllocTable::m_data
| private

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

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

- WPSOLEStream.cpp