Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Private Attributes | List of all members
prevector< N, T, Size, Diff >::iterator Class Reference

#include <prevector.h>

Public Types

typedef Diff difference_type
 
typedef T value_type
 
typedef Tpointer
 
typedef Treference
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

 iterator (T *ptr_)
 
Toperator* () const
 
Toperator-> () const
 
Toperator[] (size_type pos)
 
const Toperator[] (size_type pos) const
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 
iterator operator++ (int)
 
iterator operator-- (int)
 
difference_type friend operator- (iterator a, iterator b)
 
iterator operator+ (size_type n)
 
iteratoroperator+= (size_type n)
 
iterator operator- (size_type n)
 
iteratoroperator-= (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

Tptr
 

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 46 of file prevector.h.

Member Typedef Documentation

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

Definition at line 49 of file prevector.h.

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 >::iterator::iterator_category

Definition at line 53 of file prevector.h.

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

Definition at line 51 of file prevector.h.

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

Definition at line 52 of file prevector.h.

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

Definition at line 50 of file prevector.h.

Constructor & Destructor Documentation

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

Definition at line 54 of file prevector.h.

Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 69 of file prevector.h.

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

Definition at line 55 of file prevector.h.

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

Definition at line 64 of file prevector.h.

Here is the call graph for this function:

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

Definition at line 59 of file prevector.h.

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

Definition at line 61 of file prevector.h.

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

Definition at line 65 of file prevector.h.

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

Definition at line 63 of file prevector.h.

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

Definition at line 66 of file prevector.h.

Here is the call graph for this function:

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

Definition at line 60 of file prevector.h.

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

Definition at line 62 of file prevector.h.

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

Definition at line 67 of file prevector.h.

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

Definition at line 56 of file prevector.h.

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

Definition at line 73 of file prevector.h.

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

Definition at line 71 of file prevector.h.

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

Definition at line 68 of file prevector.h.

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

Definition at line 72 of file prevector.h.

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

Definition at line 70 of file prevector.h.

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

Definition at line 57 of file prevector.h.

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

Definition at line 58 of file prevector.h.

Member Data Documentation

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

Definition at line 47 of file prevector.h.


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