![]() |
|
Each range represents a logical group of elements stored in a Vdf_BoxedContainer. More...
#include <boxedContainer.h>
Classes | |
| struct | Range |
| A range of data elements as denoted by [ begin, end ) indices. More... | |
Public Member Functions | |
| Vdf_BoxedRanges ()=default | |
| Constructs an empty set of boxed ranges. | |
| Vdf_BoxedRanges (unsigned int n) | |
Constructs a set with one range containing all n elements. | |
| unsigned int | GetNumRanges () const |
| Returns the number of individual ranges stored in this container. | |
| Range | GetRange (unsigned int i) const |
Returns the range at index i. | |
| void | AppendRange (unsigned int begin, unsigned int end) |
| Appends a new group. | |
Friends | |
| void | swap (Vdf_BoxedRanges &lhs, Vdf_BoxedRanges &rhs) |
Each range represents a logical group of elements stored in a Vdf_BoxedContainer.
Definition at line 21 of file boxedContainer.h.
| struct Vdf_BoxedRanges::Range |
A range of data elements as denoted by [ begin, end ) indices.
Each range of elements represents a logical group of data elements.
Definition at line 27 of file boxedContainer.h.
| Class Members | ||
|---|---|---|
| unsigned int | begin | |
| unsigned int | end | |
|
default |
Constructs an empty set of boxed ranges.
|
inlineexplicit |
Constructs a set with one range containing all n elements.
Definition at line 39 of file boxedContainer.h.
|
inline |
Appends a new group.
Definition at line 58 of file boxedContainer.h.
|
inline |
Returns the number of individual ranges stored in this container.
Definition at line 45 of file boxedContainer.h.
|
inline |
Returns the range at index i.
Each range represents a logical group of data elements.
Definition at line 52 of file boxedContainer.h.
|
friend |
Definition at line 63 of file boxedContainer.h.