NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util::InMemoryStorage::const_iterator Class Reference

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

#include <in-memory-storage.hpp>

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

Public Member Functions

 const_iterator (const Data *ptr, const Cache *cache, Cache::index< byFullName >::type::iterator it)
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const Dataoperator* ()
 
const Dataoperator-> ()
 
bool operator== (const const_iterator &rhs)
 
bool operator!= (const const_iterator &rhs)
 

Detailed Description

Represents a self-defined const_iterator for the in-memory storage.

Note
Don't try to instantiate this class directly, use InMemoryStorage::begin() instead.

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

Referenced by operator++().

InMemoryStorage::const_iterator ndn::util::InMemoryStorage::const_iterator::operator++ ( int  )

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

References operator++().

const Data & ndn::util::InMemoryStorage::const_iterator::operator* ( )

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

const Data * ndn::util::InMemoryStorage::const_iterator::operator-> ( )

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

bool ndn::util::InMemoryStorage::const_iterator::operator== ( const const_iterator rhs)

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

bool ndn::util::InMemoryStorage::const_iterator::operator!= ( const const_iterator rhs)

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


The documentation for this class was generated from the following files: