![]() |
TrinityCore
|
#include <DB2Store.h>
Public Types | |
using | iterator = DBStorageIterator< T const * > |
Public Member Functions | |
T const * | LookupEntry (uint32 id) const |
T const * | AssertEntry (uint32 id) const |
iterator | begin () const |
iterator | end () const |
DB2StorageBase (char const *fileName, DB2LoadInfo const *loadInfo) | |
DB2StorageBase (DB2StorageBase const &)=delete | |
DB2StorageBase (DB2StorageBase &&)=delete | |
![]() | |
DB2StorageBase (char const *fileName, DB2LoadInfo const *loadInfo) | |
DB2StorageBase (DB2StorageBase const &)=delete | |
DB2StorageBase (DB2StorageBase &&)=delete | |
DB2StorageBase & | operator= (DB2StorageBase const &)=delete |
DB2StorageBase & | operator= (DB2StorageBase &&)=delete |
~DB2StorageBase () | |
uint32 | GetTableHash () const |
uint32 | GetLayoutHash () const |
bool | HasRecord (uint32 id) const |
void | WriteRecord (uint32 id, LocaleConstant locale, ByteBuffer &buffer) const |
void | EraseRecord (uint32 id) |
std::string const & | GetFileName () const |
uint32 | GetFieldCount () const |
DB2LoadInfo const * | GetLoadInfo () const |
uint32 | GetNumRows () const |
void | Load (std::string const &path, LocaleConstant locale) |
void | LoadStringsFrom (std::string const &path, LocaleConstant locale) |
void | LoadFromDB () |
void | LoadStringsFromDB (LocaleConstant locale) |
Additional Inherited Members | |
![]() | |
uint32 | _tableHash |
uint32 | _layoutHash |
std::string | _fileName |
uint32 | _fieldCount |
DB2LoadInfo const * | _loadInfo |
char * | _dataTable |
char * | _dataTableEx [2] |
std::vector< char * > | _stringPool |
char ** | _indexTable |
uint32 | _indexTableSize |
uint32 | _minId |
Definition at line 74 of file DB2Store.h.
using DB2Storage< T >::iterator = DBStorageIterator<T const*> |
Definition at line 79 of file DB2Store.h.
|
inline |
|
inline |
Definition at line 86 of file DB2Store.h.
DB2StorageBase::DB2StorageBase | ( | char const * | fileName, |
DB2LoadInfo const * | loadInfo | ||
) |
Definition at line 33 of file DB2Store.cpp.
|
delete |
|
delete |
|
inline |
Definition at line 87 of file DB2Store.h.
|
inline |