#include <C4Group.h>
Public Types | |
enum | EntryStatus { C4GRES_InGroup , C4GRES_OnDisk , C4GRES_InMemory , C4GRES_Deleted } |
Public Member Functions | |
~C4GroupEntry () | |
void | Set (const DirectoryIterator &directories, const char *path) |
Public Attributes | |
char | DiskPath [_MAX_PATH_LEN] = { 0 } |
EntryStatus | Status = C4GRES_InGroup |
bool | DeleteOnDisk = false |
bool | HoldBuffer = false |
bool | BufferIsStdbuf = false |
bool | NoSort = false |
BYTE * | MemoryBuffer = nullptr |
C4GroupEntry * | Next = nullptr |
char | FileName [260] = { 0 } |
int32_t | Packed = 0 |
int32_t | ChildGroup = 0 |
int32_t | Size = 0 |
int32_t | Offset = 0 |
int32_t | Reserved1 = 0 |
int32_t | Reserved2 = 0 |
char | Reserved3 = '\0' |
unsigned int | Reserved4 = 0 |
char | Executable = '\0' |
BYTE | Buffer [26] = { 0 } |
C4GroupEntry::~C4GroupEntry | ( | ) |
Definition at line 596 of file C4Group.cpp.
References BufferIsStdbuf, StdBuf::DeletePointer(), HoldBuffer, and MemoryBuffer.
void C4GroupEntry::Set | ( | const DirectoryIterator & | directories, |
const char * | path | ||
) |
Definition at line 608 of file C4Group.cpp.
References _MAX_FNAME, _MAX_PATH, C4GRES_OnDisk, C4GroupEntryCore::ChildGroup, DiskPath, C4GroupEntryCore::FileName, GetFilename(), DirectoryIterator::GetFileSize(), InplaceReconstruct(), C4GroupEntryCore::Packed, SCopy(), C4GroupEntryCore::Size, and Status.
bool C4GroupEntry::BufferIsStdbuf = false |
Definition at line 127 of file C4Group.h.
Referenced by ~C4GroupEntry().
|
inherited |
Definition at line 96 of file C4Group.h.
Referenced by C4Group::Delete(), C4Group::ExtractEntry(), C4Group::OpenAsChild(), and Set().
bool C4GroupEntry::DeleteOnDisk = false |
Definition at line 125 of file C4Group.h.
Referenced by C4Group::DeleteEntry().
char C4GroupEntry::DiskPath[_MAX_PATH_LEN] = { 0 } |
Definition at line 123 of file C4Group.h.
Referenced by C4Group::DeleteEntry(), and Set().
|
inherited |
Definition at line 103 of file C4Group.h.
Referenced by C4Group::ExtractEntry(), C4Group::OpenAsChild(), C4GroupEx::SaveEntryCore(), and C4GroupEx::SetSavedEntryCore().
|
inherited |
Definition at line 94 of file C4Group.h.
Referenced by C4Group::Delete(), C4Group::Extract(), C4Group::FindNextEntry(), C4Group::OpenAsChild(), C4Group::PreCacheEntries(), C4Group::Rename(), Set(), and C4Group::Sort().
bool C4GroupEntry::HoldBuffer = false |
Definition at line 126 of file C4Group.h.
Referenced by ~C4GroupEntry().
BYTE* C4GroupEntry::MemoryBuffer = nullptr |
Definition at line 129 of file C4Group.h.
Referenced by ~C4GroupEntry().
C4GroupEntry* C4GroupEntry::Next = nullptr |
Definition at line 130 of file C4Group.h.
Referenced by DisplayGroup(), C4Group::PreCacheEntries(), PrintGroupInternals(), and C4Group::Sort().
bool C4GroupEntry::NoSort = false |
Definition at line 128 of file C4Group.h.
Referenced by C4GroupEx::SetNoSort().
|
inherited |
Definition at line 98 of file C4Group.h.
Referenced by C4Group::OpenAsChild(), and C4Group::Save().
|
inherited |
|
inherited |
Definition at line 97 of file C4Group.h.
Referenced by C4Group::EntrySize(), C4Group::Extract(), C4Group::FindNextEntry(), C4Group::OpenAsChild(), C4Group::Save(), and Set().
EntryStatus C4GroupEntry::Status = C4GRES_InGroup |
Definition at line 124 of file C4Group.h.
Referenced by C4Group::DeleteEntry(), and Set().