#include <array.h>
Inheritance diagram for dbArray< T >:
Public Methods | |
dbArray () | |
dbArray (size_t size) | |
dbArray (T const *ptr, size_t size, size_t allocate=0) | |
dbArray (dbArray const &arr) | |
~dbArray () | |
dbArray & | operator= (dbArray const &arr) |
T const & | last () |
void | assign (T const *ptr, size_t size, bool copy=true) |
T const & | operator[] (size_t index) const |
void | putat (size_t index, T const &value) |
T const & | getat (size_t index) const |
void | clear () |
void | resize (size_t size) |
void | append (T const &value) |
void | insert (T const &value, size_t index=0) |
void | remove (size_t index) |
T const * | get () const |
T * | update () |
size_t | length () const |
void const * | base () const |
Static Protected Methods | |
void | arrayAllocator (dbAnyArray *aArray, void *data, size_t length) |
Friends | |
class | dbTableDescriptor |
|
Default constructor |
|
Construct array with specified length
|
|
Construct array with specified content
|
|
Copy constructor
|
|
Destructor |
|
Append value to the array
|
|
Assign content to the array
|
|
Get pointer to array elements. You should not update them directly.
|
|
Make array empty |
|
Get pointer to array elements. You should not directly change them.
|
|
Get array element with specified index.
|
|
Insert element in the array at specified position
|
|
Get last element of the array
|
|
Get number of elements
|
|
Assignment operator
|
|
Get array element with specified index.
|
|
Store element at the specified position
|
|
Remove element a specified position.
|
|
Resize array
|
|
Get pointer to array elements to perform update.
|