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 Block & | wireEncode () const |
void | wireDecode (const Block &wire) |
const Name & | getName () const |
StrategyChoice & | setName (const Name &name) |
const Name & | getStrategy () const |
StrategyChoice & | setStrategy (const Name &strategy) |
represents NFD StrategyChoice dataset
Definition at line 36 of file nfd-strategy-choice.hpp.
ndn::nfd::StrategyChoice::StrategyChoice | ( | ) |
Definition at line 36 of file nfd-strategy-choice.cpp.
Referenced by ndn::nfd::StrategyChoice::Error::Error().
|
explicit |
Definition at line 40 of file nfd-strategy-choice.cpp.
References wireDecode().
size_t ndn::nfd::StrategyChoice::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
Definition at line 47 of file nfd-strategy-choice.cpp.
References ndn::encoding::prependNestedBlock(), ndn::tlv::nfd::Strategy, ndn::tlv::nfd::StrategyChoice, and ndn::Name::wireEncode().
Referenced by nfd::StrategyChoiceManager::StrategyChoiceManager().
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().
void ndn::nfd::StrategyChoice::wireDecode | ( | const Block & | wire | ) |
Definition at line 82 of file nfd-strategy-choice.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::Name, ndn::Block::parse(), ndn::tlv::nfd::Strategy, ndn::tlv::nfd::StrategyChoice, ndn::Block::type(), and ndn::Name::wireDecode().
Referenced by ndn::nfd::StrategyChoice::Error::Error(), and StrategyChoice().
|
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 getName(), and nfd::StrategyChoiceManager::StrategyChoiceManager().
|
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().