ScummVM API documentation
Director::Archive Class Referenceabstract
Inheritance diagram for Director::Archive:
Director::MacArchive Director::RIFFArchive Director::RIFXArchive

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::SeekableReadStreamEndiangetResource (uint32 tag, uint16 id)
 
virtual Common::SeekableReadStreamEndiangetFirstResource (uint32 tag)
 
virtual Common::SeekableReadStreamEndiangetFirstResource (uint32 tag, uint16 parentId)
 
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::SeekableReadStreamEndiangetMovieResourceIfPresent (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, ResourceResourceMap
 
typedef Common::HashMap< uint32, ResourceMapTypeMap
 
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
 

The documentation for this class was generated from the following file: