|
| Vector (void) |
|
| Vector (Size size, Size maxSize) |
|
| Vector (Size maxSize) |
|
| Vector (const Vector &vector) |
|
template<typename C > |
| Vector (const Vector< C > &vector) |
|
| Vector (Vector &&v) |
|
template<typename C , size_t N> |
| Vector (const C(&data)[N]) |
|
template<typename C > |
| Vector (const C *data, Size maxSize) |
|
template<typename C > |
| Vector (const C *data, Size size, Size maxSize) |
|
| ~Vector (void) |
|
bool | iterate (RandomAccessIterator *it, elemType **e) |
|
void | reserve (Size newMax) |
|
void | allocate (Size newMax) |
|
void | resize (Size newSize) |
|
const T & | operator[] (Size index) const |
|
T & | operator[] (Size index) |
|
T & | getValuei (Size i) |
|
const T & | getValuei (Size i) const |
|
T & | getValueit (RandomAccessIterator i) |
|
const T & | getValueit (RandomAccessIterator i) const |
|
void | setValuei (Size i, const T &data) |
|
void | setValueit (RandomAccessIterator i, const T &data) |
|
RandomAccessIterator | getBegin () const |
|
RandomAccessIterator | getEnd () const |
|
RandomAccessIterator | begin () const |
|
RandomAccessIterator | end () const |
|
bool | operator== (const Vector< T > &v) const |
|
bool | operator!= (const Vector< T > &v) const |
|
bool | operator< (const Vector< T > &v) const |
|
bool | operator> (const Vector< T > &v) const |
|
bool | operator<= (const Vector< T > &v) const |
|
bool | operator>= (const Vector< T > &v) const |
|
bool | operator== (const T &v) const |
|
bool | operator!= (const T &v) const |
|
bool | operator< (const T &v) const |
|
bool | operator> (const T &v) const |
|
bool | operator<= (const T &v) const |
|
bool | operator>= (const T &v) const |
|
Vector< T > & | operator= (const Vector< T > &vector) |
|
Vector< T > & | operator= (Vector &&v) |
|
template<typename C > |
Vector< T > & | operator= (const Vector< C > &vector) |
|
Vector< T > & | operator+= (const Vector< T > &vector) |
|
void | push (const T &data) |
| insert a new data in the vector getSize() will be incremented and the memory auto managed. More...
|
|
T & | pop () |
| retrieve the last inserted object and decrement getSize(); More...
|
|
void | fill (const T &data) |
| Fill the complete vector with the specified data. More...
|
|
Size | getSize () const |
|
Size | getSizeBytes () const |
|
Size | getMaxSize () const |
|
void | clear () |
|
void | reset () |
|
const T & | getLast () const |
|
T & | getLast () |
|
const T & | getFirst () const |
|
T & | getFirst () |
|
const T * | data () const |
|
T * | data () |
|
const T * | getData () const |
|
T * | getData () |
|
bool | exists (const T &value) const |
|
void | createFromData (const T *dataTable, Size size) |
|
template<typename C > |
void | createFromData (const C *dataTable, Size size) |
|
void | replaceFirst (const T &search, const T &data) |
|
void | replaceAll (const T &search, const T &data) |
|
void | eraseFirst (const T &value) |
|
void | eraseAll (const T &value) |
|
void | eraseIndex (Size index) |
|
void | sortDesc () |
|
void | sortAsc () |
|
template<typename Func > |
void | sort (Func functor) |
| sort the elements of this vector using the quicksort algorithm More...
|
|
void | copy (Vector vector, Size indexSrc, Size indexDest, Size size) |
|
template<typename C > |
void | copy (Vector< C > vector, typename Vector< C >::Size indexSrc, Size indexDest, typename Vector< C >::Size size) |
|
template<typename C > |
void | copy (const C *datas, Size index, Size size) |
|
template<typename C > |
void | copy (const C *datas, Size size) |
|
bool | read (std::fstream *fileStream) |
| read from a file stream More...
|
|
bool | write (std::fstream *fileStream) const |
| write this object as binary into a file stream More...
|
|
Size | search (const T &data) const |
|
template<typename Compare > |
void | quicksort (RandomAccessIterator start, RandomAccessIterator end, Compare func=Logical::less< T >) |
|
template<typename C > |
| Vector (const C *data, typename Vector< T >::Size size) |
|
template<typename C > |
| Vector (const C *data, typename Vector< T >::Size size, typename Vector< T >::Size maxSize) |
|
template<typename T > |
void | copy (Vector< T > vector, typename Vector< T >::Size indexSrc, typename Vector< T >::Size indexDst, typename Vector< T >::Size size) |
|
template<typename C > |
void | copy (Vector< C > vector, typename Vector< C >::Size indexSrc, typename Vector< T >::Size indexDst, typename Vector< C >::Size size) |
|
template<typename T> |
void | createFromData (const T *dataTable, typename Vector< T >::Size size) |
|
template<typename C > |
void | createFromData (const C *dataTable, typename Vector< T >::Size size) |
|
bool | read (std::fstream *fileStream) |
| read from a file stream More...
|
|
bool | write (std::fstream *fileStream) const |
| write this object as binary into a file stream More...
|
|
|
template<typename C , typename D > |
static void | copy (C *destinationBuffer, const D *sourceBuffer, const Size &size) |
|
static void | copy (char *destinationBuffer, const char *sourceBuffer, const Size &size) |
|
static void | copy (unsigned char *destinationBuffer, const unsigned char *sourceBuffer, const Size &size) |
|
static void | copy (short *destinationBuffer, const short *sourceBuffer, const Size &size) |
|
static void | copy (unsigned short *destinationBuffer, const unsigned short *sourceBuffer, const Size &size) |
|
static void | copy (int *destinationBuffer, const int *sourceBuffer, const Size &size) |
|
static void | copy (unsigned int *destinationBuffer, const unsigned int *sourceBuffer, const Size &size) |
|
static void | copy (long *destinationBuffer, const long *sourceBuffer, const Size &size) |
|
static void | copy (unsigned long *destinationBuffer, const unsigned long *sourceBuffer, const Size &size) |
|
static void | copy (long long *destinationBuffer, const long long *sourceBuffer, const Size &size) |
|
static void | copy (unsigned long long *destinationBuffer, const unsigned long long *sourceBuffer, const Size &size) |
|
static void | copy (float *destinationBuffer, const float *sourceBuffer, const Size &size) |
|
static void | copy (double *destinationBuffer, const double *sourceBuffer, const Size &size) |
|
static void | copy (wchar_t *destinationBuffer, const wchar_t *sourceBuffer, const Size &size) |
|