Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::PtrStridedIterator< T > Struct Template Reference

#include <PtrStridedIterator.h>

Public Types

using difference_type = std::ptrdiff_t
 
using value_type = T
 
using pointer = T *
 
using reference = T &
 
using iterator_category = std::random_access_iterator_tag
 

Public Member Functions

 PtrStridedIterator (pointer ptr, difference_type strd=1)
 
 PtrStridedIterator (const PtrStridedIterator &)=default
 
 PtrStridedIterator (PtrStridedIterator &&)=default
 
PtrStridedIteratoroperator= (const PtrStridedIterator &other)=default
 
PtrStridedIteratoroperator= (PtrStridedIterator &&other)=default
 
pointer ptr () const
 
difference_type stride () const
 
reference operator[] (difference_type i) const
 
reference operator* () const
 
reference operator-> () const
 
PtrStridedIteratoroperator+= (difference_type offset)
 
PtrStridedIteratoroperator-= (difference_type offset)
 
PtrStridedIterator operator+ (difference_type offset) const
 
PtrStridedIterator operator- (difference_type offset) const
 
difference_type operator- (const PtrStridedIterator &other) const
 
PtrStridedIteratoroperator++ ()
 
PtrStridedIterator operator++ (int)
 
PtrStridedIteratoroperator-- ()
 
PtrStridedIterator operator-- (int)
 
bool operator== (const PtrStridedIterator &other) const
 
bool operator< (const PtrStridedIterator &other) const
 
bool operator> (const PtrStridedIterator &other) const
 
bool operator!= (const PtrStridedIterator &other) const
 
bool operator<= (const PtrStridedIterator &other) const
 
bool operator>= (const PtrStridedIterator &other) const
 
 operator bool () const
 

Detailed Description

template<typename T>
struct DD::Image::PtrStridedIterator< T >

Random access iterator with adjustable iteration step (stride). The iterator will skip over multiple entries when it is incremented or decremented.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com