ndn::nfd::FaceQueryFilter Class Reference

Represents Face Query Filter. More...

#include <ndn-cxx/mgmt/nfd/face-query-filter.hpp>

Classes

class  Error
 

Public Member Functions

 FaceQueryFilter ()
 
 FaceQueryFilter (const Block &block)
 
bool empty () const
 
uint64_t getFaceId () const
 
FacePersistency getFacePersistency () const
 
FaceScope getFaceScope () const
 
LinkType getLinkType () const
 
const std::string & getLocalUri () const
 
const std::string & getRemoteUri () const
 
const std::string & getUriScheme () const
 
bool hasFaceId () const
 
bool hasFacePersistency () const
 
bool hasFaceScope () const
 
bool hasLinkType () const
 
bool hasLocalUri () const
 
bool hasRemoteUri () const
 
bool hasUriScheme () const
 
FaceQueryFiltersetFaceId (uint64_t faceId)
 
FaceQueryFiltersetFacePersistency (FacePersistency facePersistency)
 
FaceQueryFiltersetFaceScope (FaceScope faceScope)
 
FaceQueryFiltersetLinkType (LinkType linkType)
 
FaceQueryFiltersetLocalUri (const std::string &localUri)
 
FaceQueryFiltersetRemoteUri (const std::string &remoteUri)
 
FaceQueryFiltersetUriScheme (const std::string &uriScheme)
 
FaceQueryFilterunsetFaceId ()
 
FaceQueryFilterunsetFacePersistency ()
 
FaceQueryFilterunsetFaceScope ()
 
FaceQueryFilterunsetLinkType ()
 
FaceQueryFilterunsetLocalUri ()
 
FaceQueryFilterunsetRemoteUri ()
 
FaceQueryFilterunsetUriScheme ()
 
void wireDecode (const Block &wire)
 Decode FaceQueryFilter. More...
 
const BlockwireEncode () const
 Encode FaceQueryFilter. More...
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) const
 Prepend FaceQueryFilter to the encoder. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ FaceQueryFilter() [1/2]

ndn::nfd::FaceQueryFilter::FaceQueryFilter ( )
default

◆ FaceQueryFilter() [2/2]

ndn::nfd::FaceQueryFilter::FaceQueryFilter ( const Block block)
explicit

Definition at line 30 of file face-query-filter.cpp.

Member Function Documentation

◆ empty()

bool ndn::nfd::FaceQueryFilter::empty ( ) const
Returns
Whether the filter is empty.

Definition at line 167 of file face-query-filter.cpp.

◆ getFaceId()

uint64_t ndn::nfd::FaceQueryFilter::getFaceId ( ) const
inline

Definition at line 80 of file face-query-filter.hpp.

◆ getFacePersistency()

FacePersistency ndn::nfd::FaceQueryFilter::getFacePersistency ( ) const
inline

Definition at line 175 of file face-query-filter.hpp.

◆ getFaceScope()

FaceScope ndn::nfd::FaceQueryFilter::getFaceScope ( ) const
inline

Definition at line 156 of file face-query-filter.hpp.

◆ getLinkType()

LinkType ndn::nfd::FaceQueryFilter::getLinkType ( ) const
inline

Definition at line 194 of file face-query-filter.hpp.

◆ getLocalUri()

const std::string& ndn::nfd::FaceQueryFilter::getLocalUri ( ) const
inline

Definition at line 137 of file face-query-filter.hpp.

◆ getRemoteUri()

const std::string& ndn::nfd::FaceQueryFilter::getRemoteUri ( ) const
inline

Definition at line 118 of file face-query-filter.hpp.

◆ getUriScheme()

const std::string& ndn::nfd::FaceQueryFilter::getUriScheme ( ) const
inline

Definition at line 99 of file face-query-filter.hpp.

◆ hasFaceId()

bool ndn::nfd::FaceQueryFilter::hasFaceId ( ) const
inline

Definition at line 74 of file face-query-filter.hpp.

◆ hasFacePersistency()

bool ndn::nfd::FaceQueryFilter::hasFacePersistency ( ) const
inline

Definition at line 169 of file face-query-filter.hpp.

◆ hasFaceScope()

bool ndn::nfd::FaceQueryFilter::hasFaceScope ( ) const
inline

Definition at line 150 of file face-query-filter.hpp.

◆ hasLinkType()

bool ndn::nfd::FaceQueryFilter::hasLinkType ( ) const
inline

Definition at line 188 of file face-query-filter.hpp.

◆ hasLocalUri()

bool ndn::nfd::FaceQueryFilter::hasLocalUri ( ) const
inline

Definition at line 131 of file face-query-filter.hpp.

◆ hasRemoteUri()

bool ndn::nfd::FaceQueryFilter::hasRemoteUri ( ) const
inline

Definition at line 112 of file face-query-filter.hpp.

◆ hasUriScheme()

bool ndn::nfd::FaceQueryFilter::hasUriScheme ( ) const
inline

Definition at line 93 of file face-query-filter.hpp.

◆ setFaceId()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceId ( uint64_t  faceId)

Definition at line 179 of file face-query-filter.cpp.

◆ setFacePersistency()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFacePersistency ( FacePersistency  facePersistency)

Definition at line 253 of file face-query-filter.cpp.

◆ setFaceScope()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setFaceScope ( FaceScope  faceScope)

Definition at line 237 of file face-query-filter.cpp.

◆ setLinkType()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLinkType ( LinkType  linkType)

Definition at line 269 of file face-query-filter.cpp.

◆ setLocalUri()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setLocalUri ( const std::string &  localUri)

Definition at line 223 of file face-query-filter.cpp.

◆ setRemoteUri()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setRemoteUri ( const std::string &  remoteUri)

Definition at line 209 of file face-query-filter.cpp.

◆ setUriScheme()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::setUriScheme ( const std::string &  uriScheme)

Definition at line 195 of file face-query-filter.cpp.

◆ unsetFaceId()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceId ( )

Definition at line 187 of file face-query-filter.cpp.

◆ unsetFacePersistency()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFacePersistency ( )

Definition at line 261 of file face-query-filter.cpp.

◆ unsetFaceScope()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetFaceScope ( )

Definition at line 245 of file face-query-filter.cpp.

◆ unsetLinkType()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLinkType ( )

Definition at line 277 of file face-query-filter.cpp.

◆ unsetLocalUri()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetLocalUri ( )

Definition at line 231 of file face-query-filter.cpp.

◆ unsetRemoteUri()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetRemoteUri ( )

Definition at line 217 of file face-query-filter.cpp.

◆ unsetUriScheme()

FaceQueryFilter & ndn::nfd::FaceQueryFilter::unsetUriScheme ( )

Definition at line 203 of file face-query-filter.cpp.

◆ wireDecode()

void ndn::nfd::FaceQueryFilter::wireDecode ( const Block wire)

Decode FaceQueryFilter.

Definition at line 97 of file face-query-filter.cpp.

◆ wireEncode() [1/2]

const Block & ndn::nfd::FaceQueryFilter::wireEncode ( ) const

Encode FaceQueryFilter.

Definition at line 81 of file face-query-filter.cpp.

◆ wireEncode() [2/2]

template<encoding::Tag TAG>
size_t ndn::nfd::FaceQueryFilter::wireEncode ( EncodingImpl< TAG > &  encoder) const

Prepend FaceQueryFilter to the encoder.

Definition at line 37 of file face-query-filter.cpp.