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 |
Referenced by ndn::nfd::FaceQueryFilter::Error::Error().
|
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().
Referenced by ndn::nfd::FaceQueryFilter::Error::Error().
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 ndn::nfd::FaceQueryFilter::Error::Error(), FaceQueryFilter(), and nfd::FaceManager::setConfigFile().
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().
Referenced by ndn::nfd::FaceQueryFilter::Error::Error().
|
inline |
Definition at line 77 of file face-query-filter.hpp.
Referenced by empty(), getFaceId(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 83 of file face-query-filter.hpp.
References hasFaceId(), setFaceId(), and unsetFaceId().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceId | ( | uint64_t | faceId | ) |
Definition at line 186 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceId().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceId | ( | ) |
Definition at line 194 of file face-query-filter.cpp.
References ndn::nullopt, and ndn::Block::reset().
Referenced by getFaceId().
|
inline |
Definition at line 96 of file face-query-filter.hpp.
Referenced by empty(), getUriScheme(), ndn::nfd::operator<<(), ndn::nfd::operator==(), nfd::FaceManager::setConfigFile(), and wireEncode().
|
inline |
Definition at line 102 of file face-query-filter.hpp.
References hasUriScheme(), setUriScheme(), and unsetUriScheme().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
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 getUriScheme(), and unsetUriScheme().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetUriScheme | ( | ) |
Definition at line 210 of file face-query-filter.cpp.
References setUriScheme().
Referenced by getUriScheme().
|
inline |
Definition at line 115 of file face-query-filter.hpp.
Referenced by empty(), getRemoteUri(), ndn::nfd::operator<<(), ndn::nfd::operator==(), nfd::FaceManager::setConfigFile(), and wireEncode().
|
inline |
Definition at line 121 of file face-query-filter.hpp.
References hasRemoteUri(), setRemoteUri(), and unsetRemoteUri().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
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 getRemoteUri(), and unsetRemoteUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetRemoteUri | ( | ) |
Definition at line 224 of file face-query-filter.cpp.
References setRemoteUri().
Referenced by getRemoteUri().
|
inline |
Definition at line 134 of file face-query-filter.hpp.
Referenced by empty(), getLocalUri(), ndn::nfd::operator<<(), ndn::nfd::operator==(), nfd::FaceManager::setConfigFile(), and wireEncode().
|
inline |
Definition at line 140 of file face-query-filter.hpp.
References hasLocalUri(), setLocalUri(), and unsetLocalUri().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
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 getLocalUri(), and unsetLocalUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLocalUri | ( | ) |
Definition at line 238 of file face-query-filter.cpp.
References setLocalUri().
Referenced by getLocalUri().
|
inline |
Definition at line 153 of file face-query-filter.hpp.
Referenced by empty(), getFaceScope(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 159 of file face-query-filter.hpp.
References hasFaceScope(), setFaceScope(), and unsetFaceScope().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceScope | ( | FaceScope | faceScope | ) |
Definition at line 244 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceScope().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceScope | ( | ) |
Definition at line 252 of file face-query-filter.cpp.
References ndn::nullopt, and ndn::Block::reset().
Referenced by getFaceScope().
|
inline |
Definition at line 172 of file face-query-filter.hpp.
Referenced by empty(), getFacePersistency(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 178 of file face-query-filter.hpp.
References hasFacePersistency(), setFacePersistency(), and unsetFacePersistency().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFacePersistency | ( | FacePersistency | facePersistency | ) |
Definition at line 260 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFacePersistency().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFacePersistency | ( | ) |
Definition at line 268 of file face-query-filter.cpp.
References ndn::nullopt, and ndn::Block::reset().
Referenced by getFacePersistency().
|
inline |
Definition at line 191 of file face-query-filter.hpp.
Referenced by empty(), getLinkType(), ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 197 of file face-query-filter.hpp.
References hasLinkType(), ndn::nfd::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(), ndn::nfd::operator==(), setLinkType(), and unsetLinkType().
Referenced by ndn::nfd::operator<<(), ndn::nfd::operator==(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLinkType | ( | LinkType | linkType | ) |
Definition at line 276 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLinkType().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLinkType | ( | ) |
Definition at line 284 of file face-query-filter.cpp.
References ndn::nullopt, and ndn::Block::reset().
Referenced by getLinkType().