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