Class AllocationMap

Class Documentation

class AllocationMap

Public Types

using Map = MemoryMap<RecordList>

Public Functions

AllocationMap()
AllocationMap(const AllocationMap&)
void insert(void *ptr, AllocationRecord record)
const AllocationRecord *find(void *ptr) const
AllocationRecord *find(void *ptr)
const AllocationRecord *findRecord(void *ptr) const
AllocationRecord *findRecord(void *ptr)
AllocationRecord remove(void *ptr)
bool contains(void *ptr) const
void clear()
std::size_t size() const
void print(const std::function<bool(const AllocationRecord&)> &&predicate, std::ostream &os = std::cout, ) const
void printAll(std::ostream &os = std::cout) const
AllocationMap::ConstIterator begin() const
AllocationMap::ConstIterator end() const
class ConstIterator : public std::iterator<std::forward_iterator_tag, AllocationRecord>

Public Functions

ConstIterator(const AllocationMap *map, iterator_begin)
ConstIterator(const AllocationMap *map, iterator_end)
ConstIterator(const ConstIterator&)
const AllocationRecord &operator*()
const AllocationRecord *operator->()
AllocationMap::ConstIterator &operator++()
AllocationMap::ConstIterator operator++(int)
bool operator==(const ConstIterator &other) const
bool operator!=(const ConstIterator &other) const