22 #ifndef NDN_KEY_LOCATOR_HPP
23 #define NDN_KEY_LOCATOR_HPP
77 template<encoding::Tag TAG>
162 mutable Block m_wire;
170 #endif // NDN_KEY_LOCATOR_HPP
Copyright (c) 2013-2016 Regents of the University of California.
std::ostream & operator<<(std::ostream &os, const Data &data)
KeyLocator & setName(const Name &name)
set Name element
void wireDecode(const Block &wire)
decode from wire encoding
KeyLocator & setKeyDigest(const Block &keyDigest)
set KeyDigest element
Class representing a wire element of NDN-TLV packet format.
KeyLocator()
construct an empty KeyLocator
indicates KeyLocator contains a Name
Error(const std::string &what)
const Name & getName() const
get Name element
const Block & getKeyDigest() const
get KeyDigest element
indicates KeyLocator is empty (internal use only)
Name abstraction to represent an absolute name.
indicates KeyLocator contains an unknown element
KeyLocator & clear()
clear KeyLocator
const Block & wireEncode() const
indicates KeyLocator contains a KeyDigest
bool operator==(const KeyLocator &other) const
shared_ptr< const Buffer > ConstBufferPtr
bool operator!=(const KeyLocator &other) const
represents an error in TLV encoding or decoding