Classes | |
struct | ResourceInfo |
Public Member Functions | |
IMPResourceDirImpl (librevenge::RVNGInputStream *input, unsigned files, unsigned version) | |
librevenge::RVNGInputStream * | getDirStream () const |
librevenge::RVNGInputStream * | getResourceByName (const char *name) const |
librevenge::RVNGInputStream * | getResourceByType (const char *type) const |
Private Types | |
typedef boost::unordered_map < string, ResourceInfo > | ResourceMap_t |
typedef boost::unordered_map < string, ResourceMap_t::const_iterator > | TypeMap_t |
Private Member Functions | |
IMPResourceDirImpl (const IMPResourceDirImpl &other) | |
IMPResourceDirImpl & | operator= (const IMPResourceDirImpl &other) |
ResourceMap_t::const_iterator | findResourceByType (const char *type) const |
librevenge::RVNGInputStream * | createStream (const ResourceInfo &info) const |
Private Attributes | |
librevenge::RVNGInputStream * | m_stream |
unsigned | m_start |
unsigned | m_length |
ResourceMap_t | m_resourceMap |
TypeMap_t | m_typeMap |
|
private |
|
private |
|
private |
libebook::IMPResourceDirImpl::IMPResourceDirImpl | ( | librevenge::RVNGInputStream * | input, |
unsigned | files, | ||
unsigned | version | ||
) |
|
private |
Referenced by getResourceByName(), and getResourceByType().
|
private |
Referenced by getResourceByType().
librevenge::RVNGInputStream * libebook::IMPResourceDirImpl::getDirStream | ( | ) | const |
librevenge::RVNGInputStream * libebook::IMPResourceDirImpl::getResourceByName | ( | const char * | name | ) | const |
librevenge::RVNGInputStream * libebook::IMPResourceDirImpl::getResourceByType | ( | const char * | type | ) | const |
|
private |
|
private |
Referenced by getDirStream(), and IMPResourceDirImpl().
|
mutableprivate |
Referenced by findResourceByType(), getResourceByName(), getResourceByType(), and IMPResourceDirImpl().
|
private |
Referenced by getDirStream(), and IMPResourceDirImpl().
|
private |
Referenced by createStream(), findResourceByType(), and getDirStream().
|
mutableprivate |
Referenced by getResourceByType(), and IMPResourceDirImpl().