Classes | |
struct | ResourceInfo |
Public Member Functions | |
SoftBookResourceDirImpl (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 std::unordered_map< string, ResourceInfo > | ResourceMap_t |
typedef std::unordered_map< string, ResourceMap_t::const_iterator > | TypeMap_t |
Private Member Functions | |
SoftBookResourceDirImpl (const SoftBookResourceDirImpl &other) | |
SoftBookResourceDirImpl & | operator= (const SoftBookResourceDirImpl &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::SoftBookResourceDirImpl::SoftBookResourceDirImpl | ( | librevenge::RVNGInputStream * | input, |
unsigned | files, | ||
unsigned | version | ||
) |
|
private |
Referenced by getResourceByName(), and getResourceByType().
|
private |
Referenced by getResourceByType().
librevenge::RVNGInputStream * libebook::SoftBookResourceDirImpl::getDirStream | ( | ) | const |
librevenge::RVNGInputStream * libebook::SoftBookResourceDirImpl::getResourceByName | ( | const char * | name | ) | const |
librevenge::RVNGInputStream * libebook::SoftBookResourceDirImpl::getResourceByType | ( | const char * | type | ) | const |
|
private |
|
private |
Referenced by getDirStream(), and SoftBookResourceDirImpl().
|
mutableprivate |
Referenced by findResourceByType(), getResourceByName(), getResourceByType(), and SoftBookResourceDirImpl().
|
private |
Referenced by getDirStream(), and SoftBookResourceDirImpl().
|
private |
Referenced by createStream(), findResourceByType(), and getDirStream().
|
mutableprivate |
Referenced by getResourceByType(), and SoftBookResourceDirImpl().