#include <result.h>
Public Member Functions | |
ResultSet (void) | |
ResultSet (uint32_t total_num, uint32_t base, uint32_t num) | |
ResultSet (Paging &paging) | |
~ResultSet () | |
void | set_total_num (uint32_t total_num) |
void | set_base (uint32_t base) |
void | set_num (uint32_t num) |
uint32_t | get_base (void) |
uint32_t | get_base (void) const |
uint32_t | get_num (void) |
uint32_t | get_num (void) const |
uint32_t | get_total_num (void) |
uint32_t | get_total_num (void) const |
void | add (Result result) |
bool | has_next (void) |
bool | has_next (void) const |
const Result | get_next (void) |
const Result | get_next (void) const |
void | init_iter (void) |
Lux::ResultSet::ResultSet | ( | void | ) | [inline] |
constructor
Lux::ResultSet::ResultSet | ( | uint32_t | total_num, | |
uint32_t | base, | |||
uint32_t | num | |||
) |
constructor
total_num | the total number of results returned | |
base | results offset | |
num | the number of results to be returned |
Lux::ResultSet::~ResultSet | ( | ) | [inline] |
destructor
void Lux::ResultSet::add | ( | Result | result | ) |
uint32_t Lux::ResultSet::get_base | ( | void | ) | const |
uint32_t Lux::ResultSet::get_base | ( | void | ) |
const Result Lux::ResultSet::get_next | ( | void | ) | const |
const Result Lux::ResultSet::get_next | ( | void | ) |
uint32_t Lux::ResultSet::get_num | ( | void | ) | const |
uint32_t Lux::ResultSet::get_num | ( | void | ) |
uint32_t Lux::ResultSet::get_total_num | ( | void | ) | const |
uint32_t Lux::ResultSet::get_total_num | ( | void | ) |
bool Lux::ResultSet::has_next | ( | void | ) | const |
bool Lux::ResultSet::has_next | ( | void | ) |
void Lux::ResultSet::init_iter | ( | void | ) |
void Lux::ResultSet::set_base | ( | uint32_t | base | ) |
void Lux::ResultSet::set_num | ( | uint32_t | num | ) |
void Lux::ResultSet::set_total_num | ( | uint32_t | total_num | ) |