22 #ifndef NDN_MGMT_NFD_FACE_QUERY_FILTER_HPP 23 #define NDN_MGMT_NFD_FACE_QUERY_FILTER_HPP 25 #include "../../encoding/block.hpp" 26 #include "../../encoding/nfd-constants.hpp" 56 template<encoding::Tag TAG>
98 return !m_uriScheme.empty();
117 return !m_remoteUri.empty();
136 return !m_localUri.empty();
155 return !!m_faceScope;
174 return !!m_facePersistency;
181 return *m_facePersistency;
211 std::string m_uriScheme;
212 std::string m_remoteUri;
213 std::string m_localUri;
218 mutable Block m_wire;
238 #endif // NDN_MGMT_NFD_FACE_QUERY_FILTER_HPP const std::string & getUriScheme() const
Copyright (c) 2013-2017 Regents of the University of California.
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
FaceQueryFilter & unsetLocalUri()
Represents a TLV element of NDN packet format.
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
LinkType getLinkType() const
FaceQueryFilter & unsetFaceScope()
bool hasUriScheme() const
FaceQueryFilter & setLocalUri(const std::string &localUri)
uint64_t getFaceId() const
bool hasFaceScope() const
const std::string & getLocalUri() const
FacePersistency getFacePersistency() const
bool operator==(const ChannelStatus &a, const ChannelStatus &b)
FaceQueryFilter & setFaceScope(FaceScope faceScope)
FaceQueryFilter & unsetFaceId()
bool hasRemoteUri() const
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
FaceQueryFilter & setUriScheme(const std::string &uriScheme)
const Block & wireEncode() const
encode FaceQueryFilter
FaceQueryFilter & unsetFacePersistency()
represents Face Query Filter
FaceQueryFilter & unsetUriScheme()
const std::string & getRemoteUri() const
FaceQueryFilter & unsetRemoteUri()
FaceQueryFilter & setRemoteUri(const std::string &remoteUri)
Error(const std::string &what)
FaceQueryFilter & setFaceId(uint64_t faceId)
FaceQueryFilter & setLinkType(LinkType linkType)
FaceQueryFilter & setFacePersistency(FacePersistency facePersistency)
void wireDecode(const Block &wire)
decode FaceQueryFilter
bool hasFacePersistency() const
represents an error in TLV encoding or decoding
FaceScope getFaceScope() const
FaceQueryFilter & unsetLinkType()