libwpg: WPGOLEStream.cpp File Reference documentation

# WPGOLEStream.cpp File Reference

`#include "WPGOLEStream.h"`
`#include <sstream>`
`#include <iostream>`
`#include <list>`
`#include <string>`
`#include <vector>`
`#include <string.h>`

## Namespaces
namespace | libwpg
## Classes
class | libwpg::Header
class | libwpg::AllocTable
class | libwpg::DirEntry
class | libwpg::DirTree
class | libwpg::StorageIO
class | libwpg::StreamIO
## Functions
static unsigned long | readU16 (const unsigned char *ptr)
static unsigned long | readU32 (const unsigned char *ptr)
static bool | already_exist (const std::vector< unsigned long > &chain, unsigned long item)
void | dirtree_find_siblings (libwpg::DirTree *dirtree, std::vector< unsigned > &result, unsigned index)
## Variables
static const unsigned char | wpsole_magic []

## Function Documentation

static bool already_exist | ( | const std::vector< unsigned long > & | chain,
|  | unsigned long | item |
| ) |  |  | `[static]`

Referenced by libwpg::AllocTable::follow().

void dirtree_find_siblings | ( | libwpg::DirTree * | dirtree,
|  | std::vector< unsigned > & | result,
|  | unsigned | index |
| ) |  |  |

Referenced by libwpg::DirTree::children().

static unsigned long readU16 | ( | const unsigned char * | ptr | ) | `[inline, static]`

static unsigned long readU32 | ( | const unsigned char * | ptr | ) | `[inline, static]`

## Variable Documentation

const unsigned char wpsole_magic[]`[static]`

Initial value:

     { 0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1 }

Referenced by libwpg::Header::Header(), and libwpg::StorageIO::load().