30 BOOST_CONCEPT_ASSERT((StatusDatasetItem<ChannelStatus>));
 
   39 template<encoding::Tag TAG>
 
   43   size_t totalLength = 0;
 
   45   totalLength += encoder.prependVarNumber(totalLength);
 
   64   m_wire = buffer.block();
 
   92   m_localUri = localUri;
 
  105   return os << 
"Channel(LocalUri: " << status.
getLocalUri() << 
")";
 
Represents a TLV element of the NDN packet format.
 
uint32_t type() const
Return the TLV-TYPE of the Block.
 
bool hasWire() const noexcept
Check if the Block contains a fully encoded wire representation.
 
element_const_iterator elements_end() const
Equivalent to elements().end()
 
element_const_iterator elements_begin() const
Equivalent to elements().begin()
 
void reset() noexcept
Reset the Block to a default-constructed state.
 
void parse() const
Parse TLV-VALUE into sub-elements.
 
represents an item in NFD Channel dataset
 
const std::string & getLocalUri() const
 
ChannelStatus & setLocalUri(const std::string localUri)
 
void wireDecode(const Block &wire)
 
const Block & wireEncode() const
 
#define NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
 
EncodingImpl< EstimatorTag > EncodingEstimator
 
size_t prependStringBlock(EncodingImpl< TAG > &encoder, uint32_t type, const std::string &value)
Prepend a TLV element containing a string.
 
std::string readString(const Block &block)
Read TLV-VALUE of a TLV element as a string.
 
EncodingImpl< EncoderTag > EncodingBuffer
 
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
 
bool operator==(const ChannelStatus &a, const ChannelStatus &b)