Skip to content

GenApi::node_vector::iterator#

Inherits from GenApi::node_vector::const_iterator

Public Types#

Name
typedef std::random_access_iterator_tag iterator_category
typedef T value_type
typedef const_iterator::difference_type difference_type
typedef const_iterator::pointer pointer
typedef const_iterator::reference reference

Public Functions#

Name
iterator(T * pPtr )
T & operator*(void ) const
iterator & operator++(void )
iterator operator++(int )
iterator & operator–(void )
iterator operator–(int )
iterator & operator+=(intptr_t iInc)
iterator operator+=(intptr_t iInc) const
iterator operator+(intptr_t iInc) const
iterator & operator-=(intptr_t iDec)
iterator operator-=(intptr_t iDec) const
intptr_t operator-(const iterator & iter) const
iterator operator-(intptr_t iDec) const
T & operator[](intptr_t iIndex) const
intptr_t 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
bool operator>=(const const_iterator & iter) const

Protected Attributes#

Name
T * _ps

Friends#

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

Public Types Documentation#

typedef iterator_category#

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

typedef value_type#

typedef T GenApi::node_vector::iterator::value_type;

typedef difference_type#

typedef const_iterator::difference_type GenApi::node_vector::iterator::difference_type;

typedef pointer#

typedef const_iterator::pointer GenApi::node_vector::iterator::pointer;

typedef reference#

typedef const_iterator::reference GenApi::node_vector::iterator::reference;

Public Functions Documentation#

iterator#

iterator(
    T * pPtr 
)

operator*#

T & operator*(
    void 
) const

operator++#

iterator & operator++(
    void 
)

operator++#

iterator operator++(
    int 
)

operator–#

iterator & operator--(
    void 
)

operator–#

iterator operator--(
    int 
)

operator+=#

iterator & operator+=(
    intptr_t iInc
)

operator+=#

iterator operator+=(
    intptr_t iInc
) const

operator+#

iterator operator+(
    intptr_t iInc
) const

operator-=#

iterator & operator-=(
    intptr_t iDec
)

operator-=#

iterator operator-=(
    intptr_t iDec
) const

operator-#

intptr_t operator-(
    const iterator & iter
) const

operator-#

iterator operator-(
    intptr_t iDec
) const

operator[]#

T & operator[](
    intptr_t iIndex
) const

operator-#

intptr_t 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

operator>=#

bool operator>=(
    const const_iterator & iter
) const

Protected Attributes Documentation#

_ps#

T * _ps;

Friends#

friend operator+#

friend iterator operator+(
    intptr_t iInc,

    const iterator & iter
);

Updated on 5 July 2022 at 15:30:01