31 BOOST_CONCEPT_ASSERT((StatusDatasetItem<StrategyChoice>));
    40 template<encoding::Tag TAG>
    44   size_t totalLength = 0;
    49   totalLength += encoder.prependVarNumber(totalLength);
    68   m_wire = buffer.block();
    93     if (val->elements().empty()) {
   118   m_strategy = strategy;
   131   return os << 
"StrategyChoice("   132             << 
"Name: " << sc.
getName() << 
", " 
size_t prependNestedBlock(EncodingImpl< TAG > &encoder, uint32_t type, const U &value)
Prepend a TLV element containing a nested TLV element. 
void parse() const
Parse TLV-VALUE into sub-elements. 
Represents a TLV element of NDN packet format. 
bool hasWire() const noexcept
Check if the Block contains a fully encoded wire representation. 
const Name & getName() const
element_const_iterator elements_begin() const
Equivalent to elements().begin() 
void wireDecode(const Block &wire)
element_const_iterator elements_end() const
Equivalent to elements().end() 
void reset() noexcept
Reset the Block to a default-constructed state. 
bool operator==(const ChannelStatus &a, const ChannelStatus &b)
const Name & getStrategy() const
#define NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
StrategyChoice & setStrategy(const Name &strategy)
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
Represents an absolute name. 
const Block & wireEncode() const
size_t wireEncode(EncodingImpl< TAG > &encoder) const
Fast encoding or block size estimation. 
represents an item in NFD StrategyChoice dataset 
void wireDecode(const Block &wire)
Decode name from wire encoding. 
StrategyChoice & setName(const Name &name)
EncodingImpl< EncoderTag > EncodingBuffer
uint32_t type() const
Return the TLV-TYPE of the Block. 
EncodingImpl< EstimatorTag > EncodingEstimator