Public Member Functions | |
virtual bool | openFile (const Common::Path &path) |
virtual bool | openStream (Common::SeekableReadStream *stream, uint32 offset=0)=0 |
virtual void | close () |
Common::Path | getPathName () const |
Common::String | getFileName () const |
void | setPathName (const Common::Path &name) |
virtual uint32 | getFileSize () |
bool | isOpen () const |
bool | hasResource (uint32 tag, int id) const |
bool | hasResource (uint32 tag, const Common::String &resName) const |
virtual Common::SeekableReadStreamEndian * | getResource (uint32 tag, uint16 id) |
virtual Common::SeekableReadStreamEndian * | getFirstResource (uint32 tag) |
virtual Resource | getResourceDetail (uint32 tag, uint16 id) |
uint32 | getOffset (uint32 tag, uint16 id) const |
uint16 | findResourceID (uint32 tag, const Common::String &resName, bool ignoreCase=false) const |
Common::String | getName (uint32 tag, uint16 id) const |
Common::SeekableReadStreamEndian * | getMovieResourceIfPresent (uint32 tag) |
Common::Array< uint32 > | getResourceTypeList () const |
Common::Array< uint16 > | getResourceIDList (uint32 type) const |
virtual Common::String | formatArchiveInfo () |
void | listUnaccessedChunks () |
Static Public Member Functions | |
static uint32 | convertTagToUppercase (uint32 tag) |
Public Attributes | |
bool | _isBigEndian |
Protected Types | |
typedef Common::HashMap< uint16, Resource > | ResourceMap |
typedef Common::HashMap< uint32, ResourceMap > | TypeMap |
typedef Common::HashMap< uint32, uint32 > | MovieChunkMap |
Protected Member Functions | |
void | dumpChunk (Resource &res, Common::DumpFile &out) |
Protected Attributes | |
Common::SeekableReadStream * | _stream |
TypeMap | _types |
MovieChunkMap | _movieChunks |
Common::Path | _pathName |