Skip to content

GenApi::node_vector::const_iterator#

Inherited by GenApi::node_vector::iterator

Public Types#

Name
typedef std::random_access_iterator_tag iterator_category
typedef T value_type
typedef ptrdiff_t difference_type
typedef T * pointer
typedef T & reference

Public Functions#

Name
const_iterator(T * pPtr )
const T & operator*(void ) const
const_iterator & operator++(void )
const_iterator operator++(int )
const_iterator & operator–(void )
const_iterator operator–(int )
const_iterator & operator+=(intptr_t iInc)
const_iterator operator+=(intptr_t iInc) const
const_iterator operator+(intptr_t iInc) const
const_iterator & operator-=(intptr_t iDec)
const_iterator operator-=(intptr_t iDec) const
intptr_t operator-(const const_iterator & iter) const
const_iterator operator-(intptr_t iDec) const
const T & operator[](intptr_t iIndex) const
bool operator==(const const_iterator & iter) const
bool operator!=(const const_iterator & iter) const
bool operator<(const const_iterator & iter) const
bool operator>(const const_iterator & iter) const
bool operator<=(const const_iterator & iter) const
bool operator>=(const const_iterator & iter) const

Protected Attributes#

Name
T * _ps

Friends#

Name
const_iterator operator+(intptr_t iInc, const const_iterator & iter)

Public Types Documentation#

typedef iterator_category#

typedef std::random_access_iterator_tag GenApi::node_vector::const_iterator::iterator_category;

typedef value_type#

typedef T GenApi::node_vector::const_iterator::value_type;

typedef difference_type#

typedef ptrdiff_t GenApi::node_vector::const_iterator::difference_type;

typedef pointer#

typedef T* GenApi::node_vector::const_iterator::pointer;

typedef reference#

typedef T& GenApi::node_vector::const_iterator::reference;

Public Functions Documentation#

const_iterator#

const_iterator(
    T * pPtr 
)

operator*#

const T & operator*(
    void 
) const

operator++#

const_iterator & operator++(
    void 
)

operator++#

const_iterator operator++(
    int 
)

operator–#

const_iterator & operator--(
    void 
)

operator–#

const_iterator operator--(
    int 
)

operator+=#

const_iterator & operator+=(
    intptr_t iInc
)

operator+=#

const_iterator operator+=(
    intptr_t iInc
) const

operator+#

const_iterator operator+(
    intptr_t iInc
) const

operator-=#

const_iterator & operator-=(
    intptr_t iDec
)

operator-=#

const_iterator operator-=(
    intptr_t iDec
) const

operator-#

intptr_t operator-(
    const const_iterator & iter
) const

operator-#

const_iterator operator-(
    intptr_t iDec
) const

operator[]#

const T & operator[](
    intptr_t iIndex
) const

operator==#

bool operator==(
    const const_iterator & iter
) const

operator!=#

bool operator!=(
    const const_iterator & iter
) const

operator<#

bool operator<(
    const const_iterator & iter
) const

operator>#

bool operator>(
    const const_iterator & iter
) const

operator<=#

bool operator<=(
    const const_iterator & iter
) const

operator>=#

bool operator>=(
    const const_iterator & iter
) const

Protected Attributes Documentation#

_ps#

T * _ps;

Friends#

friend operator+#

friend const_iterator operator+(
    intptr_t iInc,

    const const_iterator & iter
);

Updated on 5 July 2022 at 15:30:01