ivutils
|
Vector of dynamic objects and flag, which define the action with dynamic objects if function clear is called: 0 - do not delete, nonzero - delete, 8 (bit flag set) - delete as array. More...
#include <refobj.h>
Inherits std::vector< T * >.
Public Member Functions | |
refvector * | make_copy () const |
Makes a copy with unmanaged pointers. If necessary, transfer of management options should be done explicitly by calling refvector::set_managed of the copy and original. | |
void | set_managed (int man_) |
Changes managed behaviour. | |
Static Public Member Functions | |
static void | destroy_copy (refvector *copy) |
Needed for omp_pointers virtual interface. | |
Vector of dynamic objects and flag, which define the action with dynamic objects if function clear is called: 0 - do not delete, nonzero - delete, 8 (bit flag set) - delete as array.
|
inline |
Changes managed behaviour.
man_ | if nonzero the verctor contents will be deleted by destructor. If value is 0x8 then every item will be deleted as array. |