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

Namespaces

 lru
 
 priority_fifo
 

Classes

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...
 

Typedefs

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

Functions

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 
)

§ makeDefaultPolicy()

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

Definition at line 48 of file cs.cpp.