Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Friends | List of all members
CoreBasicArrayIterator< T > Class Template Reference

Iterator class All the necessaries operators to be complient with the std random acces iterator have been implemented. http://www.cplusplus.com/reference/iterator/. More...

Public Types

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

Public Member Functions

 CoreBasicArrayIterator (void)
 Default Constructor (needed by Swig ...)
 
CoreBasicArrayIteratoroperator++ (void)
 Pre-increment operator.
 
CoreBasicArrayIterator< T > operator++ (int)
 Post-increment operator.
 
CoreBasicArrayIteratoroperator-- (void)
 Pre-decrement operator.
 
CoreBasicArrayIterator< T > operator-- (int)
 Post-decrement operator.
 
CoreBasicArrayIteratoroperator= (const CoreBasicArrayIterator &other)
 Assignment operator.
 
bool operator== (const CoreBasicArrayIterator &other) const
 Equality operator.
 
bool operator!= (const CoreBasicArrayIterator &other) const
 Inequality operator.
 
bool operator< (const CoreBasicArrayIterator &other) const
 const inequality operators a < b.
 
bool operator<= (const CoreBasicArrayIterator &other) const
 const inequality operators a <= b.
 
bool operator> (const CoreBasicArrayIterator &other) const
 const inequality operators a > b.
 
bool operator>= (const CoreBasicArrayIterator &other) const
 const inequality operators a >= b.
 
T & operator* (void)
 Dereference operator.
 
T & operator* (void) const
 Const-dereference operator.
 
T * operator-> (void)
 Arrow operator. Directly access the underlying item's pointer.
 
T * operator-> (void) const
 Const-arrow operator. Directly access the underlying item's pointer.
 
CoreBasicArrayIterator< T > operator+ (ptrdiff_t increment) const
 const arithmetic operators +.
 
CoreBasicArrayIterator< T > operator- (ptrdiff_t decrement) const
 const arithmetic operators -.
 
ptrdiff_t operator- (const CoreBasicArrayIterator< T > &other) const
 const arithmetic operators - between two iterators. It returns the number of element between those two iterators..
 
CoreBasicArrayIterator< T > & operator+= (ptrdiff_t increment)
 operators a += b.
 
CoreBasicArrayIterator< T > & operator-= (ptrdiff_t decrement)
 operators a -= b.
 
T & operator[] (int offset)
 offset dereference operator.
 
const T & operator[] (int offset) const
 const offset dereference operator.
 

Friends

class CoreBasicArray< T >
 
CoreBasicArrayIterator< T > operator+ (ptrdiff_t increment, const CoreBasicArrayIterator< T > &iterator)
 

Detailed Description

template<class T>
class CoreBasicArrayIterator< T >

Iterator class All the necessaries operators to be complient with the std random acces iterator have been implemented. http://www.cplusplus.com/reference/iterator/.