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.
ndn::nfd::FaceQueryFilter::FaceQueryFilter | ( | ) |
Definition at line 36 of file face-query-filter.cpp.
Referenced by ndn::nfd::FaceQueryFilter::Error::Error().
|
explicit |
Definition at line 47 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 54 of file face-query-filter.cpp.
References 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::encoding::prependNonNegativeIntegerBlock(), 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 105 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 121 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::Block::parse(), ndn::encoding::readNonNegativeInteger(), ndn::Block::type(), ndn::tlv::nfd::Uri, and ndn::tlv::nfd::UriScheme.
Referenced by ndn::nfd::FaceQueryFilter::Error::Error(), FaceQueryFilter(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 73 of file face-query-filter.hpp.
Referenced by getFaceId(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 79 of file face-query-filter.hpp.
References hasFaceId(), setFaceId(), and unsetFaceId().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceId | ( | uint64_t | faceId | ) |
Definition at line 198 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceId().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceId | ( | ) |
Definition at line 207 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceId().
|
inline |
Definition at line 92 of file face-query-filter.hpp.
Referenced by getUriScheme(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 98 of file face-query-filter.hpp.
References hasUriScheme(), setUriScheme(), and unsetUriScheme().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setUriScheme | ( | const std::string & | uriScheme | ) |
Definition at line 215 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getUriScheme().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetUriScheme | ( | ) |
Definition at line 224 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getUriScheme().
|
inline |
Definition at line 111 of file face-query-filter.hpp.
Referenced by getRemoteUri(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 117 of file face-query-filter.hpp.
References hasRemoteUri(), setRemoteUri(), and unsetRemoteUri().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setRemoteUri | ( | const std::string & | remoteUri | ) |
Definition at line 232 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getRemoteUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetRemoteUri | ( | ) |
Definition at line 241 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getRemoteUri().
|
inline |
Definition at line 130 of file face-query-filter.hpp.
Referenced by getLocalUri(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 136 of file face-query-filter.hpp.
References hasLocalUri(), setLocalUri(), and unsetLocalUri().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLocalUri | ( | const std::string & | localUri | ) |
Definition at line 249 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLocalUri().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLocalUri | ( | ) |
Definition at line 258 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLocalUri().
|
inline |
Definition at line 149 of file face-query-filter.hpp.
Referenced by getFaceScope(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 155 of file face-query-filter.hpp.
References hasFaceScope(), setFaceScope(), and unsetFaceScope().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceScope | ( | FaceScope | faceScope | ) |
Definition at line 266 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceScope().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceScope | ( | ) |
Definition at line 275 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFaceScope().
|
inline |
Definition at line 168 of file face-query-filter.hpp.
Referenced by getFacePersistency(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 174 of file face-query-filter.hpp.
References hasFacePersistency(), setFacePersistency(), and unsetFacePersistency().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFacePersistency | ( | FacePersistency | facePersistency | ) |
Definition at line 283 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFacePersistency().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFacePersistency | ( | ) |
Definition at line 292 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getFacePersistency().
|
inline |
Definition at line 187 of file face-query-filter.hpp.
Referenced by getLinkType(), ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 193 of file face-query-filter.hpp.
References hasLinkType(), ndn::nfd::operator<<(), setLinkType(), and unsetLinkType().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLinkType | ( | LinkType | linkType | ) |
Definition at line 300 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLinkType().
FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLinkType | ( | ) |
Definition at line 309 of file face-query-filter.cpp.
References ndn::Block::reset().
Referenced by getLinkType().