20 #ifndef PSYNC_STATE_HPP 21 #define PSYNC_STATE_HPP 23 #include <ndn-cxx/name.hpp> 38 explicit State(
const ndn::Block& block);
43 addContent(
const ndn::Name& prefix);
45 const std::vector<ndn::Name>&
54 template<ndn::encoding::Tag TAG>
56 wireEncode(ndn::EncodingImpl<TAG>& block)
const;
59 wireDecode(
const ndn::Block& wire);
62 std::vector<ndn::Name> m_content;
63 mutable ndn::Block m_wire;
66 NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(
State);
73 #endif // PSYNC_STATE_HPP
const std::vector< ndn::Name > & getContent() const
std::ostream & operator<<(std::ostream &out, const BloomFilter &bf)