AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "DBCStore.h"
Public Types | |
typedef DBCStorageIterator< T > | iterator |
Public Member Functions | |
DBCStorage (char const *fmt) | |
~DBCStorage () override | |
T const * | LookupEntry (uint32 id) const |
T const * | AssertEntry (uint32 id) const |
void | SetEntry (uint32 id, T *t) |
uint32 | GetNumRows () const |
bool | Load (char const *path) override |
bool | LoadStringsFrom (char const *path) override |
void | LoadFromDB (char const *table, char const *format) override |
iterator | begin () |
iterator | end () |
Public Member Functions inherited from DBCStorageBase | |
DBCStorageBase (char const *fmt) | |
virtual | ~DBCStorageBase () |
char const * | GetFormat () const |
uint32 | GetFieldCount () const |
virtual bool | Load (char const *path)=0 |
virtual bool | LoadStringsFrom (char const *path)=0 |
virtual void | LoadFromDB (char const *table, char const *format)=0 |
Private Member Functions | |
DBCStorage (DBCStorage const &right)=delete | |
DBCStorage & | operator= (DBCStorage const &right)=delete |
Private Attributes | |
union { | |
T ** AsT | |
char ** AsChar | |
} | _indexTable |
Additional Inherited Members | |
Protected Member Functions inherited from DBCStorageBase | |
bool | Load (char const *path, char **&indexTable) |
bool | LoadStringsFrom (char const *path, char **indexTable) |
void | LoadFromDB (char const *table, char const *format, char **&indexTable) |
Protected Attributes inherited from DBCStorageBase | |
uint32 | _fieldCount |
char const * | _fileFormat |
char * | _dataTable |
std::vector< char * > | _stringPool |
uint32 | _indexTableSize |
typedef DBCStorageIterator<T> DBCStorage< T >::iterator |
|
inlineexplicit |
References DBCStorage< T >::_indexTable.
|
inlineoverride |
References DBCStorage< T >::_indexTable.
|
privatedelete |
|
inline |
References ASSERT_NOTNULL, and DBCStorage< T >::LookupEntry().
|
inline |
References DBCStorage< T >::_indexTable, and DBCStorageBase::_indexTableSize.
|
inline |
References DBCStorage< T >::_indexTable, and DBCStorageBase::_indexTableSize.
|
inline |
|
inlineoverridevirtual |
Implements DBCStorageBase.
References DBCStorage< T >::_indexTable, and DBCStorageBase::Load().
Referenced by LoadDBC().
|
inlineoverridevirtual |
Implements DBCStorageBase.
References DBCStorage< T >::_indexTable, and DBCStorageBase::LoadFromDB().
Referenced by LoadDBC().
|
inlineoverridevirtual |
Implements DBCStorageBase.
References DBCStorage< T >::_indexTable, and DBCStorageBase::LoadStringsFrom().
Referenced by LoadDBC().
|
inline |
References DBCStorage< T >::_indexTable, and DBCStorageBase::_indexTableSize.
Referenced by DBCStorage< T >::AssertEntry().
|
privatedelete |
|
inline |
References DBCStorage< T >::_indexTable, and DBCStorageBase::_indexTableSize.
union { ... } DBCStorage< T >::_indexTable |
char** DBCStorage< T >::AsChar |
T** DBCStorage< T >::AsT |