|
R-Type
R-Type project
|
Public Member Functions | |
| ArraySegment (T *_array, int _size) | |
| ArraySegment (T *_array, int _offset, int _size) | |
| T * | toArray () const |
| Get the array. More... | |
| operator T* () const | |
| int | getOffset () const |
| Get the offset of the array. More... | |
| int | getSize () const |
| Get the size of the array. More... | |
| T & | operator[] (int index) |
| bool | operator== (ArraySegment< T > const &other) |
| bool | operator!= (ArraySegment< T > const &other) |
| ArraySegment< T > & | operator= (ArraySegment< T > const &other) |
Static Public Member Functions | |
| static std::shared_ptr< ArraySegment< T > > | createArraySegment (T *array, int size) |
| static std::shared_ptr< ArraySegment< T > > | createArraySegment (T *array, int offset, int size) |
|
inline |
Get the offset of the array.
|
inline |
Get the size of the array.
|
inline |
Get the array.