This is the documentation for Enlighten.

struct Geo FixedSizeArray

template<typename, int>
struct Geo::FixedSizeArray

A fixed size array.

Functions

Name Description
FixedSizeArray(T)

Constructor.

operator const T *()

Decay to pointer.

operator T *()

Decay to pointer.

operator[](int)

Return the i'th element.

operator[](int)

Return the i'th element.

Friends

Name Description
friend void ReadObject(Reader &reader, FixedSizeArray &object)

Serialise.

friend void WriteObject(Writer &writer, const FixedSizeArray &object)

Serialise.


Geo::FixedSizeArray< T, N >::FixedSizeArray


public: FixedSizeArray
(
    T a
)


Constructor.


GEO_FORCE_INLINE Geo::FixedSizeArray< T, N >::operator const T *


public: GEO_FORCE_INLINE operator const T *() const


Decay to pointer.


GEO_FORCE_INLINE Geo::FixedSizeArray< T, N >::operator T *


public: GEO_FORCE_INLINE operator T *()


Decay to pointer.


GEO_FORCE_INLINE T& Geo::FixedSizeArray< T, N >::operator[]


public: GEO_FORCE_INLINE T & operator[]
(
    int i
)


Return the i'th element.


GEO_FORCE_INLINE const T& Geo::FixedSizeArray< T, N >::operator[]


public: GEO_FORCE_INLINE const T & operator[]
(
    int i
) const


Return the i'th element.