Public Member Functions | |
| Range (const unsigned int i1, const unsigned int i2) | |
| unsigned int | memory_consumption () const |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Static Public Member Functions | |
| static bool | end_compare (const IndexSet::Range &x, const IndexSet::Range &y) |
| static bool | nth_index_compare (const IndexSet::Range &x, const IndexSet::Range &y) |
Public Attributes | |
| unsigned int | begin |
| unsigned int | end |
| unsigned int | nth_index_in_set |
Friends | |
| bool | operator< (const Range &range_1, const Range &range_2) |
| bool | operator== (const Range &range_1, const Range &range_2) |
A type that denotes the half open index range [begin,end).
The nth_index_in_set denotes the how many-th index within this IndexSet the first element of the current range is. This information is only accurate if IndexSet::compress() has been called after the last insertion.
Referenced by memory_consumption().
| static bool IndexSet::Range::end_compare | ( | const IndexSet::Range & | x, |
| const IndexSet::Range & | y | ||
| ) | [inline, static] |
References end.
Referenced by IndexSet::index_within_set().
| static bool IndexSet::Range::nth_index_compare | ( | const IndexSet::Range & | x, |
| const IndexSet::Range & | y | ||
| ) | [inline, static] |
References begin, end, and nth_index_in_set.
Referenced by IndexSet::nth_index_in_set().
| void IndexSet::Range::serialize | ( | Archive & | ar, |
| const unsigned int | version | ||
| ) | [inline] |
Write or read the data of this object to or from a stream for the purpose of serialization
References begin, end, and nth_index_in_set.
Referenced by IndexSet::n_elements(), nth_index_compare(), and serialize().
Referenced by end_compare(), IndexSet::n_elements(), nth_index_compare(), and serialize().
Referenced by IndexSet::n_elements(), nth_index_compare(), IndexSet::nth_index_in_set(), and serialize().
documentation generated on Fri Aug 12 2011 15:01:05 by
doxygen
1.7.4