ndn::Exclude::Range Class Reference

represent an excluded component or range More...

#include <exclude.hpp>

Collaboration diagram for ndn::Exclude::Range:
[legend]

Public Member Functions

bool isSingular () const
 
bool operator== (const Exclude::Range &other) const
 
bool operator!= (const Exclude::Range &other) const
 

Data Fields

bool fromInfinity
 from negative infinity? More...
 
name::Component from
 from component (inclusive) More...
 
bool toInfinity
 to positive infinity? More...
 
name::Component to
 to component (inclusive) More...
 

Detailed Description

represent an excluded component or range

Definition at line 177 of file exclude.hpp.

Member Function Documentation

bool ndn::Exclude::Range::isSingular ( ) const
inline
Return values
trueA single component is excluded
falseA range of more than one components are excluded

Definition at line 329 of file exclude.hpp.

bool ndn::Exclude::Range::operator!= ( const Exclude::Range other) const
inline

Definition at line 335 of file exclude.hpp.

bool ndn::Exclude::Range::operator== ( const Exclude::Range other) const

Definition at line 58 of file exclude.cpp.

Field Documentation

name::Component ndn::Exclude::Range::from

from component (inclusive)

Precondition
valid only if !fromInfinity

Definition at line 203 of file exclude.hpp.

bool ndn::Exclude::Range::fromInfinity

from negative infinity?

Definition at line 197 of file exclude.hpp.

name::Component ndn::Exclude::Range::to

to component (inclusive)

Precondition
valid only if !toInfinity

Definition at line 214 of file exclude.hpp.

bool ndn::Exclude::Range::toInfinity

to positive infinity?

Definition at line 208 of file exclude.hpp.