A base class that represents a subset of a vector.
Definition at line 271 of file VectorBase.hpp.
#include <VectorBase.hpp>
Public Member Functions | |
size_t | size () const |
the number of elements in the slice. More... | |
size_t | start () const |
the start index in the BaseClass vector for this slice. More... | |
size_t | stride () const |
VectorSliceBase () | |
constructor More... | |
Protected Member Functions | |
void | vecSliceCheck (size_t sourceSize) const |
|
inlineexplicit |
constructor
Definition at line 275 of file VectorBase.hpp.
|
inline |
the number of elements in the slice.
Definition at line 278 of file VectorBase.hpp.
|
inline |
the start index in the BaseClass vector for this slice.
Definition at line 281 of file VectorBase.hpp.
|
inline |
How many elements separate the i'th element from the i+1'th element.
Definition at line 285 of file VectorBase.hpp.
|
inlineprotected |
Given the size of the source vector, checks that the slice is valid.
VectorException |
Definition at line 292 of file VectorBase.hpp.