librevenge::AllocTable Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

Referenced by librevenge::IStream::IStream().

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

Referenced by AllocTable(), load(), librevenge::OStorage::newBBlock(), librevenge::OStorage::newSBlock(), and set().

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

Referenced by librevenge::IStorage::IStorage(), and librevenge::IStream::IStream().

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:

- RVNGOLEStream.cpp