A structure that will hold the result of a query() query. More...
#include <klflib.h>
Public Types | |
enum | Flags { FillEntryIdList = 0x01, FillRawEntryList = 0x02, FillEntryWithIdList = 0x04 } |
Public Member Functions | |
QueryResult (uint fill_flags=0x00) | |
Public Attributes | |
uint | fillFlags |
QList< KLFLib::entryId > | entryIdList |
KLFLibEntryList | rawEntryList |
QList< KLFLibEntryWithId > | entryWithIdList |
A structure that will hold the result of a query() query.
This class will contain the entry ID list, the raw entry list and the entry-with-id list of the entries that matched the query() query this object was given to.
fillFlags
may specify which of the aforementioned lists are to be filled (those that are not needed by the caller don't have to be filled, this saves time). You may pass those flags to the constructor.
Once the fillFlags
adjusted, pass a pointer to this object to the query() function to retrieve results.
KLFLibResourceEngine::QueryResult::QueryResult | ( | uint | fill_flags = 0x00 | ) | [inline] |
Definition at line 979 of file klflib.h.
Referenced by KLFLibDBEngine::query(), and KLFLibResourceSimpleEngine::queryImpl().
Definition at line 981 of file klflib.h.
Referenced by KLFLibModelCache::fetchMore(), KLFLibDBEngine::query(), KLFLibResourceSimpleEngine::queryImpl(), and KLFLibModelCache::rebuildCache().
Definition at line 977 of file klflib.h.
Referenced by KLFLibDBEngine::query(), and KLFLibResourceSimpleEngine::QueryResultListSorter::QueryResultListSorter().
Definition at line 980 of file klflib.h.
Referenced by KLFLibDBEngine::query(), and KLFLibResourceSimpleEngine::queryImpl().