Skip to content

Pylon::TList::const_iterator#

Inherited by Pylon::TList< T >::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 T * operator->() const
const_iterator & operator++(void )
const_iterator operator++(int )
const_iterator & operator–(void )
const_iterator operator–(int )
const_iterator & operator+=(const intptr_t & iInc)
const_iterator operator+(intptr_t iInc) const
const_iterator & operator-=(const intptr_t & iDec)
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
TList< T >::const_iterator operator+(intptr_t iInc, const typename TList< T >::const_iterator & iter)

Public Types Documentation#

typedef iterator_category#

typedef std::random_access_iterator_tag Pylon::TList< T >::const_iterator::iterator_category;

typedef value_type#

typedef T Pylon::TList< T >::const_iterator::value_type;

typedef difference_type#

typedef ptrdiff_t Pylon::TList< T >::const_iterator::difference_type;

typedef pointer#

typedef T* Pylon::TList< T >::const_iterator::pointer;

typedef reference#

typedef T& Pylon::TList< T >::const_iterator::reference;

Public Functions Documentation#

const_iterator#

const_iterator(
    T * pPtr 
)

operator*#

const T & operator*(
    void 
) const

operator->#

const T * operator->() 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+=(
    const intptr_t & iInc
)

operator+#

const_iterator operator+(
    intptr_t iInc
) const

operator-=#

const_iterator & operator-=(
    const intptr_t & iDec
)

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 TList< T >::const_iterator operator+(
    intptr_t iInc,

    const typename TList< T >::const_iterator & iter
);

Updated on 5 July 2022 at 15:30:00