ndn::nfd::FaceTraits< C > Class Template Reference

provides getters and setters for face information fields More...

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

+ Inheritance diagram for ndn::nfd::FaceTraits< C >:
+ Collaboration diagram for ndn::nfd::FaceTraits< C >:

Classes

class  Error
 

Public Member Functions

uint64_t getFaceId () const
 
FacePersistency getFacePersistency () const
 
FaceScope getFaceScope () const
 
bool getFlagBit (size_t bit) const
 
uint64_t getFlags () const
 
LinkType getLinkType () const
 
const std::string & getLocalUri () const
 
const std::string & getRemoteUri () const
 
C & setFaceId (uint64_t faceId)
 
C & setFacePersistency (FacePersistency facePersistency)
 
C & setFaceScope (FaceScope faceScope)
 
C & setFlagBit (size_t bit, bool value)
 
C & setFlags (uint64_t flags)
 
C & setLinkType (LinkType linkType)
 
C & setLocalUri (const std::string &localUri)
 
C & setRemoteUri (const std::string &remoteUri)
 

Protected Member Functions

 FaceTraits ()
 

Protected Attributes

uint64_t m_faceId
 
FacePersistency m_facePersistency
 
FaceScope m_faceScope
 
uint64_t m_flags
 
LinkType m_linkType
 
std::string m_localUri
 
std::string m_remoteUri
 
Block m_wire
 

Detailed Description

template<class C>
class ndn::nfd::FaceTraits< C >

provides getters and setters for face information fields

Template Parameters
Cthe concrete subclass

Definition at line 37 of file face-traits.hpp.

Constructor & Destructor Documentation

template<class C>
ndn::nfd::FaceTraits< C >::FaceTraits ( )
inlineprotected

Definition at line 173 of file face-traits.hpp.

Member Function Documentation

template<class C>
uint64_t ndn::nfd::FaceTraits< C >::getFaceId ( ) const
inline

Definition at line 47 of file face-traits.hpp.

template<class C>
FacePersistency ndn::nfd::FaceTraits< C >::getFacePersistency ( ) const
inline

Definition at line 103 of file face-traits.hpp.

template<class C>
FaceScope ndn::nfd::FaceTraits< C >::getFaceScope ( ) const
inline

Definition at line 89 of file face-traits.hpp.

template<class C>
bool ndn::nfd::FaceTraits< C >::getFlagBit ( size_t  bit) const
inline

Definition at line 145 of file face-traits.hpp.

template<class C>
uint64_t ndn::nfd::FaceTraits< C >::getFlags ( ) const
inline

Definition at line 131 of file face-traits.hpp.

template<class C>
LinkType ndn::nfd::FaceTraits< C >::getLinkType ( ) const
inline

Definition at line 117 of file face-traits.hpp.

template<class C>
const std::string& ndn::nfd::FaceTraits< C >::getLocalUri ( ) const
inline

Definition at line 75 of file face-traits.hpp.

template<class C>
const std::string& ndn::nfd::FaceTraits< C >::getRemoteUri ( ) const
inline

Definition at line 61 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setFaceId ( uint64_t  faceId)
inline

Definition at line 53 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setFacePersistency ( FacePersistency  facePersistency)
inline

Definition at line 109 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setFaceScope ( FaceScope  faceScope)
inline

Definition at line 95 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setFlagBit ( size_t  bit,
bool  value 
)
inline

Definition at line 154 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setFlags ( uint64_t  flags)
inline

Definition at line 137 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setLinkType ( LinkType  linkType)
inline

Definition at line 123 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setLocalUri ( const std::string &  localUri)
inline

Definition at line 81 of file face-traits.hpp.

template<class C>
C& ndn::nfd::FaceTraits< C >::setRemoteUri ( const std::string &  remoteUri)
inline

Definition at line 67 of file face-traits.hpp.

Member Data Documentation

template<class C>
uint64_t ndn::nfd::FaceTraits< C >::m_faceId
protected

Definition at line 183 of file face-traits.hpp.

template<class C>
FacePersistency ndn::nfd::FaceTraits< C >::m_facePersistency
protected

Definition at line 187 of file face-traits.hpp.

template<class C>
FaceScope ndn::nfd::FaceTraits< C >::m_faceScope
protected

Definition at line 186 of file face-traits.hpp.

template<class C>
uint64_t ndn::nfd::FaceTraits< C >::m_flags
protected

Definition at line 189 of file face-traits.hpp.

template<class C>
LinkType ndn::nfd::FaceTraits< C >::m_linkType
protected

Definition at line 188 of file face-traits.hpp.

template<class C>
std::string ndn::nfd::FaceTraits< C >::m_localUri
protected

Definition at line 185 of file face-traits.hpp.

template<class C>
std::string ndn::nfd::FaceTraits< C >::m_remoteUri
protected

Definition at line 184 of file face-traits.hpp.

template<class C>
Block ndn::nfd::FaceTraits< C >::m_wire
mutableprotected

Definition at line 191 of file face-traits.hpp.