A fixed size array.
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. |
Name | Description |
---|---|
friend void ReadObject(Reader &reader, FixedSizeArray &object) | Serialise. |
friend void WriteObject(Writer &writer, const FixedSizeArray &object) | Serialise. |
public: FixedSizeArray
(
T a
)
Constructor.
public: GEO_FORCE_INLINE operator const T *() const
Decay to pointer.
public: GEO_FORCE_INLINE operator T *()
Decay to pointer.
public: GEO_FORCE_INLINE T & operator[]
(
int i
)
Return the i'th element.
public: GEO_FORCE_INLINE const T & operator[]
(
int i
) const
Return the i'th element.