NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::NextHopRecord Class Reference

#include <fib-entry.hpp>

Classes

class  Error
 

Public Member Functions

 NextHopRecord ()
 
 NextHopRecord (const Block &block)
 
uint64_t getFaceId () const
 
NextHopRecordsetFaceId (uint64_t faceId)
 
uint64_t getCost () const
 
NextHopRecordsetCost (uint64_t cost)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &block) const
 
const BlockwireEncode () const
 
void wireDecode (const Block &block)
 

Detailed Description

Constructor & Destructor Documentation

ndn::nfd::NextHopRecord::NextHopRecord ( )

Definition at line 36 of file fib-entry.cpp.

Referenced by ndn::nfd::NextHopRecord::Error::Error().

ndn::nfd::NextHopRecord::NextHopRecord ( const Block block)
explicit

Definition at line 42 of file fib-entry.cpp.

References wireDecode().

Member Function Documentation

uint64_t ndn::nfd::NextHopRecord::getFaceId ( ) const
inline

Definition at line 53 of file fib-entry.hpp.

References setFaceId().

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

NextHopRecord & ndn::nfd::NextHopRecord::setFaceId ( uint64_t  faceId)

Definition at line 48 of file fib-entry.cpp.

References ndn::Block::reset().

Referenced by getFaceId().

uint64_t ndn::nfd::NextHopRecord::getCost ( ) const
inline
NextHopRecord & ndn::nfd::NextHopRecord::setCost ( uint64_t  cost)

Definition at line 56 of file fib-entry.cpp.

References ndn::Block::reset().

Referenced by getCost().

template<encoding::Tag TAG>
size_t ndn::nfd::NextHopRecord::wireEncode ( EncodingImpl< TAG > &  block) const
const Block & ndn::nfd::NextHopRecord::wireEncode ( ) const

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