Class AllocationMap¶
Defined in File AllocationMap.hpp
Nested Relationships¶
Class Documentation¶
-
class
umpire::util::AllocationMap¶ Public Types
-
using
Map= MemoryMap<RecordList>¶
Public Functions
-
AllocationMap()¶
-
AllocationMap(const AllocationMap&) = delete¶
-
void
insert(void *ptr, AllocationRecord record)¶
-
const AllocationRecord *
find(void *ptr) const¶
-
AllocationRecord *
find(void *ptr)¶
-
const AllocationRecord *
findRecord(void *ptr) const noexcept¶
-
AllocationRecord *
findRecord(void *ptr) noexcept¶
-
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¶
-
ConstIterator
begin() const¶
-
ConstIterator
end() const¶
-
class
ConstIterator¶ Public Types
-
using
iterator_category= std::forward_iterator_tag¶
-
using
value_type= AllocationRecord¶
-
using
difference_type= std::ptrdiff_t¶
-
using
pointer= value_type*¶
-
using
reference= value_type&¶
Public Functions
-
ConstIterator(const AllocationMap *map, iterator_begin)¶
-
ConstIterator(const AllocationMap *map, iterator_end)¶
-
ConstIterator(const ConstIterator&) = default¶
-
const AllocationRecord &
operator*()¶
-
const AllocationRecord *
operator->()¶
-
ConstIterator &
operator++()¶
-
ConstIterator
operator++(int)¶
-
bool
operator==(const ConstIterator &other) const¶
-
bool
operator!=(const ConstIterator &other) const¶
-
using
-
using