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. |
Anchor | ||||
---|---|---|---|---|
|
Geo::FixedSizeArray< T, N >::FixedSizeArray
...
public: FixedSizeArray
(
T a
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
GEO_FORCE_INLINE Geo::FixedSizeArray< T, N >::operator const T *
...
public: GEO_FORCE_INLINE operator const T *() const
...
Decay to pointer.
Anchor | ||||
---|---|---|---|---|
|
GEO_FORCE_INLINE Geo::FixedSizeArray< T, N >::operator T *
...
public: GEO_FORCE_INLINE operator T *()
...
Decay to pointer.
Anchor | ||||
---|---|---|---|---|
|
GEO_FORCE_INLINE T& Geo::FixedSizeArray< T, N >::operator[]
...
public: GEO_FORCE_INLINE T & operator[]
(
int i
)
...
Return the i'th element.
Anchor | ||||
---|---|---|---|---|
|
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.