represents the Interest Table More...
#include <pit.hpp>
Public Types | |
typedef Iterator | const_iterator |
Public Member Functions | |
Pit (NameTree &nameTree) | |
size_t | size () const |
shared_ptr< Entry > | find (const Interest &interest) const |
finds a PIT entry for Interest More... | |
std::pair< shared_ptr< Entry >, bool > | insert (const Interest &interest) |
inserts a PIT entry for Interest More... | |
DataMatchResult | findAllDataMatches (const Data &data) const |
performs a Data match More... | |
void | erase (Entry *entry) |
deletes an entry More... | |
void | deleteInOutRecords (Entry *entry, const Face &face) |
deletes in-record and out-record for face More... | |
const_iterator | begin () const |
const_iterator | end () const |
|
inline |
DataMatchResult nfd::pit::Pit::findAllDataMatches | ( | const Data & | data | ) | const |
performs a Data match
Definition at line 87 of file pit.cpp.
References nfd::name_tree::NameTree::findAllMatches(), ndn::Data::getName(), nfd::name_tree::Entry::getPitEntries(), and nfd::pit::nteHasPitEntries().
|
inline |
deletes in-record and out-record for face
Definition at line 116 of file pit.cpp.
References nfd::pit::Entry::deleteInRecord(), and nfd::pit::Entry::deleteOutRecord().
Referenced by nfd::cleanupOnFaceRemoval().
Pit::const_iterator nfd::pit::Pit::begin | ( | ) | const |
Definition at line 127 of file pit.cpp.
References nfd::name_tree::NameTree::fullEnumerate(), and nfd::pit::nteHasPitEntries().
|
inline |