#include <ghost.h>
|
| CGhostLoader () |
|
void | Init () |
|
bool | Load (const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc) override |
|
void | Close () override |
|
const CGhostInfo * | GetInfo () const override |
|
bool | ReadNextType (int *pType) override |
|
bool | ReadData (int Type, void *pData, size_t Size) override |
|
bool | GetGhostInfo (const char *pFilename, CGhostInfo *pGhostInfo, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc) override |
|
virtual | ~IGhostLoader () |
|
virtual bool | Load (const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc)=0 |
|
virtual void | Close ()=0 |
|
virtual const CGhostInfo * | GetInfo () const =0 |
|
virtual bool | ReadNextType (int *pType)=0 |
|
virtual bool | ReadData (int Type, void *pData, size_t Size)=0 |
|
virtual bool | GetGhostInfo (const char *pFilename, CGhostInfo *pInfo, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc)=0 |
|
| IInterface () |
|
virtual void | Shutdown () |
|
virtual | ~IInterface () |
|
|
void | ResetBuffer () |
|
IOHANDLE | ReadHeader (CGhostHeader &Header, const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc, bool LogMapMismatch) const |
|
bool | ValidateHeader (const CGhostHeader &Header, const char *pFilename) const |
|
bool | CheckHeaderMap (const CGhostHeader &Header, const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, unsigned MapCrc, bool LogMapMismatch) const |
|
bool | ReadChunk (int *pType) |
|
◆ CGhostLoader()
CGhostLoader::CGhostLoader |
( |
| ) |
|
◆ CheckHeaderMap()
bool CGhostLoader::CheckHeaderMap |
( |
const CGhostHeader & |
Header, |
|
|
const char * |
pFilename, |
|
|
const char * |
pMap, |
|
|
const SHA256_DIGEST & |
MapSha256, |
|
|
unsigned |
MapCrc, |
|
|
bool |
LogMapMismatch |
|
) |
| const |
|
private |
◆ Close()
void CGhostLoader::Close |
( |
| ) |
|
|
overridevirtual |
◆ GetGhostInfo()
bool CGhostLoader::GetGhostInfo |
( |
const char * |
pFilename, |
|
|
CGhostInfo * |
pGhostInfo, |
|
|
const char * |
pMap, |
|
|
const SHA256_DIGEST & |
MapSha256, |
|
|
unsigned |
MapCrc |
|
) |
| |
|
overridevirtual |
◆ GetInfo()
const CGhostInfo * CGhostLoader::GetInfo |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Init()
void CGhostLoader::Init |
( |
| ) |
|
◆ Load()
bool CGhostLoader::Load |
( |
const char * |
pFilename, |
|
|
const char * |
pMap, |
|
|
const SHA256_DIGEST & |
MapSha256, |
|
|
unsigned |
MapCrc |
|
) |
| |
|
overridevirtual |
◆ ReadChunk()
bool CGhostLoader::ReadChunk |
( |
int * |
pType | ) |
|
|
private |
◆ ReadData()
bool CGhostLoader::ReadData |
( |
int |
Type, |
|
|
void * |
pData, |
|
|
size_t |
Size |
|
) |
| |
|
overridevirtual |
◆ ReadHeader()
IOHANDLE CGhostLoader::ReadHeader |
( |
CGhostHeader & |
Header, |
|
|
const char * |
pFilename, |
|
|
const char * |
pMap, |
|
|
const SHA256_DIGEST & |
MapSha256, |
|
|
unsigned |
MapCrc, |
|
|
bool |
LogMapMismatch |
|
) |
| const |
|
private |
◆ ReadNextType()
bool CGhostLoader::ReadNextType |
( |
int * |
pType | ) |
|
|
overridevirtual |
◆ ResetBuffer()
void CGhostLoader::ResetBuffer |
( |
| ) |
|
|
private |
◆ ValidateHeader()
bool CGhostLoader::ValidateHeader |
( |
const CGhostHeader & |
Header, |
|
|
const char * |
pFilename |
|
) |
| const |
|
private |
◆ m_aBuffer
◆ m_aBufferTemp
◆ m_aFilename
◆ m_BufferCurItem
int CGhostLoader::m_BufferCurItem |
|
private |
◆ m_BufferNumItems
int CGhostLoader::m_BufferNumItems |
|
private |
◆ m_BufferPrevItem
int CGhostLoader::m_BufferPrevItem |
|
private |
◆ m_File
◆ m_Header
◆ m_Info
◆ m_LastItem
◆ m_pBufferEnd
const char* CGhostLoader::m_pBufferEnd |
|
private |
◆ m_pBufferPos
char* CGhostLoader::m_pBufferPos |
|
private |
◆ m_pStorage
class IStorage* CGhostLoader::m_pStorage |
|
private |
The documentation for this class was generated from the following files: