Bitcoin ABC 0.30.5
P2P Digital Currency
Public Types | Public Member Functions | Private Attributes | List of all members
prevector< N, T, Size, Diff >::const_iterator Class Reference

#include <prevector.h>

Public Types

typedef Diff difference_type
 
typedef const T value_type
 
typedef const T * pointer
 
typedef const T & reference
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

 const_iterator ()
 
 const_iterator (const T *ptr_)
 
 const_iterator (iterator x)
 
const T & operator* () const
 
const T * operator-> () const
 
const T & operator[] (size_type pos) const
 
const_iteratoroperator++ ()
 
const_iteratoroperator-- ()
 
const_iterator operator++ (int)
 
const_iterator operator-- (int)
 
difference_type friend operator- (const_iterator a, const_iterator b)
 
const_iterator operator+ (size_type n)
 
const_iteratoroperator+= (size_type n)
 
const_iterator operator- (size_type n)
 
const_iteratoroperator-= (size_type n)
 
bool operator== (const_iterator x) const
 
bool operator!= (const_iterator x) const
 
bool operator>= (const_iterator x) const
 
bool operator<= (const_iterator x) const
 
bool operator> (const_iterator x) const
 
bool operator< (const_iterator x) const
 

Private Attributes

const T * ptr
 

Detailed Description

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
class prevector< N, T, Size, Diff >::const_iterator

Definition at line 139 of file prevector.h.

Member Typedef Documentation

◆ difference_type

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
typedef Diff prevector< N, T, Size, Diff >::const_iterator::difference_type

Definition at line 143 of file prevector.h.

◆ iterator_category

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
typedef std::random_access_iterator_tag prevector< N, T, Size, Diff >::const_iterator::iterator_category

Definition at line 147 of file prevector.h.

◆ pointer

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
typedef const T* prevector< N, T, Size, Diff >::const_iterator::pointer

Definition at line 145 of file prevector.h.

◆ reference

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
typedef const T& prevector< N, T, Size, Diff >::const_iterator::reference

Definition at line 146 of file prevector.h.

◆ value_type

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
typedef const T prevector< N, T, Size, Diff >::const_iterator::value_type

Definition at line 144 of file prevector.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
prevector< N, T, Size, Diff >::const_iterator::const_iterator ( )
inline

Definition at line 148 of file prevector.h.

Here is the caller graph for this function:

◆ const_iterator() [2/3]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
prevector< N, T, Size, Diff >::const_iterator::const_iterator ( const T *  ptr_)
inline

Definition at line 149 of file prevector.h.

◆ const_iterator() [3/3]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
prevector< N, T, Size, Diff >::const_iterator::const_iterator ( iterator  x)
inline

Definition at line 150 of file prevector.h.

Member Function Documentation

◆ operator!=()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::const_iterator::operator!= ( const_iterator  x) const
inline

Definition at line 190 of file prevector.h.

◆ operator*()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const T & prevector< N, T, Size, Diff >::const_iterator::operator* ( ) const
inline

Definition at line 151 of file prevector.h.

◆ operator+()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator prevector< N, T, Size, Diff >::const_iterator::operator+ ( size_type  n)
inline

Definition at line 175 of file prevector.h.

Here is the call graph for this function:

◆ operator++() [1/2]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator & prevector< N, T, Size, Diff >::const_iterator::operator++ ( )
inline

Definition at line 154 of file prevector.h.

◆ operator++() [2/2]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator prevector< N, T, Size, Diff >::const_iterator::operator++ ( int  )
inline

Definition at line 162 of file prevector.h.

◆ operator+=()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator & prevector< N, T, Size, Diff >::const_iterator::operator+= ( size_type  n)
inline

Definition at line 178 of file prevector.h.

◆ operator-() [1/2]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
difference_type friend prevector< N, T, Size, Diff >::const_iterator::operator- ( const_iterator  a,
const_iterator  b 
)
inline

Definition at line 172 of file prevector.h.

◆ operator-() [2/2]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator prevector< N, T, Size, Diff >::const_iterator::operator- ( size_type  n)
inline

Definition at line 182 of file prevector.h.

Here is the call graph for this function:

◆ operator--() [1/2]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator & prevector< N, T, Size, Diff >::const_iterator::operator-- ( )
inline

Definition at line 158 of file prevector.h.

◆ operator--() [2/2]

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator prevector< N, T, Size, Diff >::const_iterator::operator-- ( int  )
inline

Definition at line 167 of file prevector.h.

◆ operator-=()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const_iterator & prevector< N, T, Size, Diff >::const_iterator::operator-= ( size_type  n)
inline

Definition at line 185 of file prevector.h.

◆ operator->()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const T * prevector< N, T, Size, Diff >::const_iterator::operator-> ( ) const
inline

Definition at line 152 of file prevector.h.

◆ operator<()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::const_iterator::operator< ( const_iterator  x) const
inline

Definition at line 194 of file prevector.h.

◆ operator<=()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::const_iterator::operator<= ( const_iterator  x) const
inline

Definition at line 192 of file prevector.h.

◆ operator==()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::const_iterator::operator== ( const_iterator  x) const
inline

Definition at line 189 of file prevector.h.

◆ operator>()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::const_iterator::operator> ( const_iterator  x) const
inline

Definition at line 193 of file prevector.h.

◆ operator>=()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::const_iterator::operator>= ( const_iterator  x) const
inline

Definition at line 191 of file prevector.h.

◆ operator[]()

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const T & prevector< N, T, Size, Diff >::const_iterator::operator[] ( size_type  pos) const
inline

Definition at line 153 of file prevector.h.

Member Data Documentation

◆ ptr

template<unsigned int N, typename T , typename Size = uint32_t, typename Diff = int32_t>
const T* prevector< N, T, Size, Diff >::const_iterator::ptr
private

Definition at line 140 of file prevector.h.


The documentation for this class was generated from the following file: