This is the documentation for Enlighten.

class Enlighten GenericColourBuffer ConstIterator

template<typename ValueType>
class Enlighten::GenericColourBuffer::ConstIterator

Const Iterator.

Functions

Name Description
ConstIterator(const void *)

Constructor.

GetPtr()

Get a pointer to the data referenced by this iterator.

operator!=(const ConstIterator &)

Not-equals operator.

operator*()

Gets the stored value and promote to the ExpandedType.

operator+(Geo::s32)

Jump forward.

operator++()

Pre-increment next value.

operator++(int)

Post-increment next value.

operator+=(int)

Increment to next nth value.

operator==(ConstIterator &)

Equality operator.


Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::ConstIterator


public: ConstIterator
(
    const void * mem
)


Constructor.


const ValueType* Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::GetPtr


public: const ValueType * GetPtr() const


Get a pointer to the data referenced by this iterator.


bool Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator!=


public: bool operator!=
(
    const ConstIterator & other
) const


Not-equals operator.


const ValueType Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator*


public: const ValueType operator*() const


Gets the stored value and promote to the ExpandedType.


ConstIterator Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator+


public: ConstIterator operator+
(
    Geo::s32 n
)


Jump forward.


ConstIterator& Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator++


public: ConstIterator & operator++()


Pre-increment next value.


ConstIterator Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator++


public: ConstIterator operator++
(
    int
)


Post-increment next value.


ConstIterator& Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator+=


public: ConstIterator & operator+=
(
    int n
)


Increment to next nth value.


bool Enlighten::GenericColourBuffer< C >::ConstIterator< ValueType >::operator==


public: bool operator==
(
    ConstIterator & other
) const


Equality operator.