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-records and out-records 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.
data Definition at line 86 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-records and out-records for face.
Definition at line 115 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 126 of file pit.cpp.
References nfd::name_tree::NameTree::fullEnumerate(), and nfd::pit::nteHasPitEntries().
|
inline |