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

represents NFD StrategyChoice dataset More...

#include <nfd-strategy-choice.hpp>

Classes

class  Error
 

Public Member Functions

 StrategyChoice ()
 
 StrategyChoice (const Block &payload)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) const
 
const BlockwireEncode () const
 
void wireDecode (const Block &wire)
 
const NamegetName () const
 
StrategyChoicesetName (const Name &name)
 
const NamegetStrategy () const
 
StrategyChoicesetStrategy (const Name &strategy)
 

Detailed Description

Constructor & Destructor Documentation

ndn::nfd::StrategyChoice::StrategyChoice ( )

Definition at line 36 of file nfd-strategy-choice.cpp.

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

ndn::nfd::StrategyChoice::StrategyChoice ( const Block payload)
explicit

Definition at line 40 of file nfd-strategy-choice.cpp.

References wireDecode().

Member Function Documentation

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

Definition at line 66 of file nfd-strategy-choice.cpp.

References ndn::Block::hasWire().

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

const Name& ndn::nfd::StrategyChoice::getName ( ) const
inline

Definition at line 66 of file nfd-strategy-choice.hpp.

References setName().

StrategyChoice & ndn::nfd::StrategyChoice::setName ( const Name name)

Definition at line 115 of file nfd-strategy-choice.cpp.

References ndn::Block::reset().

Referenced by nfd::StrategyChoicePublisher::generate(), and getName().

const Name& ndn::nfd::StrategyChoice::getStrategy ( ) const
inline

Definition at line 75 of file nfd-strategy-choice.hpp.

References setStrategy().

StrategyChoice & ndn::nfd::StrategyChoice::setStrategy ( const Name strategy)

Definition at line 123 of file nfd-strategy-choice.cpp.

References ndn::Block::reset().

Referenced by getStrategy().


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