22 #ifndef NDN_CXX_MGMT_CONTROL_RESPONSE_HPP 
   23 #define NDN_CXX_MGMT_CONTROL_RESPONSE_HPP 
   58   setText(
const std::string& text);
 
   94 inline const std::string&
 
Represents a TLV element of the NDN packet format.
 
void encode()
Encode sub-elements into TLV-VALUE.
 
void reset() noexcept
Reset the Block to a default-constructed state.
 
void wireDecode(const Block &block)
 
const Block & getBody() const
 
const Block & wireEncode() const
 
ControlResponse & setBody(const Block &body)
 
ControlResponse & setText(const std::string &text)
 
ControlResponse & setCode(uint32_t code)
 
const std::string & getText() const
 
represents an error in TLV encoding or decoding
 
Error(const char *expectedType, uint32_t actualType)
 
std::ostream & operator<<(std::ostream &os, const ControlResponse &response)