Worldstone
|
A wrapper to manage MPQ archives. More...
#include <MpqArchive.h>
Public Member Functions | |
MpqArchive (const char *MpqFileName, const char *listFilePath=nullptr) | |
MpqArchive (MpqArchive &&toMove) | |
MpqArchive & | operator= (MpqArchive &&toMove) |
bool | exists (const Path &filePath) override |
StreamPtr | open (const Path &filePath) override |
HANDLE | getInternalHandle () |
void | addListFile (const char *listFilePAth) |
std::vector< Path > | findFiles (const Path &searchMask="*") |
Public Member Functions inherited from WorldStone::Archive | |
Archive (const Archive &)=delete | |
Archive & | operator= (const Archive &)=delete |
virtual bool | isThreadSafe () |
Public Member Functions inherited from WorldStone::IOBase | |
operator bool () const | |
bool | operator! () const |
bool | good () const |
bool | eof () const |
bool | fail () const |
bool | bad () const |
Additional Inherited Members | |
Public Types inherited from WorldStone::IOBase | |
using | Path = std::string |
using | iostate = int |
Protected Member Functions inherited from WorldStone::IOBase | |
void | setstate (iostate state) |
Protected Attributes inherited from WorldStone::IOBase | |
iostate | _state = goodbit |
Static Protected Attributes inherited from WorldStone::IOBase | |
static constexpr iostate | goodbit = 0x0 |
static constexpr iostate | eofbit = 0x1 |
static constexpr iostate | failbit = 0x2 |
static constexpr iostate | badbit = 0x4 |
A wrapper to manage MPQ archives.
Definition at line 17 of file MpqArchive.h.