Represents a self-defined const_iterator for the in-memory storage. More...
#include <in-memory-storage.hpp>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = const Data |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
const_iterator (const Data *ptr, const Cache *cache, Cache::index< byFullName >::type::iterator it) | |
const_iterator & | operator++ () |
const_iterator | operator++ (int) |
reference | operator* () |
pointer | operator-> () |
bool | operator== (const const_iterator &rhs) |
bool | operator!= (const const_iterator &rhs) |
Represents a self-defined const_iterator for the in-memory storage.
Definition at line 67 of file in-memory-storage.hpp.
using ndn::InMemoryStorage::const_iterator::iterator_category = std::input_iterator_tag |
Definition at line 70 of file in-memory-storage.hpp.
using ndn::InMemoryStorage::const_iterator::value_type = const Data |
Definition at line 71 of file in-memory-storage.hpp.
using ndn::InMemoryStorage::const_iterator::difference_type = std::ptrdiff_t |
Definition at line 72 of file in-memory-storage.hpp.
Definition at line 73 of file in-memory-storage.hpp.
Definition at line 74 of file in-memory-storage.hpp.
ndn::InMemoryStorage::const_iterator::const_iterator | ( | const Data * | ptr, |
const Cache * | cache, | ||
Cache::index< byFullName >::type::iterator | it | ||
) |
Definition at line 30 of file in-memory-storage.cpp.
InMemoryStorage::const_iterator & ndn::InMemoryStorage::const_iterator::operator++ | ( | ) |
Definition at line 39 of file in-memory-storage.cpp.
InMemoryStorage::const_iterator ndn::InMemoryStorage::const_iterator::operator++ | ( | int | ) |
Definition at line 53 of file in-memory-storage.cpp.
InMemoryStorage::const_iterator::reference ndn::InMemoryStorage::const_iterator::operator* | ( | ) |
Definition at line 61 of file in-memory-storage.cpp.
InMemoryStorage::const_iterator::pointer ndn::InMemoryStorage::const_iterator::operator-> | ( | ) |
Definition at line 67 of file in-memory-storage.cpp.
bool ndn::InMemoryStorage::const_iterator::operator== | ( | const const_iterator & | rhs | ) |
Definition at line 73 of file in-memory-storage.cpp.
bool ndn::InMemoryStorage::const_iterator::operator!= | ( | const const_iterator & | rhs | ) |
Definition at line 79 of file in-memory-storage.cpp.