#include <utils.hpp>
◆ PaginationIndex()
iv::ui::utils::PaginationIndex::PaginationIndex |
( |
uint64_t | totalElements, |
|
|
uint64_t | elementsPerPage, |
|
|
bool | allPagesMustBeFilled = false ) |
|
inline |
◆ decrementIndex()
void iv::ui::utils::PaginationIndex::decrementIndex |
( |
| ) |
|
|
inline |
◆ getCurrentIndex()
uint64_t iv::ui::utils::PaginationIndex::getCurrentIndex |
( |
| ) |
const |
|
inlinenodiscard |
◆ getCurrentPage()
uint64_t iv::ui::utils::PaginationIndex::getCurrentPage |
( |
| ) |
const |
|
inlinenodiscard |
◆ getElementsPerPage()
uint64_t iv::ui::utils::PaginationIndex::getElementsPerPage |
( |
| ) |
const |
|
inlinenodiscard |
◆ getTotalElements()
uint64_t iv::ui::utils::PaginationIndex::getTotalElements |
( |
| ) |
const |
|
inlinenodiscard |
◆ getTotalPages()
uint64_t iv::ui::utils::PaginationIndex::getTotalPages |
( |
| ) |
const |
|
inlinenodiscard |
◆ goToPage()
void iv::ui::utils::PaginationIndex::goToPage |
( |
uint64_t | pageNumber | ) |
|
|
inline |
◆ incrementIndex()
void iv::ui::utils::PaginationIndex::incrementIndex |
( |
| ) |
|
|
inline |
◆ nextPage()
void iv::ui::utils::PaginationIndex::nextPage |
( |
| ) |
|
|
inline |
◆ previousPage()
void iv::ui::utils::PaginationIndex::previousPage |
( |
| ) |
|
|
inline |
◆ reset()
void iv::ui::utils::PaginationIndex::reset |
( |
| ) |
|
|
inline |
◆ setAllPagesMustBeFilled()
void iv::ui::utils::PaginationIndex::setAllPagesMustBeFilled |
( |
bool | allPagesMustBeFilled | ) |
|
|
inline |
◆ setElementsPerPage()
void iv::ui::utils::PaginationIndex::setElementsPerPage |
( |
uint64_t | elementsPerPage | ) |
|
|
inline |
◆ setTotalElements()
void iv::ui::utils::PaginationIndex::setTotalElements |
( |
uint64_t | totalElements | ) |
|
|
inline |
◆ m_allPagesMustBeFilled
bool iv::ui::utils::PaginationIndex::m_allPagesMustBeFilled |
|
private |
◆ m_currentIndex
uint64_t iv::ui::utils::PaginationIndex::m_currentIndex |
|
private |
◆ m_elementsPerPage
uint64_t iv::ui::utils::PaginationIndex::m_elementsPerPage |
|
private |
◆ m_totalElements
uint64_t iv::ui::utils::PaginationIndex::m_totalElements |
|
private |
The documentation for this class was generated from the following file: