NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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 144 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 32 of file exclude.cpp.

◆ ExcludeComponent() [2/2]

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

construct a negative infinity ExcludeComponent

Parameters
isNegInfmust be true

Definition at line 38 of file exclude.cpp.

Member Data Documentation

◆ isNegInf

bool ndn::Exclude::ExcludeComponent::isNegInf

Definition at line 161 of file exclude.hpp.

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

◆ component

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

Definition at line 162 of file exclude.hpp.

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


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