EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DBResultRow Class Reference

#include "dbcore.h"

Collaboration diagram for DBResultRow:

Public Member Functions

 DBResultRow ()
 
 ~DBResultRow ()
 
bool IsNull (uint32 index) const
 
const char * GetText (uint32 index) const
 
int32 GetInt (uint32 index) const
 
bool GetBool (uint32 index) const
 
uint32 GetUInt (uint32 index) const
 
int64 GetInt64 (uint32 index) const
 
float GetFloat (uint32 index) const
 
double GetDouble (uint32 index) const
 
uint32 ColumnCount () const
 
const char * ColumnName (uint32 index) const
 
DBTYPE ColumnType (uint32 index) const
 
uint32 ColumnLength (uint32 index) const
 
bool IsUnsigned (uint32 index) const
 
bool IsBinary (uint32 index) const
 

Protected Member Functions

void SetData (DBQueryResult *res, MYSQL_ROW &row, const ulong *lengths)
 

Protected Attributes

MYSQL_ROW mRow
 
const ulong * mLengths
 
DBQueryResultmResult
 

Friends

class DBQueryResult
 

Detailed Description

Definition at line 96 of file dbcore.h.

Constructor & Destructor Documentation

DBResultRow::DBResultRow ( )

Definition at line 610 of file dbcore.cpp.

611 : mRow( nullptr ),
612 mLengths( nullptr ),
613 mResult( nullptr )
614 {
615 }
MYSQL_ROW mRow
Definition: dbcore.h:126
DBQueryResult * mResult
Definition: dbcore.h:129
const ulong * mLengths
Definition: dbcore.h:127
DBResultRow::~DBResultRow ( )
inline

Definition at line 100 of file dbcore.h.

100 { /* do nothing here */ }

Member Function Documentation

uint32 DBResultRow::ColumnCount ( ) const
inline

Definition at line 113 of file dbcore.h.

References DBQueryResult::ColumnCount(), and mResult.

Referenced by DBRowDescriptor::DBRowDescriptor(), DBRowToKeyVal(), DBRowToRow(), and FillPackedRow().

113 { return mResult->ColumnCount(); }
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 DBResultRow::ColumnLength ( uint32  index) const

Definition at line 624 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mLengths, mResult, and EvE::traceStack().

Referenced by DBColumnToPyRep(), LiveUpdateDB::GenerateUpdates(), and MailDB::GetMailBody().

625 {
626  if (index >= mResult->ColumnCount()) {
627  _log(DATABASE__ERROR, " DBCore::GetColumnLength: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
628  EvE::traceStack();
629  return 0;
630  }
631 
632  return mLengths[ index ];
633 }
#define _log(type, fmt,...)
Definition: logsys.h:124
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
const ulong * mLengths
Definition: dbcore.h:127
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

Here is the caller graph for this function:

const char* DBResultRow::ColumnName ( uint32  index) const
inline

Definition at line 114 of file dbcore.h.

References DBQueryResult::ColumnName(), and mResult.

Referenced by DBRowDescriptor::DBRowDescriptor(), DBRowToKeyVal(), and DBRowToRow().

114 { return mResult->ColumnName( index ); }
DBQueryResult * mResult
Definition: dbcore.h:129
const char * ColumnName(uint32 index) const
Definition: dbcore.cpp:569

Here is the call graph for this function:

Here is the caller graph for this function:

DBTYPE DBResultRow::ColumnType ( uint32  index) const
inline

Definition at line 115 of file dbcore.h.

References DBQueryResult::ColumnType(), and mResult.

Referenced by DBColumnToPyRep(), and DBRowDescriptor::DBRowDescriptor().

115 { return mResult->ColumnType( index ); }
DBQueryResult * mResult
Definition: dbcore.h:129
DBTYPE ColumnType(uint32 index) const
Definition: dbcore.cpp:580

Here is the call graph for this function:

Here is the caller graph for this function:

bool DBResultRow::GetBool ( uint32  index) const

Definition at line 647 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mResult, mRow, and EvE::traceStack().

Referenced by PIDataMgr::_Populate(), DBColumnToPyRep(), FactoryDB::GetBlueprint(), LSCDB::GetChannelInformation(), APICharacterDB::GetCharacterSkillsTrained(), PosMgrDB::GetCustomsData(), CalendarDB::GetEventList(), MarketDB::GetMarketGroups(), StationDB::GetOfficeData(), MarketDB::GetOrderInfo(), InventoryDB::GetSolarSystem(), AgentDB::LoadAgentData(), CertificateMgrDB::LoadCertificates(), FxDataMgr::Populate(), MissionDataMgr::Populate(), StationDataMgr::Populate(), and StaticDataMgr::Populate().

648 {
649  if (index >= mResult->ColumnCount()) {
650  _log(DATABASE__ERROR, " DBCore::GetBool: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
651  EvE::traceStack();
652  return false;
653  }
654 
655  return (mRow[index][0] != 0);
656 }
#define _log(type, fmt,...)
Definition: logsys.h:124
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

Here is the caller graph for this function:

double DBResultRow::GetDouble ( uint32  index) const

Definition at line 693 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mResult, mRow, and EvE::traceStack().

Referenced by CorporationDB::CreateCorporationChangePacket(), CorporationDB::CreateCorporationCreatePacket(), DBColumnToPyRep(), ManagerDB::GetAsteroidData(), SystemDB::GetBelts(), BookmarkDB::GetBookmarkInformation(), InventoryDB::GetCelestialObject(), SystemDB::GetCelestialRadius(), InventoryDB::GetCharacterData(), CorporationDB::GetCloneTypeCostByID(), AccountDB::GetCorpBalance(), InventoryDB::GetCorpData(), CorporationDB::GetCorpData(), SystemDB::GetGates(), ItemDB::GetItem(), SystemDB::GetItemTypeRadius(), PlanetDB::GetLaunchDetails(), PlanetDB::GetLaunchPos(), SystemDB::GetMoons(), FactoryDB::GetMultipliers(), SystemDB::GetPlanets(), InventoryDB::GetSolarSystem(), AccountDB::GetWalletDivisionsInfo(), CommandDB::ItemSearch(), AttributeMap::Load(), AccountDB::OfflineFundXfer(), StationDataMgr::Populate(), StaticDataMgr::Populate(), and CorporationDB::UpdateCorporation().

694 {
695  if (index >= mResult->ColumnCount()) {
696  _log(DATABASE__ERROR, " DBCore::GetDouble: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
697  EvE::traceStack();
698  return 0.0;
699  }
700 
701  return strtod( mRow[index], nullptr );
702 }
#define _log(type, fmt,...)
Definition: logsys.h:124
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

Here is the caller graph for this function:

float DBResultRow::GetFloat ( uint32  index) const

Definition at line 682 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mResult, mRow, strtof(), and EvE::traceStack().

Referenced by StatisticMgr::CompileData(), FactoryDB::GetAssemblyLineProperties(), FactoryDB::GetAssemblyLineRestrictions(), BookmarkDB::GetBookmarks(), APICharacterDB::GetCharacterAttributes(), APICharacterDB::GetCharacterSkillQueue(), APICharacterDB::GetCharacterSkillsTrained(), CharacterDB::GetCorpTaxRate(), MarketDB::GetCruPriceAvg(), PosMgrDB::GetCustomsData(), PlanetSE::GetExtractorsForPlanet(), MarketDB::GetMaterialPrices(), MarketDB::GetMineralPrices(), MarketDB::GetOrderInfo(), ShipDB::GetShipInsurancePayout(), StandingDB::GetStanding(), PosMgrDB::GetTowerData(), BookmarkDB::GetVoucherData(), FxDataMgr::Populate(), MissionDataMgr::Populate(), StationDataMgr::Populate(), and StaticDataMgr::Populate().

683 {
684  if (index >= mResult->ColumnCount()) {
685  _log(DATABASE__ERROR, " DBCore::GetFloat: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
686  EvE::traceStack();
687  return 0.0f;
688  }
689 
690  return strtof( mRow[index], nullptr );
691 }
#define _log(type, fmt,...)
Definition: logsys.h:124
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
float strtof(const char *nptr, char **endptr)
Definition: eve-compat.cpp:176
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

Here is the caller graph for this function:

int32 DBResultRow::GetInt ( uint32  index) const

Definition at line 635 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mResult, mRow, and EvE::traceStack().

Referenced by PlanetDataMgr::_Populate(), PIDataMgr::_Populate(), StatisticMgr::CompileData(), AllianceDB::CreateAllianceChangePacket(), CorporationDB::CreateCorporationChangePacket(), MailDB::CreateLabel(), CorporationDB::CreateMemberAttributeUpdate(), DBColumnToPyRep(), DBResultToIntIntDict(), DBResultToIntIntlistDict(), DBResultToIntRowDict(), CorporationDB::Fetch(), CommandDB::FullSkillList(), CommandDB::GetAccountID(), ServiceDB::GetAccountInformation(), FactoryDB::GetAssemblyLineProperties(), ManagerDB::GetAsteroidData(), PosMgrDB::GetBaseData(), FactoryDB::GetBlueprint(), BookmarkDB::GetBookmarkByFolderID(), BookmarkDB::GetBookmarks(), BookmarkDB::GetBookmarksInFolder(), PosMgrDB::GetBridgeData(), CharacterDB::GetCareerBySchool(), LSCDB::GetChannelID(), LSCDB::GetChannelIDFromComparisonKey(), LSCDB::GetChannelSubscriptions(), CharacterDB::GetCharacterData(), InventoryDB::GetCharacterData(), InventoryDB::GetCorpData(), CorporationDB::GetCorpIDforChar(), CorporationDB::GetCorpMemberCount(), CorporationDB::GetCorpMemberLimit(), CharacterDB::GetCorporationBySchool(), CorporationDB::GetCorpStations(), AllianceDB::GetCurrentApplicationInfo(), CorporationDB::GetCurrentApplicationInfo(), PosMgrDB::GetCustomsData(), MapDB::GetDynamicData(), CalendarDB::GetEventDetails(), CalendarDB::GetEventList(), PlanetSE::GetExtractorsForPlanet(), FactionWarMgrDB::GetFacWarSystems(), BookmarkDB::GetFolders(), ItemDB::GetItem(), FactoryDB::GetJobProperties(), MailDB::GetJoinedMailingLists(), MailDB::GetLabels(), PlanetDB::GetLaunchDetails(), PlanetDB::GetLaunchItemID(), PlanetDB::GetLaunchPlanet(), LSCDB::GetMailDetails(), MailDB::GetMailingListMembers(), MarketDB::GetManufacturedItems(), CorporationDB::GetMemberCount(), CorporationDB::GetMemberIDs(), LSCDB::GetNextAvailableChannelID(), StationDB::GetOfficeCount(), StationDB::GetOfficeData(), ReprocessingDB::GetRecoverables(), CorporationDB::GetRecruiters(), CharacterDB::GetRespecInfo(), CalendarDB::GetResponsesForCharacter(), CalendarDB::GetResponsesToEvent(), CorporationDB::GetSharesForCorp(), MarketDB::GetShipIDs(), ServiceDB::GetStationOwner(), CorporationDB::GetTitles(), PosMgrDB::GetTowerData(), AgentDB::LoadAgentData(), AgentDB::LoadAgentSkills(), PlanetDB::LoadColony(), MapDB::LoadDynamicData(), StationDB::LoadOffices(), ShipItem::LoadWeaponGroups(), MailDB::MailingListGetSettings(), CorporationDB::MoveShares(), FxDataMgr::Populate(), MapData::Populate(), MissionDataMgr::Populate(), StationDataMgr::Populate(), DungeonDataMgr::Populate(), StaticDataMgr::Populate(), ServiceDB::PrimeOwners(), MissionDB::RemoveMissionItem(), MailDB::SendMail(), and ServiceDB::SetClientSeed().

636 {
637  if (index >= mResult->ColumnCount()) {
638  _log(DATABASE__ERROR, " DBCore::GetInt: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
639  EvE::traceStack();
640  return 0;
641  }
642 
643  //use base 0 on the obscure chance that this is a string column with an 0x hex number in it.
644  return strtol( mRow[index], nullptr, 0 );
645 }
#define _log(type, fmt,...)
Definition: logsys.h:124
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

int64 DBResultRow::GetInt64 ( uint32  index) const

Definition at line 670 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mResult, mRow, strtoll, and EvE::traceStack().

Referenced by AllianceDB::CreateAllianceChangePacket(), CorporationDB::CreateCorporationChangePacket(), CorporationDB::CreateCorporationCreatePacket(), CorporationDB::CreateMemberAttributeUpdate(), DBColumnToPyRep(), ServiceDB::GetAccountInformation(), CorporationDB::GetAdvertTime(), PosMgrDB::GetBaseData(), BookmarkDB::GetBookmarks(), CharacterDB::GetCharacterData(), InventoryDB::GetCharacterData(), InventoryDB::GetCorpData(), AllianceDB::GetCurrentApplicationInfo(), CorporationDB::GetCurrentApplicationInfo(), PosMgrDB::GetCustomsData(), CalendarDB::GetEventList(), FactoryDB::GetJobProperties(), PlanetDB::GetLaunchDetails(), LSCDB::GetMailDetails(), FactoryDB::GetNextFreeTime(), StationDB::GetOfficeData(), CharacterDB::GetRespecInfo(), CorporationDB::GetTitles(), MarketDB::GetUpdateTime(), BookmarkDB::GetVoucherData(), AttributeMap::Load(), CertificateMgrDB::LoadCertificates(), MapDB::LoadDynamicData(), CharacterDB::LoadSkillQueue(), MissionDataMgr::Populate(), SovereigntyDataMgr::Populate(), StationDataMgr::Populate(), SovereigntyDataMgr::UpdateClaim(), and CorporationDB::UpdateTitle().

671 {
672  if (index >= mResult->ColumnCount()) {
673  _log(DATABASE__ERROR, " DBCore::GetInt64: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
674  EvE::traceStack();
675  return 0;
676  }
677 
678  //use base 0 on the obscure chance that this is a string column with an 0x hex number in it.
679  return strtoll( mRow[index], nullptr, 0 );
680 }
#define _log(type, fmt,...)
Definition: logsys.h:124
#define strtoll
Definition: eve-compat.h:243
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

Here is the caller graph for this function:

const char* DBResultRow::GetText ( uint32  index) const
inline

Definition at line 104 of file dbcore.h.

References mRow.

Referenced by CharacterDB::ChangeCloneType(), AllianceDB::CreateAllianceChangePacket(), CorporationDB::CreateCorporationChangePacket(), CorporationDB::CreateCorporationCreatePacket(), DBColumnToPyRep(), LiveUpdateDB::GenerateUpdates(), APIServiceDB::GetAccountIdFromUsername(), APIAccountDB::GetAccountInfo(), ServiceDB::GetAccountInformation(), APIServiceDB::GetApiAccountInfoUsingAccountID(), APIServiceDB::GetApiAccountInfoUsingUserID(), ManagerDB::GetAsteroidData(), BookmarkDB::GetBookmarkDescription(), BookmarkDB::GetBookmarkName(), BookmarkDB::GetBookmarks(), PosMgrDB::GetBridgeData(), LSCDB::GetChannelInfo(), LSCDB::GetChannelInformation(), LSCDB::GetChannelName(), LSCDB::GetChannelNames(), LSCDB::GetChannelSubscriptions(), APICharacterDB::GetCharacterAttributes(), CharacterDB::GetCharacterData(), InventoryDB::GetCharacterData(), APICharacterDB::GetCharacterInfo(), APICharacterDB::GetCharacterSkillQueue(), APICharacterDB::GetCharacterSkillsTrained(), APIAccountDB::GetCharactersList(), InventoryDB::GetCharacterType(), CharacterDB::GetCharName(), CharacterDB::GetCharSelectInfo(), InventoryDB::GetCorpData(), CorporationDB::GetCorpData(), ServiceDB::GetCorpHangarNames(), CorporationDB::GetCorpName(), AllianceDB::GetCurrentApplicationInfo(), CorporationDB::GetCurrentApplicationInfo(), CorporationDB::GetDivisionName(), CalendarDB::GetEventDetails(), CalendarDB::GetEventList(), BookmarkDB::GetFolders(), ItemDB::GetItem(), ItemDB::GetItems(), MailDB::GetJoinedMailingLists(), MailDB::GetLabels(), MailDB::GetMailBody(), LSCDB::GetMailDetails(), MarketDB::GetMarketGroups(), CharacterDB::GetNote(), InventoryDB::GetSolarSystem(), CorporationDB::GetTitles(), PosMgrDB::GetTowerData(), BookmarkDB::GetVoucherData(), IsNull(), CommandDB::ItemSearch(), AgentDB::LoadAgentData(), FxDataMgr::Populate(), MissionDataMgr::Populate(), StationDataMgr::Populate(), DungeonDataMgr::Populate(), StaticDataMgr::Populate(), ServiceDB::PrimeOwners(), CorporationDB::UpdateCorporation(), CorporationDB::UpdateDivisionNames(), and CorporationDB::UpdateTitle().

104 { return mRow[ index ]; }
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 DBResultRow::GetUInt ( uint32  index) const

Definition at line 658 of file dbcore.cpp.

References _log, DBQueryResult::ColumnCount(), mResult, mRow, and EvE::traceStack().

Referenced by FactoryDB::CountManufacturingJobs(), FactoryDB::CountResearchJobs(), AllianceDB::CreateAllianceChangePacket(), CorporationDB::CreateCorporationChangePacket(), CorporationDB::CreateCorporationCreatePacket(), CorporationDB::CreateMemberAttributeUpdate(), DBResultToIntIntlistDict(), DBResultToUIntUIntDict(), MarketDB::FindBuyOrder(), MarketDB::FindSellOrder(), APIServiceDB::GetAccountIdFromUserID(), ServiceDB::GetAccountInformation(), CharacterDB::GetActiveCloneID(), CharacterDB::GetActiveCloneType(), APIServiceDB::GetApiAccountInfoUsingAccountID(), APIServiceDB::GetApiAccountInfoUsingUserID(), FactoryDB::GetAssemblyLineRestrictions(), CommandDB::GetAttributeID(), CharacterDB::GetAttributesFromAncestry(), CharacterDB::GetBaseSkills(), SystemDB::GetBelts(), InventoryDB::GetBloodlineByCharacterType(), BookmarkDB::GetBookmarkInformation(), InventoryDB::GetCelestialObject(), LSCDB::GetChannelInformation(), LSCDB::GetChannelSubscriptions(), APICharacterDB::GetCharacterAttributes(), CharacterDB::GetCharacterData(), InventoryDB::GetCharacterData(), APICharacterDB::GetCharacterSkillQueue(), APICharacterDB::GetCharacterSkillsTrained(), InventoryDB::GetCharacterType(), InventoryDB::GetCharacterTypeByBloodline(), CharacterDB::GetCharClones(), CharacterDB::GetCharHomeStation(), CharacterDB::GetCharItems(), CharacterDB::GetCharSelectInfo(), ServiceDB::GetConstant(), InventoryDB::GetCorpData(), CorporationDB::GetCorpData(), CharacterDB::GetCorpID(), CorporationDB::GetCorporationCEO(), CharacterDB::GetCorpRole(), AllianceDB::GetExecutorID(), FactionWarMgrDB::GetFactionMilitiaCorporation(), SystemDB::GetGates(), ItemDB::GetItem(), ItemDB::GetItems(), FactoryDB::GetJobProperties(), CharacterDB::GetLocationCorporationByCareer(), LSCDB::GetMailDetails(), MarketDB::GetMarketGroups(), SystemDB::GetMoons(), SystemDB::GetObjectLocationID(), MarketDB::GetOrderInfo(), SystemDB::GetPlanets(), CharacterDB::GetSkillLevel(), CharacterDB::GetSkillsByCareer(), CharacterDB::GetSkillsByRace(), CommandDB::GetSolarSystem(), InventoryDB::GetSolarSystem(), CharacterDB::GetStartingStationByCareer(), CommandDB::GetStation(), CorporationDB::GetStationCorporationCEO(), CorporationDB::GetStationOwner(), FactoryDB::GetTech2Blueprint(), BookmarkDB::GetVoucherData(), CommandDB::ItemSearch(), AttributeMap::Load(), AgentDB::LoadAgentData(), CertificateMgrDB::LoadCertificates(), CharacterDB::LoadPausedSkillQueue(), CharacterDB::LoadSkillQueue(), CharacterDB::PickAlternateShip(), SovereigntyDataMgr::Populate(), StationDataMgr::Populate(), StaticDataMgr::Populate(), MapCon::PopulateConnections(), SearchDB::QuickQuery(), and SovereigntyDataMgr::UpdateClaim().

659 {
660  if (index >= mResult->ColumnCount()) {
661  _log(DATABASE__ERROR, " DBCore::GetUInt: Column index %u exceeds number of columns in row (%u)", index, mResult->ColumnCount() );
662  EvE::traceStack();
663  return 0;
664  }
665 
666  //use base 0 on the obscure chance that this is a string column with an 0x hex number in it.
667  return strtoul( mRow[index], nullptr, 0 );
668 }
#define _log(type, fmt,...)
Definition: logsys.h:124
MYSQL_ROW mRow
Definition: dbcore.h:126
uint32 ColumnCount() const
Definition: dbcore.h:76
DBQueryResult * mResult
Definition: dbcore.h:129
void traceStack(void)
Definition: misc.cpp:169

Here is the call graph for this function:

bool DBResultRow::IsBinary ( uint32  index) const
inline

Definition at line 119 of file dbcore.h.

References DBQueryResult::IsBinary(), and mResult.

119 { return mResult->IsBinary( index ); }
DBQueryResult * mResult
Definition: dbcore.h:129
bool IsBinary(uint32 index) const
Definition: dbcore.cpp:531

Here is the call graph for this function:

bool DBResultRow::IsUnsigned ( uint32  index) const
inline

Definition at line 118 of file dbcore.h.

References DBQueryResult::IsUnsigned(), and mResult.

118 { return mResult->IsUnsigned( index ); }
bool IsUnsigned(uint32 index) const
Definition: dbcore.cpp:526
DBQueryResult * mResult
Definition: dbcore.h:129

Here is the call graph for this function:

void DBResultRow::SetData ( DBQueryResult res,
MYSQL_ROW &  row,
const ulong *  lengths 
)
protected

Definition at line 617 of file dbcore.cpp.

References mLengths, mResult, and mRow.

Referenced by DBQueryResult::GetRow().

618 {
619  mRow = row;
620  mResult = res;
621  mLengths = lengths;
622 }
MYSQL_ROW mRow
Definition: dbcore.h:126
DBQueryResult * mResult
Definition: dbcore.h:129
const ulong * mLengths
Definition: dbcore.h:127

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class DBQueryResult
friend

Definition at line 123 of file dbcore.h.

Member Data Documentation

const ulong* DBResultRow::mLengths
protected

Definition at line 127 of file dbcore.h.

Referenced by ColumnLength(), and SetData().

MYSQL_ROW DBResultRow::mRow
protected

Definition at line 126 of file dbcore.h.

Referenced by GetBool(), GetDouble(), GetFloat(), GetInt(), GetInt64(), GetText(), GetUInt(), and SetData().


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