#include <datafile.h>
|
| CDataFileReader () |
|
| ~CDataFileReader () |
|
CDataFileReader & | operator= (CDataFileReader &&Other) |
|
bool | Open (class IStorage *pStorage, const char *pFilename, int StorageType) |
|
bool | Close () |
|
bool | IsOpen () const |
|
IOHANDLE | File () const |
|
int | GetDataSize (int Index) const |
|
void * | GetData (int Index) |
|
void * | GetDataSwapped (int Index) |
|
const char * | GetDataString (int Index) |
|
void | ReplaceData (int Index, char *pData, size_t Size) |
|
void | UnloadData (int Index) |
|
int | NumData () const |
|
int | GetItemSize (int Index) const |
|
void * | GetItem (int Index, int *pType=nullptr, int *pId=nullptr, CUuid *pUuid=nullptr) |
|
void | GetType (int Type, int *pStart, int *pNum) |
|
int | FindItemIndex (int Type, int Id) |
|
void * | FindItem (int Type, int Id) |
|
int | NumItems () const |
|
SHA256_DIGEST | Sha256 () const |
|
unsigned | Crc () const |
|
int | MapSize () const |
|
◆ CDataFileReader()
CDataFileReader::CDataFileReader |
( |
| ) |
|
|
inline |
◆ ~CDataFileReader()
CDataFileReader::~CDataFileReader |
( |
| ) |
|
|
inline |
◆ Close()
bool CDataFileReader::Close |
( |
| ) |
|
◆ Crc()
unsigned CDataFileReader::Crc |
( |
| ) |
const |
◆ File()
IOHANDLE CDataFileReader::File |
( |
| ) |
const |
◆ FindItem()
void * CDataFileReader::FindItem |
( |
int |
Type, |
|
|
int |
Id |
|
) |
| |
◆ FindItemIndex()
int CDataFileReader::FindItemIndex |
( |
int |
Type, |
|
|
int |
Id |
|
) |
| |
◆ GetData()
void * CDataFileReader::GetData |
( |
int |
Index | ) |
|
◆ GetDataImpl()
void * CDataFileReader::GetDataImpl |
( |
int |
Index, |
|
|
bool |
Swap |
|
) |
| |
|
private |
◆ GetDataSize()
int CDataFileReader::GetDataSize |
( |
int |
Index | ) |
const |
◆ GetDataString()
const char * CDataFileReader::GetDataString |
( |
int |
Index | ) |
|
◆ GetDataSwapped()
void * CDataFileReader::GetDataSwapped |
( |
int |
Index | ) |
|
◆ GetExternalItemType()
int CDataFileReader::GetExternalItemType |
( |
int |
InternalType, |
|
|
CUuid * |
pUuid |
|
) |
| |
|
private |
◆ GetFileDataSize()
int CDataFileReader::GetFileDataSize |
( |
int |
Index | ) |
const |
|
private |
◆ GetInternalItemType()
int CDataFileReader::GetInternalItemType |
( |
int |
ExternalType | ) |
|
|
private |
◆ GetItem()
void * CDataFileReader::GetItem |
( |
int |
Index, |
|
|
int * |
pType = nullptr , |
|
|
int * |
pId = nullptr , |
|
|
CUuid * |
pUuid = nullptr |
|
) |
| |
◆ GetItemSize()
int CDataFileReader::GetItemSize |
( |
int |
Index | ) |
const |
◆ GetType()
void CDataFileReader::GetType |
( |
int |
Type, |
|
|
int * |
pStart, |
|
|
int * |
pNum |
|
) |
| |
◆ IsOpen()
bool CDataFileReader::IsOpen |
( |
| ) |
const |
|
inline |
◆ MapSize()
int CDataFileReader::MapSize |
( |
| ) |
const |
◆ NumData()
int CDataFileReader::NumData |
( |
| ) |
const |
◆ NumItems()
int CDataFileReader::NumItems |
( |
| ) |
const |
◆ Open()
bool CDataFileReader::Open |
( |
class IStorage * |
pStorage, |
|
|
const char * |
pFilename, |
|
|
int |
StorageType |
|
) |
| |
◆ operator=()
◆ ReplaceData()
void CDataFileReader::ReplaceData |
( |
int |
Index, |
|
|
char * |
pData, |
|
|
size_t |
Size |
|
) |
| |
◆ Sha256()
◆ UnloadData()
void CDataFileReader::UnloadData |
( |
int |
Index | ) |
|
◆ m_pDataFile
struct CDatafile* CDataFileReader::m_pDataFile |
|
private |
The documentation for this class was generated from the following files: