represents Face Query Filter More...
#include <face-query-filter.hpp>
Classes | |
class | Error |
represents Face Query Filter
Definition at line 36 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::encoding::prependNonNegativeIntegerBlock(), ndn::encoding::prependStringBlock(), ndn::tlv::nfd::Uri, and ndn::tlv::nfd::UriScheme.
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, 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().
bool ndn::nfd::FaceQueryFilter::empty | ( | ) | const |
Definition at line 174 of file face-query-filter.cpp.
References hasFaceId(), hasFacePersistency(), hasFaceScope(), hasLinkType(), hasLocalUri(), hasRemoteUri(), and hasUriScheme().
|
inline |
Definition at line 73 of file face-query-filter.hpp.
Referenced by empty(), getFaceId(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 79 of file face-query-filter.hpp.
References hasFaceId().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceId | ( | uint64_t | faceId | ) |
Definition at line 186 of file face-query-filter.cpp.
References ndn::Block::reset().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceId | ( | ) |
Definition at line 194 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
|
inline |
Definition at line 92 of file face-query-filter.hpp.
Referenced by empty(), getUriScheme(), nfd::matchFilter(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 98 of file face-query-filter.hpp.
References hasUriScheme().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setUriScheme | ( | const std::string & | uriScheme | ) |
Definition at line 202 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by unsetUriScheme().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetUriScheme | ( | ) |
Definition at line 210 of file face-query-filter.cpp.
References setUriScheme().
|
inline |
Definition at line 111 of file face-query-filter.hpp.
Referenced by empty(), getRemoteUri(), nfd::matchFilter(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 117 of file face-query-filter.hpp.
References hasRemoteUri().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setRemoteUri | ( | const std::string & | remoteUri | ) |
Definition at line 216 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by unsetRemoteUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetRemoteUri | ( | ) |
Definition at line 224 of file face-query-filter.cpp.
References setRemoteUri().
|
inline |
Definition at line 130 of file face-query-filter.hpp.
Referenced by empty(), getLocalUri(), nfd::matchFilter(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 136 of file face-query-filter.hpp.
References hasLocalUri().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLocalUri | ( | const std::string & | localUri | ) |
Definition at line 230 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by unsetLocalUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLocalUri | ( | ) |
Definition at line 238 of file face-query-filter.cpp.
References setLocalUri().
|
inline |
Definition at line 149 of file face-query-filter.hpp.
Referenced by empty(), getFaceScope(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 155 of file face-query-filter.hpp.
References hasFaceScope().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceScope | ( | FaceScope | faceScope | ) |
Definition at line 244 of file face-query-filter.cpp.
References ndn::Block::reset().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceScope | ( | ) |
Definition at line 252 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
|
inline |
Definition at line 168 of file face-query-filter.hpp.
Referenced by empty(), getFacePersistency(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 174 of file face-query-filter.hpp.
References hasFacePersistency().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFacePersistency | ( | FacePersistency | facePersistency | ) |
Definition at line 260 of file face-query-filter.cpp.
References ndn::Block::reset().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFacePersistency | ( | ) |
Definition at line 268 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().
|
inline |
Definition at line 187 of file face-query-filter.hpp.
Referenced by empty(), getLinkType(), nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 193 of file face-query-filter.hpp.
References hasLinkType().
Referenced by nfd::matchFilter(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLinkType | ( | LinkType | linkType | ) |
Definition at line 276 of file face-query-filter.cpp.
References ndn::Block::reset().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLinkType | ( | ) |
Definition at line 284 of file face-query-filter.cpp.
References nonstd::optional_lite::nullopt, and ndn::Block::reset().