![]() |
TrinityCore
|
#include <QueryResult.h>
Public Member Functions | |
| ResultSet (MySQLResult *result, MySQLField *fields, uint64 rowCount, uint32 fieldCount) | |
| ~ResultSet () | |
| bool | NextRow () |
| uint64 | GetRowCount () const |
| uint32 | GetFieldCount () const |
| Field * | Fetch () const |
| Field const & | operator[] (std::size_t index) const |
| Field const & | operator[] (Trinity::DB::FieldLookupByAliasKey const &alias) const |
| QueryResultFieldMetadata const & | GetFieldMetadata (std::size_t index) const |
| QueryResultFieldMetadata const & | GetFieldMetadata (Trinity::DB::FieldLookupByAliasKey const &alias) const |
Protected Attributes | |
| std::vector< QueryResultFieldMetadata > | _fieldMetadata |
| Trinity::DB::FieldAliasToIndexMap | _fieldIndexByAlias |
| uint64 | _rowCount |
| Field * | _currentRow |
| uint32 | _fieldCount |
Private Member Functions | |
| void | CleanUp () |
| ResultSet (ResultSet const &right)=delete | |
| ResultSet & | operator= (ResultSet const &right)=delete |
Private Attributes | |
| MySQLResult * | _result |
| MySQLField * | _fields |
Definition at line 50 of file QueryResult.h.
| ResultSet::ResultSet | ( | MySQLResult * | result, |
| MySQLField * | fields, | ||
| uint64 | rowCount, | ||
| uint32 | fieldCount | ||
| ) |
| ResultSet::~ResultSet | ( | ) |
|
privatedelete |
|
private |
|
inline |
Definition at line 60 of file QueryResult.h.
|
inline |
Definition at line 58 of file QueryResult.h.
| QueryResultFieldMetadata const & ResultSet::GetFieldMetadata | ( | std::size_t | index | ) | const |
Definition at line 649 of file QueryResult.cpp.
| QueryResultFieldMetadata const & ResultSet::GetFieldMetadata | ( | Trinity::DB::FieldLookupByAliasKey const & | alias | ) | const |
Definition at line 655 of file QueryResult.cpp.
|
inline |
| bool ResultSet::NextRow | ( | ) |
Definition at line 561 of file QueryResult.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Field const & ResultSet::operator[] | ( | std::size_t | index | ) | const |
Definition at line 636 of file QueryResult.cpp.
| Field const & ResultSet::operator[] | ( | Trinity::DB::FieldLookupByAliasKey const & | alias | ) | const |
Definition at line 642 of file QueryResult.cpp.
|
protected |
Definition at line 71 of file QueryResult.h.
|
protected |
Definition at line 72 of file QueryResult.h.
|
protected |
Definition at line 69 of file QueryResult.h.
|
protected |
Definition at line 68 of file QueryResult.h.
|
private |
Definition at line 77 of file QueryResult.h.
|
private |
Definition at line 76 of file QueryResult.h.
|
protected |
Definition at line 70 of file QueryResult.h.