Namespaces | |
lru | |
priority_fifo | |
Classes | |
class | Cs |
implements the Content Store More... | |
class | Entry |
a ContentStore entry More... | |
class | Policy |
represents a CS replacement policy More... | |
Typedefs | |
using | Table = std::set< Entry, std::less<> > |
an ordered container of ContentStore entries More... | |
Functions | |
static int | compareDataWithData (const Data &lhs, const Data &rhs) |
static int | compareQueryWithData (const Name &queryName, const Data &data) |
static unique_ptr< Policy > | makeDefaultPolicy () |
bool | operator< (const Entry &entry, const Name &queryName) |
bool | operator< (const Name &queryName, const Entry &entry) |
bool | operator< (const Entry &lhs, const Entry &rhs) |
bool | operator< (Table::const_iterator lhs, Table::const_iterator rhs) |
using nfd::cs::Table = typedef std::set<Entry, std::less<> > |
an ordered container of ContentStore entries
This container uses std::less<> comparator to enable lookup with queryName.
Definition at line 116 of file cs-entry.hpp.
|
static |
Definition at line 86 of file cs-entry.cpp.
|
static |
Definition at line 65 of file cs-entry.cpp.
|
static |
bool nfd::cs::operator< | ( | const Entry & | entry, |
const Name & | queryName | ||
) |
Definition at line 97 of file cs-entry.cpp.
bool nfd::cs::operator< | ( | const Name & | queryName, |
const Entry & | entry | ||
) |
Definition at line 103 of file cs-entry.cpp.
Definition at line 109 of file cs-entry.cpp.
|
inline |
Definition at line 119 of file cs-entry.hpp.