22 #ifndef ULTIMA8_FILESYS_ARCHIVE_H 23 #define ULTIMA8_FILESYS_ARCHIVE_H 54 virtual void cache(uint32 index) = 0;
63 virtual void uncache(uint32 index) = 0;
66 virtual bool isCached(uint32 index)
const = 0;
68 uint32 getCount()
const {
75 uint8 *getRawObject(uint32 index, uint32 *sizep = 0);
76 uint32 getRawSize(uint32 index)
const;
81 FlexFile *findArchiveFile(uint32 index)
const;
void cache()
Cache all objects.
Definition: flex_file.h:28
Archive()
create Archive without any input sources
Definition: detection.h:27
bool addSource(FlexFile *af)
virtual bool isCached(uint32 index) const =0
Check if an object is cached.
Definition: containers.h:38