NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::FaceQueryFilter Class Reference

represents Face Query Filter More...

#include <face-query-filter.hpp>

Classes

class  Error
 

Public Member Functions

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

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 38 of file face-query-filter.cpp.

References wireDecode().

Member Function Documentation

◆ wireEncode() [1/2]

◆ wireEncode() [2/2]

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

encode FaceQueryFilter

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

References ndn::Block::hasWire().

◆ wireDecode()

◆ empty()

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

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

References hasFaceId(), hasFacePersistency(), hasFaceScope(), hasLinkType(), hasLocalUri(), hasRemoteUri(), and hasUriScheme().

◆ hasFaceId()

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

◆ getFaceId()

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

◆ setFaceId()

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

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

References ndn::Block::reset().

Referenced by getFaceId().

◆ unsetFaceId()

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

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

References nonstd::optional_lite::nullopt, and ndn::Block::reset().

Referenced by getFaceId().

◆ hasUriScheme()

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

◆ getUriScheme()

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

◆ setUriScheme()

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

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

References ndn::Block::reset().

Referenced by getUriScheme(), and unsetUriScheme().

◆ unsetUriScheme()

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

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

References setUriScheme().

Referenced by getUriScheme().

◆ hasRemoteUri()

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

◆ getRemoteUri()

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

◆ setRemoteUri()

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

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

References ndn::Block::reset().

Referenced by getRemoteUri(), and unsetRemoteUri().

◆ unsetRemoteUri()

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

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

References setRemoteUri().

Referenced by getRemoteUri().

◆ hasLocalUri()

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

◆ getLocalUri()

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

◆ setLocalUri()

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

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

References ndn::Block::reset().

Referenced by getLocalUri(), and unsetLocalUri().

◆ unsetLocalUri()

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

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

References setLocalUri().

Referenced by getLocalUri().

◆ hasFaceScope()

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

◆ getFaceScope()

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

◆ setFaceScope()

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

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

References ndn::Block::reset().

Referenced by getFaceScope().

◆ unsetFaceScope()

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

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

References nonstd::optional_lite::nullopt, and ndn::Block::reset().

Referenced by getFaceScope().

◆ hasFacePersistency()

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

◆ getFacePersistency()

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

◆ setFacePersistency()

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

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

References ndn::Block::reset().

Referenced by getFacePersistency().

◆ unsetFacePersistency()

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

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

References nonstd::optional_lite::nullopt, and ndn::Block::reset().

Referenced by getFacePersistency().

◆ hasLinkType()

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

◆ getLinkType()

◆ setLinkType()

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

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

References ndn::Block::reset().

Referenced by getLinkType().

◆ unsetLinkType()

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

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

References nonstd::optional_lite::nullopt, and ndn::Block::reset().

Referenced by getLinkType().


The documentation for this class was generated from the following files: