VoidVector - continuous array of pointers of type T. More...
Classes | |
class | iterator |
The object that abstracts a single interface access to the items in the collection. More... | |
Public Member Functions | |
_FORCEINLINE void | assign (T *_val) |
Adds a new element. | |
_FORCEINLINE T *& | at (unsigned int id) |
Returns the element of the selected position of the array. | |
_FORCEINLINE iterator | begin () |
Returns an iterator pointing to the first element in the sequence. | |
_FORCEINLINE void | clear () |
Frees an array of completely deleting the allocated memory. | |
_FORCEINLINE unsigned int | count () |
Number of array elements. | |
_FORCEINLINE T ** | data () |
Returns an array of data in a continuous sequence of elements. | |
_FORCEINLINE int | del (T *_val) |
Removes the element with the specified value and returns its position, otherwise-1. | |
_FORCEINLINE iterator | end () |
Returns an iterator to the conditional end in the sequence. | |
_FORCEINLINE T *& | first () |
Returns the first element of the array. | |
_FORCEINLINE bool | isEmpty () |
Returns true if the array does not contain any element. | |
_FORCEINLINE T *& | last () |
Returns the last element of the array. | |
_FORCEINLINE void | pop_back () |
Removes the last element. | |
_FORCEINLINE void | resize (unsigned int asize) |
Creates an array with the specified number of elements. | |
_FORCEINLINE unsigned int | size () |
Number of array elements. | |
VoidVector - continuous array of pointers of type T.
В отличии от std::vector скорость выполнения операций снижена за счет переходов на реализацию методов, имеет более компактный код.