#include <FXMaths.h>
This is useful for denoting compile-time fixed length arrays. It emulates the STL vector class so you can iterate it. If you are thinking of a vector, use FX::Maths::Vector instead and if you are thinking of a matrix, use FX::Maths::Matrix instead. That said, an Array<Vector<float, 64>, 64> can make sense in certain circumstances.
Definition at line 1087 of file FXMaths.h.
Public Types | |
typedef type | value_type |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef value_type * | iterator |
typedef const value_type * | const_iterator |
Public Member Functions | |
size_t | max_size () const |
Array () | |
Array (const type *d) | |
bool | operator== (const Array &o) const |
bool | operator!= (const Array &o) const |
reference | at (int i) |
const_reference | at (int i) const |
reference | operator[] (int i) |
const_reference | operator[] (int i) const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |