TrinityCore
Loading...
Searching...
No Matches
Field Class Reference

Class used to access individual fields of database query result. More...

#include <Field.h>

Public Member Functions

 Field ()
 
 ~Field ()
 
bool GetBool () const
 
uint8 GetUInt8 () const
 
int8 GetInt8 () const
 
uint16 GetUInt16 () const
 
int16 GetInt16 () const
 
uint32 GetUInt32 () const
 
int32 GetInt32 () const
 
uint64 GetUInt64 () const
 
int64 GetInt64 () const
 
float GetFloat () const
 
double GetDouble () const
 
SystemTimePoint GetDate () const
 
char const * GetCString () const
 
std::string GetString () const
 
std::string_view GetStringView () const
 
std::vector< uint8 > GetBinary () const
 
template<size_t S>
std::array< uint8, S > GetBinary () const
 
bool IsNull () const
 

Private Member Functions

void SetValue (char const *newValue, uint32 length)
 
void SetMetadata (QueryResultFieldMetadata const *meta)
 
void GetBinarySizeChecked (uint8 *buf, size_t size) const
 

Private Attributes

char const * _value
 
uint32 _length
 
QueryResultFieldMetadata const * _meta
 

Friends

class ResultSet
 
class PreparedResultSet
 

Detailed Description

Class used to access individual fields of database query result.

Guideline on field type matching:

MySQL type method to use
TINYINT GetBool, GetInt8, GetUInt8
SMALLINT GetInt16, GetUInt16
MEDIUMINT, INT GetInt32, GetUInt32
BIGINT GetInt64, GetUInt64
FLOAT GetFloat
DOUBLE, DECIMAL GetDouble
CHAR, VARCHAR, GetCString, GetString
TINYTEXT, MEDIUMTEXT, GetCString, GetString
TEXT, LONGTEXT GetCString, GetString
TINYBLOB, MEDIUMBLOB, GetBinary, GetString
BLOB, LONGBLOB GetBinary, GetString
BINARY, VARBINARY GetBinary

Return types of aggregate functions:

Function Type
MIN, MAX Same as the field
SUM, AVG DECIMAL
COUNT BIGINT

Definition at line 91 of file Field.h.

Constructor & Destructor Documentation

◆ Field()

Field::Field ( )

Definition at line 23 of file Field.cpp.

◆ ~Field()

Field::~Field ( )
default

Member Function Documentation

◆ GetBinary() [1/2]

◆ GetBinary() [2/2]

template<size_t S>
std::array< uint8, S > Field::GetBinary ( ) const
inline

Definition at line 121 of file Field.h.

◆ GetBinarySizeChecked()

void Field::GetBinarySizeChecked ( uint8 *  buf,
size_t  size 
) const
private

Definition at line 160 of file Field.cpp.

References _length, _value, and ASSERT.

◆ GetBool()

◆ GetCString()

◆ GetDate()

SystemTimePoint Field::GetDate ( ) const

◆ GetDouble()

double Field::GetDouble ( ) const

◆ GetFloat()

float Field::GetFloat ( ) const

Definition at line 93 of file Field.cpp.

References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetFloat().

Referenced by Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadHomeBind(), Player::BuildEnumData(), Player::GetZoneIdFromDB(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), npc_commandscript::HandleNpcNearCommand(), tele_commandscript::HandleTeleNameNpcNameCommand(), wp_commandscript::HandleWpEventCommand(), wp_commandscript::HandleWpShowCommand(), WaypointMgr::Load(), ObjectMgr::LoadAreaTriggerTeleports(), BattlegroundMgr::LoadBattlegroundTemplates(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatureClassLevelStats(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), CreatureTextMgr::LoadCreatureTexts(), GameEventMgr::LoadFromDB(), PoolMgr::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadItemTemplates(), lfg::LFGMgr::LoadLFGDungeons(), LootStore::LoadLootTable(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPointsOfInterest(), Player::LoadPositionFromDB(), LoadRandomEnchantmentsTable(), LoadRealmInfo(), ObjectMgr::LoadReputationRewardRate(), ObjectMgr::LoadReputationSpilloverTemplate(), ObjectMgr::LoadScripts(), SystemMgr::LoadScriptSplineChains(), LoadSkillDiscoveryTable(), LoadSkillExtraItemTable(), LoadSkillPerfectItemTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellBonuses(), SpellMgr::LoadSpellEnchantProcData(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellTargetPositions(), SpellMgr::LoadSpellThreats(), ObjectMgr::LoadTempSummons(), ObjectMgr::LoadVehicleSeatAddon(), Quest::Quest(), WaypointMgr::ReloadPath(), and RealmList::UpdateRealms().

◆ GetInt16()

◆ GetInt32()

◆ GetInt64()

◆ GetInt8()

◆ GetString()

std::string Field::GetString ( ) const

Definition at line 125 of file Field.cpp.

References _length, _value, and GetCString().

Referenced by Player::_LoadEquipmentSets(), Player::_LoadMail(), Player::_LoadPetStable(), AccountInfo::AccountInfo(), Guild::AddMember(), Player::BuildEnumData(), InstanceMap::CreateInstanceData(), Player::DeleteFromDB(), character_commandscript::GetDeletedCharacterInfoList(), ban_commandscript::HandleBanListCharacterCommand(), ban_commandscript::HandleBanListHelper(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), WorldSession::HandleCharRenameCallBack(), misc_commandscript::HandleListFreezeCommand(), list_commandscript::HandleListItemCommand(), list_commandscript::HandleListMailCommand(), misc_commandscript::HandlePInfoCommand(), tele_commandscript::HandleTeleNameNpcNameCommand(), WorldSession::HandleWhoIsOpcode(), ObjectMgr::LoadAccessRequirements(), WorldSession::LoadAccountData(), AchievementGlobalMgr::LoadAchievementCriteriaData(), ObjectMgr::LoadAreaTriggerScripts(), ArenaTeam::LoadArenaTeamFromDB(), World::LoadAutobroadcasts(), ObjectMgr::LoadBroadcastTextLocales(), ClientBuild::LoadBuildInfo(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureLocales(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), World::LoadDBVersion(), DisableMgr::LoadDisables(), AddonMgr::LoadFromDB(), CalendarMgr::LoadFromDB(), ChannelMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), Guild::Member::LoadFromDB(), Guild::RankInfo::LoadFromDB(), Guild::BankTab::LoadFromDB(), Guild::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), ObjectMgr::LoadGameObjectLocales(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadItemTemplates(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPageTexts(), Pet::LoadPetFromDB(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadPointsOfInterest(), Player::LoadPositionFromDB(), ObjectMgr::LoadQuestGreetingLocales(), ObjectMgr::LoadQuestGreetings(), ObjectMgr::LoadQuestLocales(), Quest::LoadQuestOfferReward(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestRequestItemsLocale(), LoadRealmInfo(), ObjectMgr::LoadReservedPlayersNames(), AchievementGlobalMgr::LoadRewardLocales(), AchievementGlobalMgr::LoadRewards(), ObjectMgr::LoadSpawnGroupTemplates(), ObjectMgr::LoadSpellScriptNames(), ObjectMgr::LoadTrainers(), WardenCheckMgr::LoadWardenChecks(), lookup_commandscript::LookupPlayerSearchCommand(), Quest::Quest(), UpdateFetcher::ReceiveAppliedFiles(), UpdateFetcher::ReceiveIncludedDirectories(), and RealmList::UpdateRealms().

◆ GetStringView()

◆ GetUInt16()

uint16 Field::GetUInt16 ( ) const

Definition at line 45 of file Field.cpp.

References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt16().

Referenced by Player::_LoadArenaTeamInfo(), Player::_LoadBGData(), Player::_LoadBoundInstances(), Player::_LoadGlyphs(), Player::_LoadHomeBind(), Player::_LoadPetStable(), Player::_LoadQuestStatus(), Player::_LoadSkills(), Player::BuildEnumData(), Player::DeleteFromDB(), Player::GetZoneIdFromDB(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), WorldSession::HandleCharRenameCallBack(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), npc_commandscript::HandleNpcNearCommand(), misc_commandscript::HandlePInfoCommand(), tele_commandscript::HandleTeleNameCommand(), wp_commandscript::HandleWpShowCommand(), ObjectMgr::LoadAccessRequirements(), ObjectMgr::LoadAreaTriggerTeleports(), ArenaTeam::LoadArenaTeamFromDB(), BattlegroundMgr::LoadBattlegroundTemplates(), AchievementGlobalMgr::LoadCompletedAchievements(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatureClassLevelStats(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), DisableMgr::LoadDisables(), GameEventMgr::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), Item::LoadFromDB(), AchievementMgr::LoadFromDB(), ReputationMgr::LoadFromDB(), ObjectMgr::LoadGameObjectOverrides(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenu(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadGraveyardZones(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadInstanceSpawnGroups(), ObjectMgr::LoadInstanceTemplate(), LootStore::LoadLootTable(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadPetLevelInfo(), ObjectMgr::LoadPlayerInfo(), Player::LoadPositionFromDB(), Quest::LoadQuestDetails(), ObjectMgr::LoadQuestGreetings(), Quest::LoadQuestOfferReward(), Quest::LoadQuestRequestItems(), Quest::LoadQuestTemplateAddon(), LoadRealmInfo(), ObjectMgr::LoadReputationSpilloverTemplate(), InstanceSaveManager::LoadResetTimes(), SystemMgr::LoadScriptSplineChains(), LoadSkillDiscoveryTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellTargetPositions(), WardenCheckMgr::LoadWardenChecks(), WardenCheckMgr::LoadWardenOverrides(), Quest::Quest(), and RealmList::UpdateRealms().

◆ GetUInt32()

uint32 Field::GetUInt32 ( ) const

Definition at line 61 of file Field.cpp.

References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt32().

Referenced by Player::_LoadActions(), Player::_LoadArenaTeamInfo(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBGData(), Player::_LoadBoundInstances(), Player::_LoadDailyQuestStatus(), Player::_LoadEquipmentSets(), lfg::LFGMgr::_LoadFromDB(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMail(), Player::_LoadMailedItem(), Player::_LoadMonthlyQuestStatus(), Player::_LoadPetStable(), Player::_LoadQuestStatus(), Player::_LoadQuestStatusRewarded(), Player::_LoadSeasonalQuestStatus(), Player::_LoadWeeklyQuestStatus(), World::_UpdateRealmCharCount(), AccountInfo::AccountInfo(), SecretMgr::AttemptTransition(), World::BanAccount(), Player::BuildEnumData(), CharacterDatabaseCleaner::CheckUnique(), Player::DeleteFromDB(), character_commandscript::GetDeletedCharacterInfoList(), ban_commandscript::HandleBanInfoCharacterCommand(), ban_commandscript::HandleBanListHelper(), WorldSession::HandleCharRaceOrFactionChangeCallback(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListItemCommand(), list_commandscript::HandleListMailCommand(), list_commandscript::HandleListObjectCommand(), misc_commandscript::HandleMuteHistoryHelper(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandleOpenWrappedItemCallback(), misc_commandscript::HandlePInfoCommand(), misc_commandscript::HandlePvPstatsCommand(), wp_commandscript::HandleWpEventCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), AuctionBotSeller::Initialize(), WaypointMgr::Load(), DBCDatabaseLoader::Load(), ObjectMgr::LoadAccessRequirements(), AchievementGlobalMgr::LoadAchievementCriteriaData(), ObjectMgr::LoadAreaTriggerScripts(), ObjectMgr::LoadAreaTriggerTeleports(), ArenaTeam::LoadArenaTeamFromDB(), AuctionHouseMgr::LoadAuctionItems(), AuctionHouseMgr::LoadAuctions(), Guild::LoadBankEventLogFromDB(), BattlegroundMgr::LoadBattlegroundTemplates(), BattlegroundMgr::LoadBattleMastersEntry(), ObjectMgr::LoadBroadcastTextLocales(), ObjectMgr::LoadBroadcastTexts(), ClientBuild::LoadBuildInfo(), ConditionMgr::LoadConditions(), Map::LoadCorpseData(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureClassLevelStats(), ObjectMgr::LoadCreatureDefaultTrainers(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatureLocales(), ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatureQuestItems(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), ObjectMgr::LoadCreatureTemplateAddons(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadCreatureTemplateSpells(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), World::LoadDBVersion(), DisableMgr::LoadDisables(), ObjectMgr::LoadEquipmentTemplates(), ObjectMgr::LoadFactionChangeAchievements(), ObjectMgr::LoadFactionChangeItems(), ObjectMgr::LoadFactionChangeQuests(), ObjectMgr::LoadFactionChangeReputations(), ObjectMgr::LoadFactionChangeSpells(), ObjectMgr::LoadFactionChangeTitles(), ObjectMgr::LoadFishingBaseSkillLevel(), AddonMgr::LoadFromDB(), CalendarMgr::LoadFromDB(), ChannelMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), PoolMgr::LoadFromDB(), QuestPoolMgr::LoadFromDB(), AuctionEntry::LoadFromDB(), Guild::Member::LoadFromDB(), Guild::RankInfo::LoadFromDB(), Guild::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), Item::LoadFromDB(), AchievementMgr::LoadFromDB(), ObjectMgr::LoadGameObjectAddons(), ObjectMgr::LoadGameObjectLocales(), ObjectMgr::LoadGameObjectOverrides(), ObjectMgr::LoadGameObjectQuestItems(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameObjectTemplateAddons(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenu(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadGraveyardZones(), Group::LoadGroupFromDB(), GroupMgr::LoadGroups(), GuildMgr::LoadGuilds(), GameEventMgr::LoadHolidayDates(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadInstanceSpawnGroups(), Guild::BankTab::LoadItemFromDB(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadItemTemplates(), lfg::LFGMgr::LoadLFGDungeons(), ObjectMgr::LoadLinkedRespawn(), LootStore::LoadLootTable(), ObjectMgr::LoadMailLevelRewards(), Guild::LoadMemberFromDB(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPageTexts(), ObjectMgr::LoadPetLevelInfo(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadPetNumber(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPlayerTotemModels(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadQuestAreaTriggers(), ObjectMgr::LoadQuestGreetingLocales(), ObjectMgr::LoadQuestGreetings(), ObjectMgr::LoadQuestLocales(), Quest::LoadQuestMailSender(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestPOI(), Quest::LoadQuestRequestItems(), ObjectMgr::LoadQuestRequestItemsLocale(), ObjectMgr::LoadQuests(), Quest::LoadQuestTemplateAddon(), LoadRandomEnchantmentsTable(), AccountMgr::LoadRBAC(), LoadRealmInfo(), ObjectMgr::LoadReferenceVendor(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadReputationRewardRate(), InstanceSaveManager::LoadResetTimes(), Map::LoadRespawnTimes(), AccountInfo::LoadResult(), AchievementGlobalMgr::LoadRewardLocales(), AchievementGlobalMgr::LoadRewards(), lfg::LFGMgr::LoadRewards(), ObjectMgr::LoadScripts(), SystemMgr::LoadScriptSplineChains(), LoadSkillDiscoveryTable(), LoadSkillExtraItemTable(), LoadSkillPerfectItemTable(), SmartAIMgr::LoadSmartAIFromDB(), ObjectMgr::LoadSpawnGroups(), ObjectMgr::LoadSpawnGroupTemplates(), SpellMgr::LoadSpellAreas(), SpellMgr::LoadSpellBonuses(), SpellMgr::LoadSpellEnchantProcData(), SpellMgr::LoadSpellGroups(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSpells(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), SpellMgr::LoadSpellRequired(), SpellMgr::LoadSpellTargetPositions(), SpellMgr::LoadSpellThreats(), LootItemStorage::LoadStorageFromDB(), ObjectMgr::LoadTavernAreaTriggers(), ObjectMgr::LoadTempSummons(), ObjectMgr::LoadTrainers(), TransportMgr::LoadTransportTemplates(), ObjectMgr::LoadTrinityStrings(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleSeatAddon(), ObjectMgr::LoadVehicleTemplate(), ObjectMgr::LoadVehicleTemplateAccessories(), ObjectMgr::LoadVendors(), WardenCheckMgr::LoadWardenChecks(), ObjectMgr::LoadWaypointScripts(), WeatherMgr::LoadWeatherData(), World::LoadWorldStates(), lookup_commandscript::LookupPlayerSearchCommand(), Quest::Quest(), SpellHistory::PersistenceHelper< Player >::ReadCooldown(), SpellHistory::PersistenceHelper< Pet >::ReadCooldown(), AuthSession::RealmListCallback(), WaypointMgr::ReloadPath(), ObjectMgr::ReturnOrDeleteOldMails(), TransportMgr::SpawnContinentTransports(), and RealmList::UpdateRealms().

◆ GetUInt64()

◆ GetUInt8()

uint8 Field::GetUInt8 ( ) const

Definition at line 29 of file Field.cpp.

References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt8().

Referenced by Player::_LoadActions(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBoundInstances(), Player::_LoadEquipmentSets(), lfg::LFGMgr::_LoadFromDB(), Player::_LoadGlyphs(), Player::_LoadInventory(), Player::_LoadMail(), Player::_LoadQuestStatus(), AccountInfo::AccountInfo(), Player::BuildEnumData(), Player::DeleteFromDB(), WorldSession::HandleCharCustomizeCallback(), gm_commandscript::HandleGMListFullCommand(), list_commandscript::HandleListItemCommand(), list_commandscript::HandleListMailCommand(), misc_commandscript::HandlePInfoCommand(), BattlefieldMgr::InitBattlefield(), GameEventMgr::Initialize(), OutdoorPvPMgr::InitOutdoorPvP(), ObjectMgr::LoadAccessRequirements(), WorldSession::LoadAccountData(), AchievementGlobalMgr::LoadAchievementCriteriaData(), ArenaTeam::LoadArenaTeamFromDB(), World::LoadAutobroadcasts(), Guild::LoadBankEventLogFromDB(), Guild::LoadBankItemFromDB(), Guild::LoadBankTabFromDB(), BattlegroundMgr::LoadBattlegroundTemplates(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureClassLevelStats(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), ObjectMgr::LoadCreatureTemplateAddons(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadCreatureTemplateSpells(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), ObjectMgr::LoadEquipmentTemplates(), ObjectMgr::LoadExplorationBaseXP(), GameEventMgr::LoadFromDB(), QuestPoolMgr::LoadFromDB(), AuctionEntry::LoadFromDB(), EmblemInfo::LoadFromDB(), Guild::RankInfo::LoadFromDB(), Player::LoadFromDB(), SocialMgr::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipText(), GroupMgr::LoadGroups(), GameEventMgr::LoadHolidayDates(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadInstanceSpawnGroups(), Guild::BankTab::LoadItemFromDB(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadLinkedRespawn(), LootStore::LoadLootTable(), ObjectMgr::LoadMailLevelRewards(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadPetLevelInfo(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPlayerTotemModels(), ObjectMgr::LoadQuestGreetingLocales(), ObjectMgr::LoadQuestGreetings(), Quest::LoadQuestTemplateAddon(), LoadRealmInfo(), ObjectMgr::LoadReferenceVendor(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadReputationSpilloverTemplate(), InstanceSaveManager::LoadResetTimes(), lfg::LFGMgr::LoadRewards(), SystemMgr::LoadScriptSplineChains(), LoadSkillExtraItemTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), ObjectMgr::LoadTempSummons(), ObjectMgr::LoadTrainers(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleSeatAddon(), ObjectMgr::LoadVehicleTemplateAccessories(), ObjectMgr::LoadVendors(), WardenCheckMgr::LoadWardenChecks(), WardenCheckMgr::LoadWardenOverrides(), lookup_commandscript::LookupPlayerSearchCommand(), Quest::Quest(), AuthSession::RealmListCallback(), WaypointMgr::ReloadPath(), ObjectMgr::ReturnOrDeleteOldMails(), GameEventMgr::StartArenaSeason(), and RealmList::UpdateRealms().

◆ IsNull()

bool Field::IsNull ( ) const
inline

◆ SetMetadata()

void Field::SetMetadata ( QueryResultFieldMetadata const *  meta)
private

Definition at line 173 of file Field.cpp.

References _meta.

Referenced by ResultSet::ResultSet().

◆ SetValue()

void Field::SetValue ( char const *  newValue,
uint32  length 
)
private

Definition at line 166 of file Field.cpp.

References _length, and _value.

Friends And Related Symbol Documentation

◆ PreparedResultSet

friend class PreparedResultSet
friend

Definition at line 94 of file Field.h.

◆ ResultSet

friend class ResultSet
friend

Definition at line 93 of file Field.h.

Member Data Documentation

◆ _length

◆ _meta

◆ _value


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