TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DB2StorageBase Class Referenceabstract

Interface class for common access. More...

#include <DB2Store.h>

Public Member Functions

virtual ~DB2StorageBase ()
 
uint32 GetHash () const
 
virtual bool HasRecord (uint32 id) const =0
 
virtual void WriteRecord (uint32 id, uint32 locale, ByteBuffer &buffer) const =0
 
virtual void EraseRecord (uint32 id)=0
 

Protected Attributes

uint32 _tableHash
 

Detailed Description

Interface class for common access.

Constructor & Destructor Documentation

virtual DB2StorageBase::~DB2StorageBase ( )
inlinevirtual
30 { }

Member Function Documentation

virtual void DB2StorageBase::EraseRecord ( uint32  id)
pure virtual

Implemented in DB2Storage< T >.

uint32 DB2StorageBase::GetHash ( ) const
inline
32 { return _tableHash; }
uint32 _tableHash
Definition: DB2Store.h:41

+ Here is the caller graph for this function:

virtual bool DB2StorageBase::HasRecord ( uint32  id) const
pure virtual

Implemented in DB2Storage< T >.

+ Here is the caller graph for this function:

virtual void DB2StorageBase::WriteRecord ( uint32  id,
uint32  locale,
ByteBuffer buffer 
) const
pure virtual

Implemented in DB2Storage< T >.

+ Here is the caller graph for this function:

Member Data Documentation

uint32 DB2StorageBase::_tableHash
protected

The documentation for this class was generated from the following file: