class Geo GeoArray_Stl

This is the documentation for Enlighten.

class Geo GeoArray_Stl

template<typename T>
class Geo::GeoArray_Stl

    └>Geo::GeoArray< T >

STL adaptor to make the GeoArray look like a proper STL container.

Typedefs

Name

Description

const T * const_iterator

The simplest possible const_iterator type (a raw pointer).

const T * const_pointer

STL style typedefs that mark us as being a random access container.

const T & const_reference

STL style typedefs that mark us as being a random access container.

T * iterator

The simplest possible iterator type (a raw pointer).

std::random_access_iterator_tag iterator_category

STL style typedefs that mark us as being a random access container.

T * pointer

STL style typedefs that mark us as being a random access container.

T & reference

STL style typedefs that mark us as being a random access container.

s32 size_type

STL style typedefs that mark us as being a random access container.

T value_type

STL style typedefs that mark us as being a random access container.

T ValueType

Alias for our storage type.

Functions

Name

Description

~GeoArray()

Destructor calls destructor on all elements in the array and frees the memory.

Append(const U *, Geo::s32)

Append the elements in the specified range.

back()

Forwarding functions with Stl naming convention.

back()

Forwarding functions with Stl naming convention.

Back()

Non constant access to final entry.

Back()

Constant access to final entry.

begin()

Forwarding functions with Stl naming convention.

begin()

Forwarding functions with Stl naming convention.

Begin()

Return iterator similar to vector::begin()

Begin()

Return iterator similar to vector::begin()

Clear()

Remove all elements from the array.

Contains(const T &)

Returns true if the array contains x.

Emplace(s32, U &&)

Insert an element at the specified index, elements already in the array at that index and above are shuffled up.

EmplaceBack(U &&)

Add the specified element to the end of the array.

EmplaceBackFast(U &&)

Fast version of push that doesn't do any checking in release.

EmplaceFast(s32, U &&)

Inserts elem at index, and moves whatever is currently at the index to the end of the array, thus not preserving order or existing indices.

empty()

Forwarding functions with Stl naming convention.

end()

Forwarding functions with Stl naming convention.

end()

Forwarding functions with Stl naming convention.

End()

Return iterator similar to vector::end()

End()

Return iterator similar to vector::end()