cartobase
5.1.2
|
#include <cartobase/containers/nditerator.h>
Public Member Functions | |
line_NDIterator_base (const std::vector< int > &dims) | |
line_NDIterator_base (const std::vector< int > &dims, const std::vector< int > &strides, bool optimize_direction=false) | |
line_NDIterator_base (const std::vector< int > &dims, const std::vector< size_t > &strides, bool optimize_direction=false) | |
line_NDIterator_base (const std::vector< int > &dims, const std::vector< long > &strides, bool optimize_direction=false) | |
NDIterator_base & | operator++ () |
int | line_size () const |
int | line_direction () const |
bool | is_contiguous () const |
![]() | |
NDIterator_base (const std::vector< int > &dims) | |
NDIterator_base (const std::vector< int > &dims, const std::vector< int > &strides) | |
NDIterator_base (const std::vector< int > &dims, const std::vector< size_t > &strides) | |
NDIterator_base (const std::vector< int > &dims, const std::vector< long > &strides) | |
const std::vector< int > & | position () const |
uint64_t | offset () const |
NDIterator_base & | operator++ () |
bool | ended () const |
void | reset () |
Protected Member Functions | |
void | set_optimized_direction (bool optimize_direction=false) |
Protected Attributes | |
int | _line_directon |
long | _line_stride |
bool | _contiguous |
![]() | |
std::vector< int > | _dims |
std::vector< size_t > | _strides |
std::vector< int > | _position |
uint64_t | _offset |
bool | _ended |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static std::vector< size_t > | to_int_v (const std::vector< T > &v) |
Definition at line 81 of file nditerator.h.
|
inline |
Definition at line 375 of file nditerator.h.
References carto::NDIterator_base::_ended.
|
inline |
Definition at line 385 of file nditerator.h.
References carto::NDIterator_base::_ended, and set_optimized_direction().
|
inline |
Definition at line 397 of file nditerator.h.
References carto::NDIterator_base::_ended, and set_optimized_direction().
|
inline |
Definition at line 409 of file nditerator.h.
References carto::NDIterator_base::_ended, and set_optimized_direction().
|
inline |
Definition at line 446 of file nditerator.h.
References _contiguous.
|
inline |
Definition at line 452 of file nditerator.h.
References _line_directon.
|
inline |
Definition at line 458 of file nditerator.h.
References carto::NDIterator_base::_dims, and _line_directon.
|
inline |
Definition at line 464 of file nditerator.h.
References carto::NDIterator_base::_dims, carto::NDIterator_base::_ended, _line_directon, carto::NDIterator_base::_offset, carto::NDIterator_base::_position, and carto::NDIterator_base::_strides.
|
inlineprotected |
Definition at line 421 of file nditerator.h.
References _contiguous, _line_directon, _line_stride, and carto::NDIterator_base::_strides.
Referenced by line_NDIterator_base().
|
protected |
Definition at line 107 of file nditerator.h.
Referenced by is_contiguous(), and set_optimized_direction().
|
protected |
Definition at line 105 of file nditerator.h.
Referenced by line_direction(), line_size(), operator++(), and set_optimized_direction().
|
protected |
Definition at line 106 of file nditerator.h.
Referenced by set_optimized_direction().