NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ns3::ndn::cs::EntryImpl< CS > Class Template Reference

Cache entry implementation with additional references to the base container. More...

#include <content-store-impl.hpp>

Inheritance diagram for ns3::ndn::cs::EntryImpl< CS >:
Collaboration diagram for ns3::ndn::cs::EntryImpl< CS >:

Public Types

typedef Entry base_type
 

Public Member Functions

 EntryImpl (Ptr< ContentStore > cs, shared_ptr< const Data > data)
 
void SetTrie (typename CS::super::iterator item)
 
CS::super::iterator to_iterator ()
 
CS::super::const_iterator to_iterator () const
 
- Public Member Functions inherited from ns3::ndn::cs::Entry
 Entry (Ptr< ContentStore > cs, shared_ptr< const Data > data)
 Construct content store entry. More...
 
const NameGetName () const
 Get prefix of the stored entry. More...
 
shared_ptr< const DataGetData () const
 Get Data of the stored entry. More...
 
Ptr< ContentStoreGetContentStore ()
 Get pointer to access store, to which this entry is added. More...
 

Detailed Description

template<class CS>
class ns3::ndn::cs::EntryImpl< CS >

Cache entry implementation with additional references to the base container.

Definition at line 45 of file content-store-impl.hpp.

Member Typedef Documentation

template<class CS >
typedef Entry ns3::ndn::cs::EntryImpl< CS >::base_type

Definition at line 47 of file content-store-impl.hpp.

Constructor & Destructor Documentation

template<class CS >
ns3::ndn::cs::EntryImpl< CS >::EntryImpl ( Ptr< ContentStore cs,
shared_ptr< const Data data 
)
inline

Definition at line 50 of file content-store-impl.hpp.

Member Function Documentation

template<class CS >
void ns3::ndn::cs::EntryImpl< CS >::SetTrie ( typename CS::super::iterator  item)
inline

Definition at line 57 of file content-store-impl.hpp.

template<class CS >
CS::super::iterator ns3::ndn::cs::EntryImpl< CS >::to_iterator ( )
inline

Definition at line 63 of file content-store-impl.hpp.

template<class CS >
CS::super::const_iterator ns3::ndn::cs::EntryImpl< CS >::to_iterator ( ) const
inline

Definition at line 68 of file content-store-impl.hpp.


The documentation for this class was generated from the following file: