|
OpenMW
|
#include <slice_array.hpp>
Public Member Functions | |
| SliceArray () | |
| Initialize to zero length. | |
| SliceArray (const T *_ptr, size_t _length) | |
| Initialize from pointer + length. | |
| SliceArray (const char *str) | |
| Initialize from null-terminated string. | |
| bool | operator== (SliceArray &t) |
| bool | operator== (const char *str) |
| Only use this for stings. | |
| std::string | toString () |
Public Attributes | |
| const T * | ptr |
| size_t | length |
| Misc::SliceArray< T >::SliceArray | ( | ) | [inline] |
Initialize to zero length.
| Misc::SliceArray< T >::SliceArray | ( | const T * | _ptr, |
| size_t | _length | ||
| ) | [inline] |
Initialize from pointer + length.
| Misc::SliceArray< T >::SliceArray | ( | const char * | str | ) | [inline] |
Initialize from null-terminated string.
| bool Misc::SliceArray< T >::operator== | ( | SliceArray< T > & | t | ) | [inline] |
| bool Misc::SliceArray< T >::operator== | ( | const char * | str | ) | [inline] |
Only use this for stings.
| std::string Misc::SliceArray< T >::toString | ( | ) | [inline] |
This allocates a copy of the data. Only use this for debugging and error messages.
| size_t Misc::SliceArray< T >::length |
| const T* Misc::SliceArray< T >::ptr |
1.7.6.1