![]() |
TrinityCore
|
Interface class for common access. More...
#include <DBCStore.h>
Inheritance diagram for DBCStorageBase: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, char const *index)=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 const *index, char **&indexTable) |
Protected Attributes | |
| uint32 | _fieldCount |
| char const * | _fileFormat |
| char * | _dataTable |
| std::vector< char * > | _stringPool |
| uint32 | _indexTableSize |
Interface class for common access.
Definition at line 27 of file DBCStore.h.
| DBCStorageBase::DBCStorageBase | ( | char const * | fmt | ) |
Definition at line 21 of file DBCStore.cpp.
|
virtual |
Definition at line 25 of file DBCStore.cpp.
References _dataTable, and _stringPool.
|
inline |
Definition at line 34 of file DBCStore.h.
Referenced by LoadDBC().
|
inline |
Definition at line 33 of file DBCStore.h.
Referenced by LoadDBC().
|
pure virtual |
Implemented in DBCStorage< T >.
Referenced by DBCStorage< T >::Load(), and LoadFromDB().
|
protected |
Definition at line 32 of file DBCStore.cpp.
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 |
Definition at line 72 of file DBCStore.cpp.
References _fileFormat, _indexTableSize, _stringPool, and Load().
|
pure virtual |
Implemented in DBCStorage< T >.
Referenced by DBCStorage< T >::LoadStringsFrom().
|
protected |
Definition at line 54 of file DBCStore.cpp.
References _dataTable, _fileFormat, _stringPool, DBCFileLoader::AutoProduceStrings(), and DBCFileLoader::Load().
|
protected |
Definition at line 47 of file DBCStore.h.
Referenced by Load(), LoadStringsFrom(), and ~DBCStorageBase().
|
protected |
Definition at line 45 of file DBCStore.h.
Referenced by Load().
|
protected |
Definition at line 46 of file DBCStore.h.
Referenced by Load(), LoadFromDB(), and LoadStringsFrom().
|
protected |
Definition at line 49 of file DBCStore.h.
Referenced by DBCStorage< T >::begin(), DBCStorage< T >::end(), DBCStorage< T >::GetNumRows(), Load(), LoadFromDB(), and DBCStorage< T >::LookupEntry().
|
protected |
Definition at line 48 of file DBCStore.h.
Referenced by Load(), LoadFromDB(), LoadStringsFrom(), and ~DBCStorageBase().