ScummVM API documentation
Composer::Archive Class Referenceabstract
Inheritance diagram for Composer::Archive:
Composer::ComposerArchive

Classes

struct  Resource
 

Public Member Functions

bool openFile (const Common::Path &fileName)
 
virtual bool openStream (Common::SeekableReadStream *stream)=0
 
void close ()
 
bool isOpen () const
 
bool hasResource (uint32 tag, uint16 id) const
 
bool hasResource (uint32 tag, const Common::String &resName) const
 
Common::SeekableReadStreamgetResource (uint32 tag, uint16 id)
 
uint32 getResourceFlags (uint32 tag, uint16 id) const
 
uint32 getOffset (uint32 tag, uint16 id) const
 
uint16 findResourceID (uint32 tag, const Common::String &resName) const
 
Common::String getName (uint32 tag, uint16 id) const
 
Common::Array< uint32 > getResourceTypeList () const
 
Common::Array< uint16 > getResourceIDList (uint32 type) const
 

Protected Types

typedef Common::HashMap< uint16, ResourceResourceMap
 
typedef Common::HashMap< uint32, ResourceMapTypeMap
 

Protected Attributes

Common::SeekableReadStream_stream
 
TypeMap _types
 

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