|
The Pedigree Project 0.1
|
#include <MappingList.h>
Collaboration diagram for MappingList< Object >:Public Types | |
| using | Iterator = typename List< Object * >::Iterator |
| using | ReverseIterator = typename List< Object * >::ReverseIterator |
Public Member Functions | |
| size_t | count () const |
| Iterator | begin () |
| Iterator | end () |
| ReverseIterator | rbegin () |
| ReverseIterator | rend () |
| bool | tryPushBack (Object *object) |
| bool | reserveBack (uintptr_t address) |
| void | publishBack (Object *object) |
| Object * | popBack () |
| Iterator | erase (Iterator &it) |
| ReverseIterator | erase (ReverseIterator &it) |
| Object * | find (uintptr_t address, size_t *objectVisits=nullptr) const |
Private Member Functions | |
| NOT_COPYABLE_OR_ASSIGNABLE (MappingList) | |
Private Attributes | |
| List< Object * > | m_Objects |
| Tree< uintptr_t, Object * > | m_Index |
| uintptr_t | m_ReservedAddress = 0 |
| bool | m_HasReservation = false |
Append-ordered, non-owning mapping registry with logarithmic point lookup. Callers serialize access and keep published ranges disjoint. Mapping starts stay fixed until removal; shrinking a length in place is safe.
Definition at line 12 of file MappingList.h.
| using MappingList< Object >::Iterator = typename List<Object*>::Iterator |
Definition at line 14 of file MappingList.h.
| using MappingList< Object >::ReverseIterator = typename List<Object*>::ReverseIterator |
Definition at line 15 of file MappingList.h.
|
inline |
Definition at line 22 of file MappingList.h.
|
inline |
Definition at line 19 of file MappingList.h.
|
inline |
Definition at line 25 of file MappingList.h.
|
inline |
Definition at line 78 of file MappingList.h.
|
inline |
Definition at line 83 of file MappingList.h.
|
inline |
Definition at line 89 of file MappingList.h.
|
inline |
Definition at line 66 of file MappingList.h.
|
inline |
Definition at line 57 of file MappingList.h.
|
inline |
Definition at line 28 of file MappingList.h.
|
inline |
Definition at line 31 of file MappingList.h.
|
inline |
Reserve both nodes before a fallible split/clone can alter its source.
Definition at line 44 of file MappingList.h.
References Tree< K, E >::contains(), Tree< K, E >::remove(), Tree< K, E >::tryInsert(), and List< T, nodePoolSize >::tryPushBack().
Referenced by MemoryMapManager::clone().
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file MappingList.h.
|
private |
Definition at line 113 of file MappingList.h.
|
private |
Definition at line 111 of file MappingList.h.
|
private |
Definition at line 110 of file MappingList.h.
|
private |
Definition at line 112 of file MappingList.h.