|
ivutils
|
Array of managed pointers. More...
#include <refobj.h>
Public Member Functions | |
| size_t | size () const |
| get current size | |
| size_t | push_back (const mngarg< T > &arg) |
| add an element to the end of array | |
| const T * | operator[] (size_t i) const |
| Get pointer at current index. | |
| T * | operator[] (size_t i) |
| Get const pointer at current index. | |
| void | reset (size_t i, const mngarg< T > &arg) |
| Change value at current index, deletes existing pointer if necessary. | |
| void | clear () |
| Clears array, deleting all pointers if necessary. | |
| ~array_mngptr () | |
| Destructor, deletes all pointers if necessary. | |
Array of managed pointers.
Used to group managed pointers into variable size array based on std::vector.
|
inline |
add an element to the end of array