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, ndn::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 77 of file face-query-filter.hpp.
Referenced by empty(), getFaceId(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 83 of file face-query-filter.hpp.
References hasFaceId().
Referenced by 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 ndn::nullopt, and ndn::Block::reset().
|
inline |
Definition at line 96 of file face-query-filter.hpp.
Referenced by empty(), getUriScheme(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 102 of file face-query-filter.hpp.
References hasUriScheme().
Referenced by 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 115 of file face-query-filter.hpp.
Referenced by empty(), getRemoteUri(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 121 of file face-query-filter.hpp.
References hasRemoteUri().
Referenced by 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 134 of file face-query-filter.hpp.
Referenced by empty(), getLocalUri(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and wireEncode().
|
inline |
Definition at line 140 of file face-query-filter.hpp.
References hasLocalUri().
Referenced by 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 153 of file face-query-filter.hpp.
Referenced by empty(), getFaceScope(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 159 of file face-query-filter.hpp.
References hasFaceScope().
Referenced by 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 ndn::nullopt, and ndn::Block::reset().
|
inline |
Definition at line 172 of file face-query-filter.hpp.
Referenced by empty(), getFacePersistency(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 178 of file face-query-filter.hpp.
References hasFacePersistency().
Referenced by 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 ndn::nullopt, and ndn::Block::reset().
|
inline |
Definition at line 191 of file face-query-filter.hpp.
Referenced by empty(), getLinkType(), ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 197 of file face-query-filter.hpp.
References hasLinkType().
Referenced by 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 ndn::nullopt, and ndn::Block::reset().