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

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

Referenced by ndn::nfd::FaceQueryFilter::Error::Error().

◆ FaceQueryFilter() [2/2]

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

Definition at line 47 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 105 of file face-query-filter.cpp.

References ndn::Block::hasWire().

Referenced by ndn::nfd::FaceQueryFilter::Error::Error().

◆ wireDecode()

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

References ndn::Block::reset().

Referenced by getFaceId().

◆ unsetFaceId()

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

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

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

References ndn::Block::reset().

Referenced by getUriScheme().

◆ unsetUriScheme()

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

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

References ndn::Block::reset().

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

References ndn::Block::reset().

Referenced by getRemoteUri().

◆ unsetRemoteUri()

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

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

References ndn::Block::reset().

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

References ndn::Block::reset().

Referenced by getLocalUri().

◆ unsetLocalUri()

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

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

References ndn::Block::reset().

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

References ndn::Block::reset().

Referenced by getFaceScope().

◆ unsetFaceScope()

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

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

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

References ndn::Block::reset().

Referenced by getFacePersistency().

◆ unsetFacePersistency()

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

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

References ndn::Block::reset().

Referenced by getFacePersistency().

◆ hasLinkType()

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

◆ getLinkType()

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

◆ setLinkType()

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

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

References ndn::Block::reset().

Referenced by getLinkType().

◆ unsetLinkType()

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

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

References ndn::Block::reset().

Referenced by getLinkType().


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