22 #ifndef NDN_CXX_MGMT_NFD_FIB_ENTRY_HPP
23 #define NDN_CXX_MGMT_NFD_FIB_ENTRY_HPP
66 template<encoding::Tag TAG>
124 const std::vector<NextHopRecord>&
127 return m_nextHopRecords;
130 template<
typename InputIt>
134 m_nextHopRecords.assign(first, last);
145 template<encoding::Tag TAG>
157 std::vector<NextHopRecord> m_nextHopRecords;
159 mutable Block m_wire;
Represents a TLV element of the NDN packet format.
void reset() noexcept
Reset the Block to a default-constructed state.
Represents an absolute name.
FibEntry & clearNextHopRecords()
const Block & wireEncode() const
FibEntry & setNextHopRecords(InputIt first, InputIt last)
FibEntry & setPrefix(const Name &prefix)
void wireDecode(const Block &block)
FibEntry & addNextHopRecord(const NextHopRecord &nh)
const Name & getPrefix() const
const std::vector< NextHopRecord > & getNextHopRecords() const
NextHopRecord & setFaceId(uint64_t faceId)
void wireDecode(const Block &block)
NextHopRecord & setCost(uint64_t cost)
uint64_t getFaceId() const
const Block & wireEncode() const
Represents an error in TLV encoding or decoding.
Error(const char *expectedType, uint32_t actualType)
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
bool operator==(const ChannelStatus &a, const ChannelStatus &b)