Resource::DatabaseDirectoryFiles class

Base classes

class Database

Public types

struct DDFRecordListData

Public static variables

static const uint32_t DATABASE_TYPE
static const uint32_t TYPE

Constructors, destructors, conversion operators

DatabaseDirectoryFiles(const char16_t* location, ICoreAllocator* allocator = nullptr)
~DatabaseDirectoryFiles() virtual
ASSERT_SIZE(DDFRecordListData, 0x28)

Public functions

auto Cast(uint32_t type) const -> void* override
auto Initialize() -> bool override
auto Dispose() -> bool override
auto GetDatabaseType() const -> uint32_t override
auto GetRefCount() const -> int override
auto Lock(bool lock) -> void override
auto Open(IO::AccessFlags desiredAccess = IO::AccessFlags::Read, IO::CD createDisposition = IO::CD::Default, bool arg_8 = false) -> bool override
auto Close() -> bool override
auto GetAccessFlags() const -> IO::AccessFlags override
auto Flush() -> bool override
auto GetLocation() const -> const char16_t* override
auto SetLocation(const char16_t* path) -> bool override
auto GetKeyList(eastl::vector<ResourceKey>& dstVector, IKeyFilter* filter = nullptr) -> size_t override
auto OpenRecord(const ResourceKey& name, IRecord** ppDst, IO::AccessFlags desiredAccess = IO::AccessFlags::Read, IO::CD createDisposition = IO::CD::Default, bool arg_10 = true, RecordInfo* pDstInfo = nullptr) -> bool override
auto GetOpenCount(const ResourceKey& key) -> int override
auto CloseRecord(IRecord* pRecord) -> bool override
auto DeleteRecord(const ResourceKey& name) -> bool override
auto Attach(bool, IResourceManager* pResourceMan, bool) -> bool override
auto GetAllocator() const -> ICoreAllocator* override
auto AddExtensionMapping(const char16_t* extension, uint32_t typeID) -> bool virtual
auto SetFileNameToKeyConverter(FileNameToKeyConverter_t callback) -> void virtual
auto UpdateRecordData(const char16_t*, eastl::vector<ResourceKey>& keys, int) -> int virtual
auto UpdateRecordData2(eastl::vector<ResourceKey>& keys) -> int virtual
auto GetTypeFromTypename(const char16_t* typeName) -> uint32_t virtual
auto GetTypenameFromType(uint32_t typeID) -> const char16_t* virtual
auto GetFileNameFromKey(const ResourceKey& key, char16_t* dst) -> bool virtual
auto GetKeyFromFileName(const char16_t* fileName, ResourceKey& dst) -> bool virtual
auto GetDefaultGroupId() -> uint32_t virtual
auto SetDefaultGroupId(uint32_t groupID) -> void virtual

Public variables

EAIOZoneObject_AMBIGOUS_DECLARATION
bool mIsInitialized
ICoreAllocator* mpAllocator
bool field_14
bool field_15
IO::AccessFlags mAccessFlags
eastl::string16 mLocation
FixedPoolAllocator mExtensionMapAllocator
FixedPoolAllocator mRecordListDataMapAllocator
eastl::map<eastl::string16, uint32_t, eastl::less<eastl::string16>, FixedPoolAllocatorAdapter> mExtensionMap
eastl::map<ResourceKey, int, eastl::less<ResourceKey>, FixedPoolAllocatorAdapter> mRecordListDataMap
uint32_t mDefaultGroupID
IResourceManager* mpResourceManager
FileNameToKeyConverter_t mFileNameToKeyConverter
int field_B8
Mutex mMutex