Module
|
#include <Book.hpp>
Public Types | |
typedef std::vector< T * >::size_type | page_size_type |
typedef unsigned long | size_type |
Public Member Functions | |
Book () | |
~Book () | |
T & | operator[] (size_type index) |
const T & | operator[] (size_type index) const |
T & | get (size_type index) |
const T & | get (size_type index) const |
T & | front () |
const T & | front () const |
T & | back () |
const T & | back () const |
T * | getPage (page_size_type index) |
page_size_type | getPageSize () |
page_size_type | getNumPages () |
size_type | size () const |
size_type | capacity () |
void | push_back (const T &newVal) |
page_size_type | remainingElementsInPage (size_type index) const |
const std::vector< T * > & | getPageVec () |
Static Public Attributes | |
static const page_size_type | maxPageSize = 4 * 1024 |
typedef std::vector<T*>::size_type Module::Book< T >::page_size_type |
typedef unsigned long Module::Book< T >::size_type |
Module::Book< T >::Book | ( | ) |
Module::Book< T >::~Book | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
T & Module::Book< T >::get | ( | size_type | index | ) |
const T & Module::Book< T >::get | ( | size_type | index | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Module::Book< T >::push_back | ( | const T & | newVal | ) |
|
inline |
|
inline |
|
static |