Base class for N-dimensional array iterators.
More...
#include <cartobase/containers/nditerator.h>
|
template<typename T > |
static std::vector< size_t > | to_int_v (const std::vector< T > &v) |
|
Base class for N-dimensional array iterators.
See NDIterator, const_NDIterator, line_NDIterator, and const_line_NDIterator.
Definition at line 50 of file nditerator.h.
◆ NDIterator_base() [1/4]
carto::NDIterator_base::NDIterator_base |
( |
const std::vector< int > & |
dims | ) |
|
|
inline |
◆ NDIterator_base() [2/4]
carto::NDIterator_base::NDIterator_base |
( |
const std::vector< int > & |
dims, |
|
|
const std::vector< int > & |
strides |
|
) |
| |
|
inline |
◆ NDIterator_base() [3/4]
carto::NDIterator_base::NDIterator_base |
( |
const std::vector< int > & |
dims, |
|
|
const std::vector< size_t > & |
strides |
|
) |
| |
|
inline |
◆ NDIterator_base() [4/4]
carto::NDIterator_base::NDIterator_base |
( |
const std::vector< int > & |
dims, |
|
|
const std::vector< long > & |
strides |
|
) |
| |
|
inline |
◆ ended()
bool carto::NDIterator_base::ended |
( |
| ) |
const |
|
inline |
◆ offset()
uint64_t carto::NDIterator_base::offset |
( |
| ) |
const |
|
inline |
◆ operator++()
◆ position()
const std::vector< int > & carto::NDIterator_base::position |
( |
| ) |
const |
|
inline |
◆ reset()
void carto::NDIterator_base::reset |
( |
| ) |
|
|
inline |
◆ to_int_v()
template<typename T >
std::vector< size_t > carto::NDIterator_base::to_int_v |
( |
const std::vector< T > & |
v | ) |
|
|
inlinestaticprotected |
◆ _dims
std::vector<int> carto::NDIterator_base::_dims |
|
protected |
◆ _ended
bool carto::NDIterator_base::_ended |
|
protected |
◆ _offset
uint64_t carto::NDIterator_base::_offset |
|
protected |
◆ _position
std::vector<int> carto::NDIterator_base::_position |
|
protected |
◆ _strides
std::vector<size_t> carto::NDIterator_base::_strides |
|
protected |
The documentation for this class was generated from the following file: