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