Public Types | |
typedef Alloc< interval_type > | allocator_type |
The allocator type of the set. | |
typedef itl::set< DomainT, Compare, Alloc > | atomized_type |
The atomized type representing the corresponding container of elements. | |
typedef DomainT | codomain_type |
The codomaintype is the same as domain_type. | |
typedef ImplSetT::const_iterator | const_iterator |
const_iterator for iteration over intervals | |
typedef ImplSetT::const_pointer | const_pointer |
const pointer type | |
typedef ImplSetT::const_reference | const_reference |
const reference type | |
typedef ImplSetT::const_reverse_iterator | const_reverse_iterator |
const_iterator for iteration over intervals | |
typedef ImplSetT::key_type | data_type |
data type of the implementing container | |
typedef interval_type::difference_type | difference_type |
The difference type of an interval which is sometimes different form the data_type. | |
typedef Alloc< DomainT > | domain_allocator_type |
allocator type of the corresponding element set | |
typedef DomainT | domain_type |
The domain type of the set. | |
typedef boost::itl::element_iterator < const_iterator > | element_const_iterator |
element const iterator: Depreciated, see documentation. | |
typedef boost::itl::element_iterator < const_reverse_iterator > | element_const_reverse_iterator |
element const reverse iterator: Depreciated, see documentation. | |
typedef boost::itl::element_iterator < iterator > | element_iterator |
element iterator: Depreciated, see documentation. | |
typedef boost::itl::element_iterator < reverse_iterator > | element_reverse_iterator |
element reverse iterator: Depreciated, see documentation. | |
typedef DomainT | element_type |
The element type of the set. | |
typedef ITL_IMPL_SPACE::set < interval_type, key_compare, allocator_type > | ImplSetT |
Container type for the implementation. | |
typedef exclusive_less < interval_type > | interval_compare |
Comparison functor for intervals. | |
typedef Interval< DomainT, Compare > | interval_type |
The interval type of the set. | |
typedef ImplSetT::iterator | iterator |
iterator for iteration over intervals | |
typedef exclusive_less < interval_type > | key_compare |
Comparison functor for keys. | |
typedef ImplSetT::key_type | key_type |
key type of the implementing container | |
typedef type | overloadable_type |
Auxilliary type for overloadresolution. | |
typedef ImplSetT::pointer | pointer |
pointer type | |
typedef ImplSetT::reference | reference |
reference type | |
typedef ImplSetT::reverse_iterator | reverse_iterator |
iterator for reverse iteration over intervals | |
typedef interval_type | segment_type |
The segment type of the set. | |
typedef interval_type::size_type | size_type |
The size type of an interval which is mostly std::size_t. | |
typedef SubType | sub_type |
The designated derived or sub_type of this base class. | |
typedef ImplSetT::value_type | value_type |
value type of the implementing container | |
Public Member Functions | |
iterator | add (iterator prior_, const segment_type &inter_val) |
SubType & | add (const segment_type &inter_val) |
SubType & | add (const element_type &key) |
template<template< class DomT, ITL_COMPARE Comp, template< class DomT2, ITL_COMPARE >class Interv, ITL_ALLOC Allc > class IntervalSet> | |
void | add_intersection (interval_base_set &intersection, const IntervalSet< DomainT, Compare, Interval, Alloc > §ant) const |
void | add_intersection (interval_base_set §ion, const segment_type &inter_val) const |
void | add_intersection (interval_base_set §ion, const element_type &key) const |
const std::string | as_string () const |
size_type | cardinality () const |
void | clear () |
template<template< class DomT, ITL_COMPARE Comp, template< class DomT2, ITL_COMPARE >class Interv, ITL_ALLOC Allc > class IntervalSet> | |
bool | contained_in (const IntervalSet< DomainT, Compare, Interval, Alloc > &super) const |
template<template< class DomT, ITL_COMPARE Comp, template< class DomT2, ITL_COMPARE >class Interv, ITL_ALLOC Allc > class IntervalSet> | |
bool | contains (const IntervalSet< DomainT, Compare, Interval, Alloc > &sub) const |
bool | contains (const interval_base_set &sub) const |
bool | contains (const segment_type &sub_interval) const |
bool | contains (const element_type &key) const |
bool | empty () const |
void | erase (iterator first, iterator past) |
void | erase (iterator position) |
SubType & | erase (const segment_type &inter_val) |
SubType & | erase (const element_type &key) |
const_iterator | find (const element_type &key) const |
DomainT | first () const |
template<class SubType2 > | |
SubType & | flip (const interval_base_set< SubType2, DomainT, Compare, Interval, Alloc > &operand) |
SubType & | flip (const segment_type &inter_val) |
SubType & | flip (const element_type &key) |
iterator | insert (iterator prior_, const segment_type &inter_val) |
SubType & | insert (const segment_type &inter_val) |
SubType & | insert (const element_type &key) |
bool | intersects (const interval_type &inter_val) const |
bool | intersects (const element_type &key) const |
interval_base_set (const interval_base_set &src) | |
interval_base_set () | |
std::size_t | interval_count () const |
std::size_t | iterative_size () const |
typedef | ITL_COMPARE_DOMAIN (Compare, DomainT) domain_compare |
Comparison functor for domain values. | |
interval_base_set & | join () |
DomainT | last () const |
difference_type | length () const |
DomainT | lower () const |
interval_base_set & | operator= (const interval_base_set &src) |
size_type | size () const |
SubType & | subtract (const segment_type &inter_val) |
SubType & | subtract (const element_type &key) |
void | swap (interval_base_set &x) |
void | uniform_bounds (itl::bound_type bounded) |
DomainT | upper () const |
typedef SubType boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::sub_type |
The designated derived or sub_type of this base class.
typedef type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::overloadable_type |
Auxilliary type for overloadresolution.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef itl::set<DomainT,Compare,Alloc> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::atomized_type |
The atomized type representing the corresponding container of elements.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::domain_type |
The domain type of the set.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::codomain_type |
The codomaintype is the same as domain_type.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::element_type |
The element type of the set.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef Interval<DomainT,Compare> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::interval_type |
typedef interval_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::segment_type |
The segment type of the set.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef interval_type::difference_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::difference_type |
The difference type of an interval which is sometimes different form the data_type.
typedef interval_type::size_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::size_type |
The size type of an interval which is mostly std::size_t.
typedef exclusive_less<interval_type> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::interval_compare |
Comparison functor for intervals.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef exclusive_less<interval_type> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::key_compare |
Comparison functor for keys.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef Alloc<interval_type> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::allocator_type |
The allocator type of the set.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef Alloc<DomainT> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::domain_allocator_type |
allocator type of the corresponding element set
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ITL_IMPL_SPACE::set<interval_type,key_compare,allocator_type> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::ImplSetT |
Container type for the implementation.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ImplSetT::key_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::key_type |
key type of the implementing container
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ImplSetT::key_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::data_type |
data type of the implementing container
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ImplSetT::value_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::value_type |
value type of the implementing container
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ImplSetT::pointer boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::pointer |
pointer type
typedef ImplSetT::const_pointer boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::const_pointer |
const pointer type
typedef ImplSetT::reference boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::reference |
reference type
typedef ImplSetT::const_reference boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::const_reference |
const reference type
typedef ImplSetT::iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::iterator |
iterator for iteration over intervals
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ImplSetT::const_iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::const_iterator |
const_iterator for iteration over intervals
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
typedef ImplSetT::reverse_iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::reverse_iterator |
iterator for reverse iteration over intervals
typedef ImplSetT::const_reverse_iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::const_reverse_iterator |
const_iterator for iteration over intervals
typedef boost::itl::element_iterator<iterator> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::element_iterator |
element iterator: Depreciated, see documentation.
typedef boost::itl::element_iterator<const_iterator> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::element_const_iterator |
element const iterator: Depreciated, see documentation.
typedef boost::itl::element_iterator<reverse_iterator> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::element_reverse_iterator |
element reverse iterator: Depreciated, see documentation.
typedef boost::itl::element_iterator<const_reverse_iterator> boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::element_const_reverse_iterator |
element const reverse iterator: Depreciated, see documentation.
boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::interval_base_set | ( | ) | [inline] |
Default constructor for the empty object
boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::interval_base_set | ( | const interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | src | ) | [inline] |
Copy constructor
typedef boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::ITL_COMPARE_DOMAIN | ( | Compare | , | |
DomainT | ||||
) |
Comparison functor for domain values.
Reimplemented in boost::itl::interval_set< DomainT, Compare, Interval, Alloc >, boost::itl::separate_interval_set< DomainT, Compare, Interval, Alloc >, and boost::itl::split_interval_set< DomainT, Compare, Interval, Alloc >.
interval_base_set& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::operator= | ( | const interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | src | ) | [inline] |
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::swap | ( | interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | x | ) | [inline] |
swap the content of containers
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::clear | ( | ) | [inline] |
sets the container empty
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::empty | ( | ) | const [inline] |
is the container empty?
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::contains | ( | const element_type & | key | ) | const [inline] |
Does the container contain the element key
?
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::contains | ( | const segment_type & | sub_interval | ) | const [inline] |
Does the container contain the interval sub_interval
?
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::contains | ( | const interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | sub | ) | const [inline] |
Does the container contain the subcontainer sub
?
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::contains | ( | const IntervalSet< DomainT, Compare, Interval, Alloc > & | sub | ) | const [inline] |
Does *this
container contain sub
?
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::contained_in | ( | const IntervalSet< DomainT, Compare, Interval, Alloc > & | super | ) | const [inline] |
Is *this
container contained in super
?
interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::size_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::cardinality | ( | ) | const [inline] |
Number of elements in the set (cardinality). Infinite for continuous domain datatyps
size_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::size | ( | ) | const [inline] |
An interval set's size is it's cardinality
interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::difference_type boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::length | ( | ) | const [inline] |
std::size_t boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::interval_count | ( | ) | const [inline] |
Number of intervals which is also the size of the iteration over the object
std::size_t boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::iterative_size | ( | ) | const [inline] |
Size of the iteration over this container
DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::lower | ( | ) | const [inline] |
lower bound of all intervals in the object
DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::upper | ( | ) | const [inline] |
upper bound of all intervals in the object
DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::first | ( | ) | const [inline] |
DomainT boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::last | ( | ) | const [inline] |
const_iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::find | ( | const element_type & | key | ) | const [inline] |
Find the interval value pair, that contains element key
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::add | ( | const element_type & | key | ) | [inline] |
Add a single element key
to the set
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::add | ( | const segment_type & | inter_val | ) | [inline] |
iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::add | ( | iterator | prior_, | |
const segment_type & | inter_val | |||
) | [inline] |
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::subtract | ( | const element_type & | key | ) | [inline] |
Subtract a single element key
from the set
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::subtract | ( | const segment_type & | inter_val | ) | [inline] |
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::insert | ( | const element_type & | key | ) | [inline] |
Insert an element key
into the set
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::insert | ( | const segment_type & | inter_val | ) | [inline] |
iterator boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::insert | ( | iterator | prior_, | |
const segment_type & | inter_val | |||
) | [inline] |
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::erase | ( | const element_type & | key | ) | [inline] |
Erase an element key
from the set
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::erase | ( | const segment_type & | inter_val | ) | [inline] |
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::erase | ( | iterator | position | ) | [inline] |
Erase the interval that iterator position
points to.
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::erase | ( | iterator | first, | |
iterator | past | |||
) | [inline] |
Erase all intervals in the range [first,past)
of iterators.
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::add_intersection | ( | interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | section, | |
const element_type & | key | |||
) | const [inline] |
The intersection of key
in *this
set is added to section
. The function can be used as a find function.
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::add_intersection | ( | interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | section, | |
const segment_type & | inter_val | |||
) | const [inline] |
The intersection of inter_val
in *this
set is added to section
.
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::add_intersection | ( | interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & | intersection, | |
const IntervalSet< DomainT, Compare, Interval, Alloc > & | sectant | |||
) | const [inline] |
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::intersects | ( | const element_type & | key | ) | const [inline] |
Returns true
, if element key
is found in *this
map. Complexity: logarithmic.
bool boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::intersects | ( | const interval_type & | inter_val | ) | const [inline] |
Returns true
, if inter_val
intersects with *this
map. Complexity: logarithmic.
SubType& boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::flip | ( | const element_type & | key | ) | [inline] |
If *this
set contains key
it is erased, otherwise it is added.
SubType & boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::flip | ( | const segment_type & | inter_val | ) | [inline] |
If *this
set contains inter_val
it is erased, otherwise it is added.
SubType & boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::flip | ( | const interval_base_set< SubType2, DomainT, Compare, Interval, Alloc > & | operand | ) | [inline] |
The intersection of *this
and operand
is erased from *this
. The complemenary elements are added to *this
.
interval_base_set< SubType, DomainT, Compare, Interval, Alloc > & boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::join | ( | ) | [inline] |
Join bordering intervals
void boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::uniform_bounds | ( | itl::bound_type | bounded | ) | [inline] |
const std::string boost::itl::interval_base_set< SubType, DomainT, Compare, Interval, Alloc >::as_string | ( | ) | const [inline] |
Interval container's string representation