PixelLightAPI
.
|
Abstract database query result base class. More...
#include <DatabaseQueryResult.h>
Public Member Functions | |
virtual PLDATABASE_API | ~DatabaseQueryResult () |
Destructor. | |
PLDATABASE_API DatabaseQuery & | GetQuery () const |
Returns the database query this data base query result is in. | |
virtual bool | IsEmpty () const =0 |
Returns whether all query results are processed or not. | |
virtual void | FirstRow ()=0 |
Resets the query result to the first row. | |
virtual const PLCore::Array < PLCore::String > & | FetchFieldList ()=0 |
Fetches the field list. | |
virtual const PLCore::HashMap < PLCore::String, PLCore::String > * | FetchRow ()=0 |
Fetches current row from cursor and moves forward. | |
Protected Member Functions | |
PLDATABASE_API | DatabaseQueryResult (DatabaseQuery &cParentQuery) |
Constructor. | |
Protected Attributes | |
PLCore::Array< PLCore::String > | m_lstFields |
PLCore::HashMap < PLCore::String, PLCore::String > | m_mapRow |
Abstract database query result base class.
virtual PLDATABASE_API PLDatabase::DatabaseQueryResult::~DatabaseQueryResult | ( | ) | [virtual] |
Destructor.
PLDATABASE_API PLDatabase::DatabaseQueryResult::DatabaseQueryResult | ( | DatabaseQuery & | cParentQuery | ) | [protected] |
Constructor.
[in] | cParentQuery | Database query this database query result is in |
PLDATABASE_API DatabaseQuery& PLDatabase::DatabaseQueryResult::GetQuery | ( | ) | const |
Returns the database query this data base query result is in.
virtual bool PLDatabase::DatabaseQueryResult::IsEmpty | ( | ) | const [pure virtual] |
Returns whether all query results are processed or not.
virtual void PLDatabase::DatabaseQueryResult::FirstRow | ( | ) | [pure virtual] |
Resets the query result to the first row.
virtual const PLCore::Array<PLCore::String>& PLDatabase::DatabaseQueryResult::FetchFieldList | ( | ) | [pure virtual] |
Fetches the field list.
virtual const PLCore::HashMap<PLCore::String, PLCore::String>* PLDatabase::DatabaseQueryResult::FetchRow | ( | ) | [pure virtual] |
Fetches current row from cursor and moves forward.
List of fields
PLCore::HashMap<PLCore::String, PLCore::String> PLDatabase::DatabaseQueryResult::m_mapRow [protected] |
Row map
|