AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Interface class for common access. More...
#include "DBCStore.h"
Public Member Functions | |
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 |
Protected Member Functions | |
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 | |
uint32 | _fieldCount |
char const * | _fileFormat |
char * | _dataTable |
std::vector< char * > | _stringPool |
uint32 | _indexTableSize |
Interface class for common access.
DBCStorageBase::DBCStorageBase | ( | char const * | fmt | ) |
|
virtual |
References _dataTable, and _stringPool.
|
inline |
|
inline |
|
pure virtual |
Implemented in DBCStorage< T >.
Referenced by DBCStorage< T >::Load(), and LoadFromDB().
|
protected |
References _dataTable, _fieldCount, _fileFormat, _indexTableSize, _stringPool, DBCFileLoader::AutoProduceData(), DBCFileLoader::AutoProduceStrings(), DBCFileLoader::GetCols(), and DBCFileLoader::Load().
|
pure virtual |
Implemented in DBCStorage< T >.
Referenced by DBCStorage< T >::LoadFromDB().
|
protected |
References _indexTableSize, _stringPool, and Load().
|
pure virtual |
Implemented in DBCStorage< T >.
Referenced by DBCStorage< T >::LoadStringsFrom().
|
protected |
References _dataTable, _fileFormat, _stringPool, DBCFileLoader::AutoProduceStrings(), and DBCFileLoader::Load().
|
protected |
Referenced by Load(), LoadStringsFrom(), and ~DBCStorageBase().
|
protected |
Referenced by GetFieldCount(), and Load().
|
protected |
Referenced by GetFormat(), Load(), and LoadStringsFrom().
|
protected |
|
protected |
Referenced by Load(), LoadFromDB(), LoadStringsFrom(), and ~DBCStorageBase().