1#ifndef ULT_ARCHIVE_H_INCLUDED
2#define ULT_ARCHIVE_H_INCLUDED
44 const int totalHeaders
56 bool Extract(
int index,
char* location);
60 bool Extract(
const char* fileName,
char* location);
71 bool GetFileData(
int index,
char* buffer,
int bytesToRead);
75 bool GetFileData(
const char* fileName,
char* buffer,
int bytesToRead);
93 std::ifstream mFileStream;
Archive()
Definition Archive.cpp:12
virtual ~Archive()
Definition Archive.cpp:18
bool Extract(int index, char *location)
Definition Archive.cpp:166
bool GetFileData(int index, char *buffer, int bytesToRead)
Definition Archive.cpp:217
bool WriteArchiveFile(const char *fileName, ArchiveFileHeader *headers, const int totalHeaders)
Definition Archive.cpp:74
int GetFileIndex(const char *fileName)
Definition Archive.cpp:208
bool IsArchiveOpen() const
Definition Archive.h:87
int GetTotalHeaders() const
Definition Archive.h:84
void CloseArchive()
Definition Archive.cpp:157
bool ReadArchiveFile(const char *fileName)
Definition Archive.cpp:23
bool GetFileHeaderInfoByIndex(int index, ArchiveFileHeader *fh)
Definition Archive.cpp:235