represent an excluded component or range More...
#include <exclude.hpp>
Public Member Functions | |
Range () | |
Range (bool fromInfinity, const name::Component &from, bool toInfinity, const name::Component &to) | |
bool | isSingular () const |
bool | operator== (const Exclude::Range &other) const |
bool | operator!= (const Exclude::Range &other) const |
Public Attributes | |
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... | |
represent an excluded component or range
Definition at line 176 of file exclude.hpp.
ndn::Exclude::Range::Range | ( | ) |
Definition at line 58 of file exclude.cpp.
ndn::Exclude::Range::Range | ( | bool | fromInfinity, |
const name::Component & | from, | ||
bool | toInfinity, | ||
const name::Component & | to | ||
) |
Definition at line 64 of file exclude.cpp.
|
inline |
true | A single component is excluded |
false | A range of more than one components are excluded |
Definition at line 334 of file exclude.hpp.
Referenced by ndn::operator<<().
bool ndn::Exclude::Range::operator== | ( | const Exclude::Range & | other | ) | const |
Definition at line 73 of file exclude.cpp.
References from, fromInfinity, to, and toInfinity.
|
inline |
Definition at line 340 of file exclude.hpp.
References ndn::Exclude::operator==().
bool ndn::Exclude::Range::fromInfinity |
from negative infinity?
Definition at line 200 of file exclude.hpp.
Referenced by ndn::Exclude::const_iterator::operator++(), ndn::operator<<(), and operator==().
name::Component ndn::Exclude::Range::from |
from component (inclusive)
Definition at line 206 of file exclude.hpp.
Referenced by ndn::Exclude::excludeRange(), ndn::Exclude::const_iterator::operator++(), ndn::operator<<(), and operator==().
bool ndn::Exclude::Range::toInfinity |
to positive infinity?
Definition at line 211 of file exclude.hpp.
Referenced by ndn::Exclude::const_iterator::operator++(), ndn::operator<<(), and operator==().
name::Component ndn::Exclude::Range::to |
to component (inclusive)
Definition at line 217 of file exclude.hpp.
Referenced by ndn::Exclude::excludeRange(), ndn::Exclude::const_iterator::operator++(), ndn::operator<<(), and operator==().