#include "sphinx3_export.h"Go to the source code of this file.
|
|
|
|
|
|
|
||||||||||||
|
Append a new element to the end of the vector. The size of the vector will expand if needed.
|
|
|
Clear the content of the vector and set the element count to 0. The pointers (or data) contained in the vector are not freed. The user is responsible for freeing them. The array is immediately usable again.
|
|
|
Close the vector and free any internally allocated memory. The vector structure itself is not freed. The vector must be re-initialized before it can be used again.
|
|
|
Returns the element count.
|
|
|
Remove the element at the front of the vector.
|
|
||||||||||||
|
Get the element at a particular index. Accessing out-of-bound indices will cause an error.
|
|
|
Initializes the vector to a default size (1). A vector must be initialized before it can be used.
|
|
||||||||||||
|
Initializes the vector to a certain size. A vector must be initialized before it can be used.
|
|
||||||||||||||||
|
Insert the element at a position and shift the remaining element up. The size of the vector will expand if needed. (NOT IMPLEMENTED)
|
|
|
Remove the element at the end of the vector.
|
|
||||||||||||
|
Prepend a new element to the head of the vector. The size of the vector will expand if needed.
|
|
||||||||||||
|
Remove the element at a position and shift the remaining elements down. (NOT IMPLEMENTED)
|
|
||||||||||||||||
|
Replace the element at a particular index (and return the previous value). Replacing out-of-bound indices will cause an error.
|
|
||||||||||||||||
|
Set the element at a particular index. The element can be NULL. The previous value is not saved nor freed. The user is responsible for keeping track of the previous value if it is needed. This function automatically expands the size of the vector if needed. If the position is greater than the previous element count, the element count is updated.
|
|
|
Returns a read-only plain-old array of the elements in the vector.
|
1.3.9.1