Go to the documentation of this file.
16#ifndef LIEF_DSC_MAPPING_INFO_H
17#define LIEF_DSC_MAPPING_INFO_H
40 public iterator_facade_base<Iterator, std::random_access_iterator_tag,
41 std::unique_ptr<MappingInfo>, std::ptrdiff_t, MappingInfo*,
42 std::unique_ptr<MappingInfo>>
45 using implementation = details::MappingInfoIt;
47 Iterator(std::unique_ptr<details::MappingInfoIt> impl);
52 Iterator& operator=(Iterator&&) noexcept;
55 bool operator<(const Iterator& rhs) const;
57 std::ptrdiff_t operator-(const Iterator& R) const;
59 Iterator& operator+=(std::ptrdiff_t n);
60 Iterator& operator-=(std::ptrdiff_t n);
62 friend
LIEF_API bool operator==(const Iterator& LHS, const Iterator& RHS);
64 friend
LIEF_API bool operator!=(const Iterator& LHS, const Iterator& RHS) {
71 std::unique_ptr<details::MappingInfoIt> impl_;
79 uint64_t
size()
const;
85 return address() + size();