BOSS 6.6.4.p03
BESIII Offline Software System
|
#include <PagedMemory.h>
Public Member Functions | |
const_iterator () | |
const_iterator (const const_iterator &other) | |
~const_iterator () | |
const_iterator & | operator= (const const_iterator &other) |
bool | operator!= (const const_iterator &other) const |
bool | operator== (const const_iterator &other) const |
uint32_t | operator[] (size_t pos) const |
uint32_t | at (size_t pos) const |
uint32_t | operator* (void) const |
const_iterator & | operator++ (void) |
const_iterator & | operator-- () |
const_iterator & | operator+= (size_t offset) |
const_iterator & | operator-= (size_t offset) |
bool | operator< (const const_iterator &other) const |
bool | operator> (const const_iterator &other) const |
int32_t | operator- (const const_iterator &other) const |
Friends | |
class | PagedMemory |
Defines an iterator-like type for this type of memory. There are no guarantees on the iteration. The user should test and only iterate from begin() till end()
Definition at line 101 of file PagedMemory.h.
|
inline |
Returns an iterator that points nowhere, to fake similar behaviour as the normal pointers.
Definition at line 125 of file PagedMemory.h.
|
inline |
Copies the value of an iterator
other | The iterator to copy the data from |
Definition at line 132 of file PagedMemory.h.
|
inline |
uint32_t eformat::PagedMemory< TMAXPAGES >::const_iterator::at | ( | size_t | pos | ) | const |
Gets a value away N positions from this iterator, checked and may throw an exception
pos | The number "N" of positions away from this iterator |
Definition at line 330 of file PagedMemory.h.
Referenced by eformat::PagedMemory< TMAXPAGES >::const_iterator::at().
bool eformat::PagedMemory< TMAXPAGES >::const_iterator::operator!= | ( | const const_iterator & | other | ) | const |
Compares two pointers
other | The other iterator to compare this one with. |
Definition at line 310 of file PagedMemory.h.
|
inline |
eformat::PagedMemory< TMAXPAGES >::const_iterator & eformat::PagedMemory< TMAXPAGES >::const_iterator::operator++ | ( | void | ) |
Advances forward on the pointing place, 4 bytes or 1 word. This is the prefix operator.
Definition at line 349 of file PagedMemory.h.
eformat::PagedMemory< TMAXPAGES >::const_iterator & eformat::PagedMemory< TMAXPAGES >::const_iterator::operator+= | ( | size_t | offset | ) |
Advances forward on the pointing place, by a number of (32-bit) words
offset | The amount of words to advance |
Definition at line 379 of file PagedMemory.h.
|
inline |
Returns the difference in position between two iterators
other | The other iterator to compare to |
Definition at line 232 of file PagedMemory.h.
eformat::PagedMemory< TMAXPAGES >::const_iterator & eformat::PagedMemory< TMAXPAGES >::const_iterator::operator-- | ( | void | ) |
Step back on the pointing place, 4 bytes or 1 word. This is the prefix operator.
Definition at line 364 of file PagedMemory.h.
eformat::PagedMemory< TMAXPAGES >::const_iterator & eformat::PagedMemory< TMAXPAGES >::const_iterator::operator-= | ( | size_t | offset | ) |
Retrocesses on the pointing place, by a number of (32-bit) words
offset | The amount of words to advance |
Definition at line 394 of file PagedMemory.h.
|
inline |
Compares two operators (offset comparison)
other | The other iterator to compare to |
Definition at line 216 of file PagedMemory.h.
eformat::PagedMemory< TMAXPAGES >::const_iterator & eformat::PagedMemory< TMAXPAGES >::const_iterator::operator= | ( | const const_iterator & | other | ) |
Copies the value of an iterator
other | The iterator to copy the data from |
Definition at line 301 of file PagedMemory.h.
|
inline |
Compares two pointers
other | The other iterator to compare this one with. |
Definition at line 159 of file PagedMemory.h.
|
inline |
Compares two operators (offset comparison)
other | The other iterator to compare to |
Definition at line 224 of file PagedMemory.h.
uint32_t eformat::PagedMemory< TMAXPAGES >::const_iterator::operator[] | ( | size_t | pos | ) | const |
Gets a value away N positions from this iterator, unchecked
pos | The number "N" of positions away from this iterator |
Definition at line 317 of file PagedMemory.h.
|
friend |
Definition at line 105 of file PagedMemory.h.