ndn::InMemoryStorage::const_iterator Class Reference

Represents a const_iterator for the in-memory storage. More...

#include <ndn-cxx/ims/in-memory-storage.hpp>

+ Inheritance diagram for ndn::InMemoryStorage::const_iterator:
+ Collaboration diagram for ndn::InMemoryStorage::const_iterator:

Public Member Functions

 const_iterator (const Data *ptr, const Cache *cache, Cache::index< byFullName >::type::iterator it) noexcept
 
reference operator* () const noexcept
 
const_iteratoroperator++ ()
 

Friends

bool operator== (const const_iterator &lhs, const const_iterator &rhs) noexcept
 

Detailed Description

Represents a const_iterator for the in-memory storage.

Note
Do not instantiate this class directly, use InMemoryStorage::begin() instead.

Definition at line 64 of file in-memory-storage.hpp.

Constructor & Destructor Documentation

◆ const_iterator()

ndn::InMemoryStorage::const_iterator::const_iterator ( const Data ptr,
const Cache cache,
Cache::index< byFullName >::type::iterator  it 
)
inlinenoexcept

Definition at line 67 of file in-memory-storage.hpp.

Member Function Documentation

◆ operator*()

reference ndn::InMemoryStorage::const_iterator::operator* ( ) const
inlinenoexcept

Definition at line 76 of file in-memory-storage.hpp.

◆ operator++()

InMemoryStorage::const_iterator & ndn::InMemoryStorage::const_iterator::operator++ ( )

Definition at line 31 of file in-memory-storage.cpp.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const const_iterator lhs,
const const_iterator rhs 
)
friend

Definition at line 85 of file in-memory-storage.hpp.