#include <array.h>
Inheritance diagram for dbArray< T >:

Public Member Functions | |
| dbFieldDescriptor * | dbDescribeComponents (dbFieldDescriptor *fd) |
| 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 |
Protected Member Functions | |
| void | memcpy (T *dst, T const *src, int n) |
| void | memmove (T *dst, T const *src, int n) |
Static Protected Member Functions | |
| void | arrayAllocator (dbAnyArray *aArray, void *data, size_t length) |
Protected Attributes | |
| T * | data |
| size_t | allocated |
| size_t | len |
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.
|
1.3.5