ndn::nfd::StrategyChoice Class Reference

represents an item in NFD StrategyChoice dataset More...

#include <ndn-cxx/mgmt/nfd/strategy-choice.hpp>

Classes

class  Error
 

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

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

Definition at line 35 of file strategy-choice.cpp.

Member Function Documentation

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

Definition at line 62 of file strategy-choice.hpp.

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

Definition at line 71 of file strategy-choice.hpp.

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

Definition at line 107 of file strategy-choice.cpp.

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

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

void ndn::nfd::StrategyChoice::wireDecode ( const Block wire)

Definition at line 73 of file strategy-choice.cpp.

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

Definition at line 42 of file strategy-choice.cpp.

const Block & ndn::nfd::StrategyChoice::wireEncode ( ) const

Definition at line 57 of file strategy-choice.cpp.