TrinityCore
DB2FileLoader Class Reference

#include <DB2FileLoader.h>

Public Member Functions

 DB2FileLoader ()
 
 DB2FileLoader (DB2FileLoader const &other)=delete
 
 DB2FileLoader (DB2FileLoader &&other) noexcept=delete
 
DB2FileLoaderoperator= (DB2FileLoader const &other)=delete
 
DB2FileLoaderoperator= (DB2FileLoader &&other) noexcept=delete
 
 ~DB2FileLoader ()
 
void LoadHeaders (DB2FileSource *source, DB2FileLoadInfo const *loadInfo)
 
void Load (DB2FileSource *source, DB2FileLoadInfo const *loadInfo)
 
char * AutoProduceData (uint32 &indexTableSize, char **&indexTable)
 
char * AutoProduceStrings (char **indexTable, uint32 indexTableSize, LocaleConstant locale)
 
void AutoProduceRecordCopies (uint32 records, char **indexTable, char *dataTable)
 
uint32 GetCols () const
 
uint32 GetRecordCount () const
 
uint32 GetRecordCopyCount () const
 
uint32 GetTableHash () const
 
uint32 GetLayoutHash () const
 
uint32 GetMinId () const
 
uint32 GetMaxId () const
 
DB2Header const & GetHeader () const
 
DB2SectionHeader const & GetSectionHeader (uint32 section) const
 
DB2Record GetRecord (uint32 recordNumber) const
 
DB2RecordCopy GetRecordCopy (uint32 copyNumber) const
 

Private Attributes

DB2FileLoaderImpl_impl
 
DB2Header _header
 

Detailed Description

Definition at line 189 of file DB2FileLoader.h.

Constructor & Destructor Documentation

◆ DB2FileLoader() [1/3]

DB2FileLoader::DB2FileLoader ( )

Definition at line 1795 of file DB2FileLoader.cpp.

◆ DB2FileLoader() [2/3]

DB2FileLoader::DB2FileLoader ( DB2FileLoader const &  other)
delete

◆ DB2FileLoader() [3/3]

DB2FileLoader::DB2FileLoader ( DB2FileLoader &&  other)
deletenoexcept

◆ ~DB2FileLoader()

DB2FileLoader::~DB2FileLoader ( )

Definition at line 1799 of file DB2FileLoader.cpp.

Member Function Documentation

◆ AutoProduceData()

char * DB2FileLoader::AutoProduceData ( uint32 indexTableSize,
char **&  indexTable 
)

Definition at line 2095 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AutoProduceRecordCopies()

void DB2FileLoader::AutoProduceRecordCopies ( uint32  records,
char **  indexTable,
char *  dataTable 
)

Definition at line 2105 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AutoProduceStrings()

char * DB2FileLoader::AutoProduceStrings ( char **  indexTable,
uint32  indexTableSize,
LocaleConstant  locale 
)

Definition at line 2100 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCols()

uint32 DB2FileLoader::GetCols ( ) const
inline

Definition at line 206 of file DB2FileLoader.h.

+ Here is the caller graph for this function:

◆ GetHeader()

DB2Header const & DB2FileLoader::GetHeader ( ) const
inline

Definition at line 214 of file DB2FileLoader.h.

+ Here is the caller graph for this function:

◆ GetLayoutHash()

uint32 DB2FileLoader::GetLayoutHash ( ) const
inline

Definition at line 210 of file DB2FileLoader.h.

+ Here is the caller graph for this function:

◆ GetMaxId()

uint32 DB2FileLoader::GetMaxId ( ) const

Definition at line 2125 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:

◆ GetMinId()

uint32 DB2FileLoader::GetMinId ( ) const

Definition at line 2120 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRecord()

DB2Record DB2FileLoader::GetRecord ( uint32  recordNumber) const

Definition at line 2135 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRecordCopy()

DB2RecordCopy DB2FileLoader::GetRecordCopy ( uint32  copyNumber) const

Definition at line 2140 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRecordCopyCount()

uint32 DB2FileLoader::GetRecordCopyCount ( ) const

Definition at line 2115 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRecordCount()

uint32 DB2FileLoader::GetRecordCount ( ) const

Definition at line 2110 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSectionHeader()

DB2SectionHeader const & DB2FileLoader::GetSectionHeader ( uint32  section) const

Definition at line 2130 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTableHash()

uint32 DB2FileLoader::GetTableHash ( ) const
inline

Definition at line 209 of file DB2FileLoader.h.

+ Here is the caller graph for this function:

◆ Load()

void DB2FileLoader::Load ( DB2FileSource source,
DB2FileLoadInfo const *  loadInfo 
)

Definition at line 1938 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadHeaders()

void DB2FileLoader::LoadHeaders ( DB2FileSource source,
DB2FileLoadInfo const *  loadInfo 
)

Definition at line 1804 of file DB2FileLoader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

DB2FileLoader & DB2FileLoader::operator= ( DB2FileLoader &&  other)
deletenoexcept

◆ operator=() [2/2]

DB2FileLoader & DB2FileLoader::operator= ( DB2FileLoader const &  other)
delete

Member Data Documentation

◆ _header

DB2Header DB2FileLoader::_header
private

Definition at line 221 of file DB2FileLoader.h.

◆ _impl

DB2FileLoaderImpl* DB2FileLoader::_impl
private

Definition at line 220 of file DB2FileLoader.h.


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