#include <page_container.h>
|
void | assign_container (const PageContainer &pc) |
|
T * | get_page (size_t ind) const |
| returns the page in which the data for the given index lies
|
|
size_t | get_page_index (size_t ind) const |
| returns the index of the page in which the data for the given index lies
|
|
size_t | get_page_offset (size_t ind) const |
| returns the offset that a index has in its page
|
|
◆ allocator_type
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
◆ const_reference
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
typedef Allocator::const_reference ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::const_reference |
◆ difference_type
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
typedef Allocator::difference_type ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::difference_type |
◆ reference
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
typedef Allocator::reference ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::reference |
◆ size_type
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
typedef Allocator::size_type ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::size_type |
◆ PageContainer() [1/2]
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ PageContainer() [2/2]
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ ~PageContainer()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ assign_container()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ capacity()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ clear()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ get_page()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ get_page_index()
template<class T , int MAX_PAGE_SIZE, class Allocator >
size_t ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::get_page_index |
( |
size_t |
ind | ) |
const |
|
inlineprivate |
returns the index of the page in which the data for the given index lies
◆ get_page_offset()
template<class T , int MAX_PAGE_SIZE, class Allocator >
size_t ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::get_page_offset |
( |
size_t |
ind | ) |
const |
|
inlineprivate |
returns the offset that a index has in its page
◆ operator=()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ operator[]() [1/2]
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ operator[]() [2/2]
template<class T , int MAX_PAGE_SIZE, class Allocator >
const T & ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::operator[] |
( |
size_t |
ind | ) |
const |
|
inline |
◆ reserve()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ resize()
template<class T , int MAX_PAGE_SIZE, class Allocator >
void ug::PageContainer< T, MAX_PAGE_SIZE, Allocator >::resize |
( |
size_t |
size, |
|
|
const T & |
val = T() |
|
) |
| |
◆ size()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ swap()
template<class T , int MAX_PAGE_SIZE, class Allocator >
◆ m_alloc
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
◆ m_numPageEntries
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
◆ m_pages
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
◆ m_size
template<class T , int MAX_PAGE_SIZE = 4096, class Allocator = std::allocator<T>>
The documentation for this class was generated from the following files: