NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

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

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

References wireDecode().

Member Function Documentation

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().

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

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().

bool ndn::nfd::FaceQueryFilter::hasFaceId ( ) const
inline
uint64_t ndn::nfd::FaceQueryFilter::getFaceId ( ) const
inline
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().

bool ndn::nfd::FaceQueryFilter::hasUriScheme ( ) const
inline
const std::string& ndn::nfd::FaceQueryFilter::getUriScheme ( ) const
inline
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().

bool ndn::nfd::FaceQueryFilter::hasRemoteUri ( ) const
inline
const std::string& ndn::nfd::FaceQueryFilter::getRemoteUri ( ) const
inline
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().

bool ndn::nfd::FaceQueryFilter::hasLocalUri ( ) const
inline
const std::string& ndn::nfd::FaceQueryFilter::getLocalUri ( ) const
inline
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().

bool ndn::nfd::FaceQueryFilter::hasFaceScope ( ) const
inline
FaceScope ndn::nfd::FaceQueryFilter::getFaceScope ( ) const
inline
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().

bool ndn::nfd::FaceQueryFilter::hasFacePersistency ( ) const
inline
FacePersistency ndn::nfd::FaceQueryFilter::getFacePersistency ( ) const
inline
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().

bool ndn::nfd::FaceQueryFilter::hasLinkType ( ) const
inline
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().


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