NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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)
 
 NFD_ASSERT_FORWARD_ITERATOR (Cs::const_iterator)
 
unique_ptr< PolicymakeDefaultPolicy ()
 

Variables

 ContentStore
 

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_ASSERT_FORWARD_ITERATOR()

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

nfd::cs::ContentStore

Definition at line 37 of file cs.cpp.