selection_t Class Reference
Detailed DescriptionA linear boolean selection is a set of context-free indices, each of which toggles the selection "on" or "off". From an implementation standpoint, each selection index must be greater than the one that precedes it (strictly monotonically increasing). There is also a boolean value associated with the selection, and that is to represent whether or not the selection is to start out "on" or "off" -- thus the inversion of a selection has the same selection boundary set but a different boolean value. Selections are context-free, meaning that a selection can be spoken about without making reference to a container. This allows for selections to be manipulated without applying them to a series of elements (e.g., union, size, etc.). Selections can then be applied to a container to get context-relevant information (e.g., the number of elements contained within a selection). Selections can also be used in place of a predicate for some algorithms. There are a series of algorithms associated with the selection container; Please see selection. Member Typedef Documentationconst_iterator for selection_t Definition at line 58 of file selection.hpp.
const_pointer for selection_t Definition at line 70 of file selection.hpp.
const_reference for selection_t Definition at line 66 of file selection.hpp.
difference_type for selection_t Definition at line 62 of file selection.hpp.
iterator for selection_t Definition at line 56 of file selection.hpp.
pointer for selection_t Definition at line 68 of file selection.hpp.
reference for selection_t Definition at line 64 of file selection.hpp.
size_type for selection_t Definition at line 60 of file selection.hpp.
store_type for selection_t Definition at line 54 of file selection.hpp.
value_type for selection_t Definition at line 52 of file selection.hpp. Constructor & Destructor Documentation
Default constructor.
Definition at line 79 of file selection.hpp.
Constructor with the ability to initialize the selection with toggle points from the get-go.
Definition at line 94 of file selection.hpp. Member Function Documentation
gets an iterator to the beginning of the toggle point sequence Definition at line 121 of file selection.hpp.
Definition at line 108 of file selection.hpp.
gets an iterator to the end of the toggle point sequence Definition at line 124 of file selection.hpp.
inverts the selection. Definition at line 133 of file selection.hpp.
fetches a toggle point at index i of the toggle point sequence Definition at line 127 of file selection.hpp.
pushes a toggle point onto the back of the selection. The index must be greater than the previous toggle point. Definition at line 113 of file selection.hpp.
Definition at line 104 of file selection.hpp.
Definition at line 139 of file selection.hpp. Friends And Related Function Documentation
Definition at line 142 of file selection.hpp. |