represents Face Query Filter More...
#include <face-query-filter.hpp>
Classes | |
class | Error |
represents Face Query Filter
Definition at line 37 of file face-query-filter.hpp.
|
default |
|
explicit |
Definition at line 38 of file face-query-filter.cpp.
References wireDecode().
size_t ndn::nfd::FaceQueryFilter::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
prepend FaceQueryFilter to the encoder
Definition at line 45 of file face-query-filter.cpp.
References ndn::tlv::nfd::FaceId, ndn::tlv::nfd::FacePersistency, ndn::tlv::nfd::FaceQueryFilter, ndn::tlv::nfd::FaceScope, hasLocalUri(), hasRemoteUri(), hasUriScheme(), ndn::tlv::nfd::LinkType, ndn::tlv::nfd::LocalUri, ndn::nfd::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(), ndn::encoding::prependNonNegativeIntegerBlock(), ndn::encoding::prependStringBlock(), ndn::tlv::nfd::Uri, and ndn::tlv::nfd::UriScheme.
Referenced by ndn::nfd::FaceQueryDataset::FaceQueryDataset().
const Block & ndn::nfd::FaceQueryFilter::wireEncode | ( | ) | const |
encode FaceQueryFilter
Definition at line 89 of file face-query-filter.cpp.
References ndn::Block::hasWire().
void ndn::nfd::FaceQueryFilter::wireDecode | ( | const Block & | wire | ) |
decode FaceQueryFilter
Definition at line 105 of file face-query-filter.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::nfd::FaceId, ndn::tlv::nfd::FacePersistency, ndn::tlv::nfd::FaceQueryFilter, ndn::tlv::nfd::FaceScope, ndn::tlv::nfd::LinkType, ndn::tlv::nfd::LocalUri, NDN_THROW, nonstd::optional_lite::nullopt, ndn::Block::parse(), ndn::encoding::readNonNegativeInteger(), ndn::encoding::readString(), ndn::Block::type(), ndn::tlv::nfd::Uri, and ndn::tlv::nfd::UriScheme.
Referenced by FaceQueryFilter(), and nfd::matchFilter().
bool ndn::nfd::FaceQueryFilter::empty | ( | ) | const |
Definition at line 175 of file face-query-filter.cpp.
References hasFaceId(), hasFacePersistency(), hasFaceScope(), hasLinkType(), hasLocalUri(), hasRemoteUri(), and hasUriScheme().
|
inline |
Definition at line 74 of file face-query-filter.hpp.
Referenced by empty(), getFaceId(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 80 of file face-query-filter.hpp.
References hasFaceId(), setFaceId(), and unsetFaceId().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceId | ( | uint64_t | faceId | ) |
Definition at line 187 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceId().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceId | ( | ) |
Definition at line 195 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
Referenced by getFaceId().
|
inline |
Definition at line 93 of file face-query-filter.hpp.
Referenced by empty(), getUriScheme(), nfd::matchFilter(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 99 of file face-query-filter.hpp.
References hasUriScheme(), setUriScheme(), and unsetUriScheme().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setUriScheme | ( | const std::string & | uriScheme | ) |
Definition at line 203 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getUriScheme(), and unsetUriScheme().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetUriScheme | ( | ) |
Definition at line 211 of file face-query-filter.cpp.
References setUriScheme().
Referenced by getUriScheme().
|
inline |
Definition at line 112 of file face-query-filter.hpp.
Referenced by empty(), getRemoteUri(), nfd::matchFilter(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 118 of file face-query-filter.hpp.
References hasRemoteUri(), setRemoteUri(), and unsetRemoteUri().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setRemoteUri | ( | const std::string & | remoteUri | ) |
Definition at line 217 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getRemoteUri(), and unsetRemoteUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetRemoteUri | ( | ) |
Definition at line 225 of file face-query-filter.cpp.
References setRemoteUri().
Referenced by getRemoteUri().
|
inline |
Definition at line 131 of file face-query-filter.hpp.
Referenced by empty(), getLocalUri(), nfd::matchFilter(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 137 of file face-query-filter.hpp.
References hasLocalUri(), setLocalUri(), and unsetLocalUri().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLocalUri | ( | const std::string & | localUri | ) |
Definition at line 231 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLocalUri(), and unsetLocalUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLocalUri | ( | ) |
Definition at line 239 of file face-query-filter.cpp.
References setLocalUri().
Referenced by getLocalUri().
|
inline |
Definition at line 150 of file face-query-filter.hpp.
Referenced by empty(), getFaceScope(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 156 of file face-query-filter.hpp.
References hasFaceScope(), setFaceScope(), and unsetFaceScope().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceScope | ( | FaceScope | faceScope | ) |
Definition at line 245 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceScope().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceScope | ( | ) |
Definition at line 253 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
Referenced by getFaceScope().
|
inline |
Definition at line 169 of file face-query-filter.hpp.
Referenced by empty(), getFacePersistency(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 175 of file face-query-filter.hpp.
References hasFacePersistency(), setFacePersistency(), and unsetFacePersistency().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFacePersistency | ( | FacePersistency | facePersistency | ) |
Definition at line 261 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFacePersistency().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFacePersistency | ( | ) |
Definition at line 269 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
Referenced by getFacePersistency().
|
inline |
Definition at line 188 of file face-query-filter.hpp.
Referenced by empty(), getLinkType(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 194 of file face-query-filter.hpp.
References hasLinkType(), ndn::nfd::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(), ndn::nfd::operator==(), setLinkType(), and unsetLinkType().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLinkType | ( | LinkType | linkType | ) |
Definition at line 277 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLinkType().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLinkType | ( | ) |
Definition at line 285 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
Referenced by getLinkType().