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

either a name::Component or "negative infinity" More...

#include <exclude.hpp>

Collaboration diagram for ndn::Exclude::ExcludeComponent:

Public Member Functions

 ExcludeComponent (const name::Component &component)
 implicitly construct a regular infinity ExcludeComponent More...
 
 ExcludeComponent (bool isNegInf)
 construct a negative infinity ExcludeComponent More...
 

Public Attributes

bool isNegInf
 
name::Component component
 

Detailed Description

either a name::Component or "negative infinity"

Definition at line 140 of file exclude.hpp.

Constructor & Destructor Documentation

◆ ExcludeComponent() [1/2]

ndn::Exclude::ExcludeComponent::ExcludeComponent ( const name::Component component)

implicitly construct a regular infinity ExcludeComponent

Parameters
componenta name component which is excluded

Definition at line 31 of file exclude.cpp.

Referenced by ndn::Exclude::excludeBefore(), and ndn::Exclude::excludeRange().

◆ ExcludeComponent() [2/2]

ndn::Exclude::ExcludeComponent::ExcludeComponent ( bool  isNegInf)
explicit

construct a negative infinity ExcludeComponent

Parameters
isNegInfmust be true

Definition at line 37 of file exclude.cpp.

Member Data Documentation

◆ isNegInf

bool ndn::Exclude::ExcludeComponent::isNegInf

Definition at line 157 of file exclude.hpp.

Referenced by ndn::Exclude::excludeRange(), ndn::operator==(), and ndn::operator>().

◆ component

name::Component ndn::Exclude::ExcludeComponent::component

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