represents the Interest Table More...
#include <pit.hpp>
Classes | |
class | const_iterator |
Public Member Functions | |
Pit (NameTree &nameTree) | |
~Pit () | |
size_t | size () const |
std::pair< shared_ptr < pit::Entry >, bool > | insert (const Interest &interest) |
inserts a PIT entry for Interest More... | |
pit::DataMatchResult | findAllDataMatches (const Data &data) const |
performs a Data match More... | |
void | erase (shared_ptr< pit::Entry > pitEntry) |
erases a PIT Entry More... | |
const_iterator | begin () const |
returns an iterator pointing to the first PIT entry More... | |
const_iterator | end () const |
returns an iterator referring to the past-the-end PIT entry More... | |
Pit::const_iterator nfd::Pit::begin | ( | ) | const |
returns an iterator pointing to the first PIT entry
Definition at line 120 of file pit.cpp.
References nfd::NameTree::fullEnumerate().
|
inline |
returns an iterator referring to the past-the-end PIT entry
Definition at line 149 of file pit.hpp.
References nfd::NameTree::end().
void nfd::Pit::erase | ( | shared_ptr< pit::Entry > | pitEntry | ) |
erases a PIT Entry
Definition at line 108 of file pit.cpp.
References nfd::NameTree::eraseEntryIfEmpty(), and nfd::NameTree::get().
pit::DataMatchResult nfd::Pit::findAllDataMatches | ( | const Data & | data | ) | const |
performs a Data match
Definition at line 91 of file pit.cpp.
References nfd::NameTree::findAllMatches().
std::pair< shared_ptr< pit::Entry >, bool > nfd::Pit::insert | ( | const Interest & | interest | ) |
inserts a PIT entry for Interest
If an entry for exact same name and selectors exists, that entry is returned.
Definition at line 65 of file pit.cpp.
References nfd::NameTree::lookup().
|
inline |
Definition at line 143 of file pit.hpp.
Referenced by nfd::Pit::const_iterator::operator++().