![]() |
TrinityCore
|
#include <DB2FileLoader.h>
Inheritance diagram for DB2FileLoadInfo:Public Member Functions | |
| constexpr | DB2FileLoadInfo (DB2FieldMeta const *fields, std::size_t fieldCount, DB2Meta const *meta) |
| uint32 | GetStringFieldCount (bool localizedOnly) const |
| std::pair< int32, int32 > | GetFieldIndexByName (char const *fieldName) const |
| int32 | GetFieldIndexByMetaIndex (uint32 metaIndex) const |
Public Attributes | |
| DB2FieldMeta const * | Fields |
| std::size_t | FieldCount |
| DB2Meta const * | Meta |
Definition at line 80 of file DB2FileLoader.h.
|
inlineexplicitconstexpr |
Definition at line 82 of file DB2FileLoader.h.
Definition at line 148 of file DB2FileLoader.cpp.
References DB2MetaField::ArraySize, ASSERT, FieldCount, DB2Meta::Fields, DB2Meta::HasIndexFieldInData(), and Meta.
Referenced by DB2FileLoaderRegularImpl::FillParentLookup(), and DB2FileLoaderSparseImpl::FillParentLookup().
Definition at line 131 of file DB2FileLoader.cpp.
References DB2MetaField::ArraySize, DB2Meta::FieldCount, Fields, DB2Meta::Fields, DB2Meta::HasIndexFieldInData(), Meta, and Name.
Referenced by DB2Record::GetFloat(), DB2Record::GetInt32(), DB2Record::GetString(), DB2Record::GetUInt16(), DB2Record::GetUInt32(), DB2Record::GetUInt64(), and DB2Record::GetUInt8().
| uint32 DB2FileLoadInfo::GetStringFieldCount | ( | bool | localizedOnly | ) | const |
Definition at line 121 of file DB2FileLoader.cpp.
References FieldCount, Fields, FT_STRING, and FT_STRING_NOT_LOCALIZED.
Referenced by DB2FileLoaderRegularImpl::AutoProduceStrings(), DB2FileLoaderSparseImpl::AutoProduceStrings(), DB2DatabaseLoader::Load(), DB2DatabaseLoader::LoadStrings(), DB2StorageBase::LoadStringsFrom(), and DB2StorageBase::LoadStringsFromDB().
| std::size_t DB2FileLoadInfo::FieldCount |
Definition at line 90 of file DB2FileLoader.h.
Referenced by GetFieldIndexByMetaIndex(), GetStringFieldCount(), LoadDB2(), DB2FileLoaderSparseImpl::RecordCopyDetachedFieldOffsets(), and DB2FileLoaderSparseImpl::RecordCreateDetachedFieldOffsets().
| DB2FieldMeta const* DB2FileLoadInfo::Fields |
Definition at line 89 of file DB2FileLoader.h.
Referenced by DB2FileLoaderRegularImpl::AutoProduceData(), DB2FileLoaderSparseImpl::AutoProduceData(), DB2FileLoaderRegularImpl::AutoProduceStrings(), DB2FileLoaderSparseImpl::AutoProduceStrings(), DB2FileLoaderRegularImpl::FillParentLookup(), DB2FileLoaderSparseImpl::FillParentLookup(), GetFieldIndexByName(), GetStringFieldCount(), DB2DatabaseLoader::Load(), DB2FileLoader::Load(), LoadDB2(), and DB2DatabaseLoader::LoadStrings().
| DB2Meta const* DB2FileLoadInfo::Meta |
Definition at line 91 of file DB2FileLoader.h.
Referenced by DB2FileLoaderRegularImpl::AutoProduceData(), DB2FileLoaderSparseImpl::AutoProduceData(), DB2FileLoaderRegularImpl::AutoProduceRecordCopies(), DB2FileLoaderSparseImpl::AutoProduceRecordCopies(), DB2FileLoaderRegularImpl::AutoProduceStrings(), DB2FileLoaderSparseImpl::AutoProduceStrings(), DB2FileLoaderSparseImpl::CalculateAndStoreFieldOffsets(), DB2FileLoaderRegularImpl::FillParentLookup(), DB2FileLoaderSparseImpl::FillParentLookup(), GetFieldIndexByMetaIndex(), GetFieldIndexByName(), DB2DatabaseLoader::Load(), DB2FileLoader::Load(), LoadDB2(), DB2FileLoader::LoadHeaders(), DB2DatabaseLoader::LoadStrings(), DB2FileLoaderSparseImpl::RecordCopyDetachedFieldOffsets(), DB2FileLoaderSparseImpl::RecordCreateDetachedFieldOffsets(), DB2FileLoaderRegularImpl::RecordGetId(), DB2FileLoaderSparseImpl::RecordGetId(), and DB2StorageBase::WriteRecord().