22 #ifndef NDN_CXX_LINK_HPP
23 #define NDN_CXX_LINK_HPP
72 Link(
const Name& name, std::initializer_list<Name> delegations = {});
113 std::vector<Name> m_delegations;
Represents a TLV element of the NDN packet format.
Represents a Data packet.
Represents a LinkObject TLV element.
span< const Name > getDelegationList() const
Get the delegations.
Link()
Create an empty Link object.
void setDelegationList(std::vector< Name > delegations)
Set the delegations.
void wireDecode(const Block &wire)
Decode from the wire format.
bool addDelegation(const Name &name)
Append a delegation at the end.
bool removeDelegation(const Name &name)
Remove a delegation whose name is name.
Represents an absolute name.
Error(const char *expectedType, uint32_t actualType)