Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <prevector.h>
Public Types | |
typedef Diff | difference_type |
typedef T | value_type |
typedef T * | pointer |
typedef T & | reference |
typedef std::random_access_iterator_tag | iterator_category |
Public Member Functions | |
iterator (T *ptr_) | |
T & | operator* () const |
T * | operator-> () const |
T & | operator[] (size_type pos) |
const T & | operator[] (size_type pos) const |
iterator & | operator++ () |
iterator & | operator-- () |
iterator | operator++ (int) |
iterator | operator-- (int) |
difference_type friend | operator- (iterator a, iterator b) |
iterator | operator+ (size_type n) |
iterator & | operator+= (size_type n) |
iterator | operator- (size_type n) |
iterator & | operator-= (size_type n) |
bool | operator== (iterator x) const |
bool | operator!= (iterator x) const |
bool | operator>= (iterator x) const |
bool | operator<= (iterator x) const |
bool | operator> (iterator x) const |
bool | operator< (iterator x) const |
Private Attributes | |
T * | ptr |
Detailed Description
template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
class prevector< N, T, Size, Diff >::iterator
Definition at line 49 of file prevector.h.
Member Typedef Documentation
◆ difference_type
typedef Diff prevector< N, T, Size, Diff >::iterator::difference_type |
Definition at line 52 of file prevector.h.
◆ iterator_category
typedef std::random_access_iterator_tag prevector< N, T, Size, Diff >::iterator::iterator_category |
Definition at line 56 of file prevector.h.
◆ pointer
typedef T* prevector< N, T, Size, Diff >::iterator::pointer |
Definition at line 54 of file prevector.h.
◆ reference
typedef T& prevector< N, T, Size, Diff >::iterator::reference |
Definition at line 55 of file prevector.h.
◆ value_type
typedef T prevector< N, T, Size, Diff >::iterator::value_type |
Definition at line 53 of file prevector.h.
Constructor & Destructor Documentation
◆ iterator()
|
inline |
Definition at line 57 of file prevector.h.
Referenced by prevector< N, T, Size, Diff >::iterator::operator+(), and prevector< N, T, Size, Diff >::iterator::operator-().
Member Function Documentation
◆ operator!=()
|
inline |
Definition at line 72 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator*()
|
inline |
Definition at line 58 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator+()
|
inline |
Definition at line 67 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::iterator(), and prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator++() [1/2]
|
inline |
Definition at line 62 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator++() [2/2]
|
inline |
Definition at line 64 of file prevector.h.
References immer::copy().
◆ operator+=()
|
inline |
Definition at line 68 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator-() [1/2]
|
inline |
Definition at line 66 of file prevector.h.
◆ operator-() [2/2]
|
inline |
Definition at line 69 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::iterator(), and prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator--() [1/2]
|
inline |
Definition at line 63 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator--() [2/2]
|
inline |
Definition at line 65 of file prevector.h.
References immer::copy().
◆ operator-=()
|
inline |
Definition at line 70 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator->()
|
inline |
Definition at line 59 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator<()
|
inline |
Definition at line 76 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator<=()
|
inline |
Definition at line 74 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator==()
|
inline |
Definition at line 71 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator>()
|
inline |
Definition at line 75 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator>=()
|
inline |
Definition at line 73 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator[]() [1/2]
|
inline |
Definition at line 60 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
◆ operator[]() [2/2]
|
inline |
Definition at line 61 of file prevector.h.
References prevector< N, T, Size, Diff >::iterator::ptr.
Member Data Documentation
◆ ptr
|
private |
Definition at line 50 of file prevector.h.
Referenced by prevector< N, T, Size, Diff >::iterator::operator!=(), prevector< N, T, Size, Diff >::iterator::operator*(), prevector< N, T, Size, Diff >::iterator::operator+(), prevector< N, T, Size, Diff >::iterator::operator++(), prevector< N, T, Size, Diff >::iterator::operator+=(), prevector< N, T, Size, Diff >::iterator::operator-(), prevector< N, T, Size, Diff >::iterator::operator--(), prevector< N, T, Size, Diff >::iterator::operator-=(), prevector< N, T, Size, Diff >::iterator::operator->(), prevector< N, T, Size, Diff >::iterator::operator<(), prevector< N, T, Size, Diff >::iterator::operator<=(), prevector< N, T, Size, Diff >::iterator::operator==(), prevector< N, T, Size, Diff >::iterator::operator>(), prevector< N, T, Size, Diff >::iterator::operator>=(), and prevector< N, T, Size, Diff >::iterator::operator[]().
The documentation for this class was generated from the following file:
- src/prevector.h