LIEF: Library to Instrument Executable Formats Version 0.16.0
|
Iterator which returns reference on container's values. More...
#include <iterators.hpp>
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = decay_t<U> |
using | difference_type = ptrdiff_t |
using | pointer = typename std::remove_pointer<U>::type* |
using | reference = typename std::remove_pointer<U>::type& |
using | container_type = T |
using | DT_VAL = U |
using | DT = decay_t<T> |
using | ref_t = typename ref_iterator::reference |
using | pointer_t = typename ref_iterator::pointer |
Public Member Functions | |
ref_iterator (T container) | |
ref_iterator (const ref_iterator ©) | |
ref_iterator & | operator= (ref_iterator other) |
void | swap (ref_iterator &other) noexcept |
ref_iterator & | operator++ () |
ref_iterator | operator++ (int) |
ref_iterator & | operator-- () |
ref_iterator | operator-- (int) |
ref_iterator & | operator+= (const typename ref_iterator::difference_type &movement) |
ref_iterator & | operator-= (const typename ref_iterator::difference_type &movement) |
std::enable_if<!std::is_const< ref_t >::value, remove_const_t< ref_t > >::type | operator[] (size_t n) |
add_const_t< ref_t > | operator[] (size_t n) const |
ref_iterator | operator+ (typename ref_iterator::difference_type n) const |
ref_iterator | operator- (typename ref_iterator::difference_type n) const |
ref_iterator::difference_type | operator- (const ref_iterator &rhs) const |
bool | operator< (const ref_iterator &rhs) const |
bool | operator> (const ref_iterator &rhs) const |
bool | operator>= (const ref_iterator &rhs) const |
bool | operator<= (const ref_iterator &rhs) const |
ref_iterator | begin () const |
ref_iterator | cbegin () const |
ref_iterator | end () const |
ref_iterator | cend () const |
bool | operator== (const ref_iterator &other) const |
bool | operator!= (const ref_iterator &other) const |
size_t | size () const |
bool | empty () const |
std::enable_if<!std::is_const< ref_t >::value, remove_const_t< ref_t > >::type | operator* () |
template<typename V = DT_VAL> | |
std::enable_if< std::is_pointer< V >::value, add_const_t< ref_t > >::type | operator* () const |
template<typename V = DT_VAL> | |
std::enable_if<!std::is_pointer< V >::value, add_const_t< ref_t > >::type | operator* () const |
std::enable_if<!std::is_const< pointer_t >::value, pointer_t >::type | operator-> () |
add_const_t< pointer_t > | operator-> () const |
Iterator which returns reference on container's values.
using LIEF::ref_iterator< T, U, ITERATOR_T >::container_type = T |
using LIEF::ref_iterator< T, U, ITERATOR_T >::difference_type = ptrdiff_t |
using LIEF::ref_iterator< T, U, ITERATOR_T >::DT = decay_t<T> |
using LIEF::ref_iterator< T, U, ITERATOR_T >::DT_VAL = U |
using LIEF::ref_iterator< T, U, ITERATOR_T >::iterator_category = std::bidirectional_iterator_tag |
using LIEF::ref_iterator< T, U, ITERATOR_T >::pointer = typename std::remove_pointer<U>::type* |
using LIEF::ref_iterator< T, U, ITERATOR_T >::pointer_t = typename ref_iterator::pointer |
using LIEF::ref_iterator< T, U, ITERATOR_T >::ref_t = typename ref_iterator::reference |
using LIEF::ref_iterator< T, U, ITERATOR_T >::reference = typename std::remove_pointer<U>::type& |
using LIEF::ref_iterator< T, U, ITERATOR_T >::value_type = decay_t<U> |
|
inline |
Referenced by begin(), cbegin(), cend(), end(), operator!=(), operator*(), operator+(), operator++(), operator++(), operator+=(), operator-(), operator-(), operator--(), operator--(), operator-=(), operator->(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), operator[](), operator[](), ref_iterator(), and swap().
|
inline |
References begin(), and ref_iterator().
|
inline |
References ref_iterator().
Referenced by cbegin(), and ref_iterator().
|
inline |
References begin(), and ref_iterator().
|
inline |
References end(), and ref_iterator().
|
inline |
|
inline |
References ref_iterator(), and size().
Referenced by cend(), LIEF::MachO::FatBinary::end(), and LIEF::MachO::FatBinary::end().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
Referenced by operator->().
|
inline |
|
inline |
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References operator*().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator(), and swap().
|
inline |
References ref_iterator(), and size().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator().
|
inline |
References ref_iterator(), and size().
|
inline |
Referenced by end(), operator==(), and operator[]().
|
inlinenoexcept |
References ref_iterator().
Referenced by operator=().