Defines a domain where the indexes are continuous and not numerable (e.g., float, string), but there is an order relation among the indexes (e.g., lexicographical order).
More...
|
| continuous_domain (index_type const &first, index_type const &last, bool full_container=false) |
| Construct a domain containing the indexes from first to last (included). More...
|
|
index_type | first (void) const |
|
index_type | last (void) const |
|
index_type | open_last (void) const |
| Returns termination value for comparison. More...
|
|
bool | contains (index_type const &g) const |
|
size_type | size (void) const |
|
bool | empty (void) const |
|
bool | is_same_container_domain (void) const |
|
size_type | distance (index_type const &, index_type const &) const |
| Returns how many positions are needed to advance from the index i to reach the index j . More...
|
|
bool | less_than (index_type const &i0, index_type const &i1) const |
|
template<typename ODom > |
continuous_domain | operator & (ODom const &other) const |
| Returns the resulting intersection with the given other domain.
|
|
template<typename T>
class stapl::continuous_domain< T >
Defines a domain where the indexes are continuous and not numerable (e.g., float, string), but there is an order relation among the indexes (e.g., lexicographical order).
The domain is defined as a range of indexes between first index and last index (included) $ [first..last]$.
- Template Parameters
-