NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::cs Namespace Reference




class  Cs
 represents the ContentStore More...
class  Entry
 represents a base class for CS entry More...
class  EntryImpl
 an Entry in ContentStore implementation More...
class  Policy
 represents a CS replacement policy More...


typedef std::set< EntryImplTable
typedef Table::const_iterator iterator


int compareQueryWithData (const Name &queryName, const Data &data)
int compareDataWithData (const Data &lhs, const Data &rhs)
unique_ptr< PolicymakeDefaultPolicy ()



Typedef Documentation

◆ Table

typedef std::set<EntryImpl> nfd::cs::Table

Definition at line 38 of file cs-internal.hpp.

◆ iterator

typedef Table::const_iterator nfd::cs::iterator

Definition at line 41 of file cs-internal.hpp.

Function Documentation

◆ compareQueryWithData()

int nfd::cs::compareQueryWithData ( const Name queryName,
const Data data 

◆ compareDataWithData()

int nfd::cs::compareDataWithData ( const Data lhs,
const Data rhs 


nfd::cs::NFD_ASSERT_FORWARD_ITERATOR ( Cs::const_iterator  )

◆ makeDefaultPolicy()

unique_ptr<Policy> nfd::cs::makeDefaultPolicy ( )

Definition at line 40 of file cs.cpp.

References nfd::cs::Policy::create().

Referenced by nfd::cs::Cs::Cs().

Variable Documentation

◆ ContentStore


Definition at line 37 of file cs.cpp.