22 #ifndef NDN_CXX_MGMT_NFD_FACE_QUERY_FILTER_HPP 23 #define NDN_CXX_MGMT_NFD_FACE_QUERY_FILTER_HPP 53 template<encoding::Tag TAG>
95 return !m_uriScheme.empty();
114 return !m_remoteUri.empty();
133 return !m_localUri.empty();
152 return !!m_faceScope;
171 return !!m_facePersistency;
178 return *m_facePersistency;
207 optional<uint64_t> m_faceId;
208 std::string m_uriScheme;
209 std::string m_remoteUri;
210 std::string m_localUri;
211 optional<FaceScope> m_faceScope;
212 optional<FacePersistency> m_facePersistency;
213 optional<LinkType> m_linkType;
215 mutable Block m_wire;
235 #endif // NDN_CXX_MGMT_NFD_FACE_QUERY_FILTER_HPP LinkType getLinkType() const
bool hasFaceScope() const
Copyright (c) 2011-2015 Regents of the University of California.
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
FaceQueryFilter & unsetLocalUri()
const std::string & getLocalUri() const
FaceScope getFaceScope() const
Represents a TLV element of the NDN packet format.
const std::string & getRemoteUri() const
bool hasRemoteUri() const
FaceQueryFilter & unsetFaceScope()
FaceQueryFilter & setLocalUri(const std::string &localUri)
bool hasUriScheme() const
Copyright (c) 2011-2015 Regents of the University of California.
uint64_t getFaceId() const
bool operator==(const ChannelStatus &a, const ChannelStatus &b)
const Block & wireEncode() const
encode FaceQueryFilter
FaceQueryFilter & setFaceScope(FaceScope faceScope)
FaceQueryFilter & unsetFaceId()
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
FaceQueryFilter & setUriScheme(const std::string &uriScheme)
FaceQueryFilter & unsetFacePersistency()
represents Face Query Filter
FaceQueryFilter & unsetUriScheme()
FaceQueryFilter & unsetRemoteUri()
FaceQueryFilter & setRemoteUri(const std::string &remoteUri)
FaceQueryFilter & setFaceId(uint64_t faceId)
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ChannelStatus)
const std::string & getUriScheme() const
FaceQueryFilter & setLinkType(LinkType linkType)
FaceQueryFilter & setFacePersistency(FacePersistency facePersistency)
FacePersistency getFacePersistency() const
bool hasFacePersistency() const
void wireDecode(const Block &wire)
decode FaceQueryFilter
Error(const char *expectedType, uint32_t actualType)
represents an error in TLV encoding or decoding
FaceQueryFilter & unsetLinkType()