#include <vctDynamicVectorOwner.h>
Collaboration diagram for vctDynamicVectorOwner< _elementType >:

Definition at line 37 of file vctDynamicVectorOwner.h.
| typedef vctDynamicVectorOwner<_elementType> vctDynamicVectorOwner< _elementType >::ThisType |
The type of this owner.
Definition at line 44 of file vctDynamicVectorOwner.h.
| void vctDynamicVectorOwner< _elementType >::SetSize | ( | size_type | size | ) | [inline] |
Non-preserving resize operation. This method discards of all the current data of the dynamic array and allocates new space in the requested size.
If the size is set to zero, the data pointer is set to null (0).
Definition at line 128 of file vctDynamicVectorOwner.h.
References vctDynamicVectorOwner< _elementType >::Disown(), vctDynamicVectorOwner< _elementType >::Own(), and vctDynamicVectorOwner< _elementType >::Size.
Referenced by vctDynamicVector< svlSample * >::SetSize(), and vctDynamicVectorOwner< _elementType >::vctDynamicVectorOwner().
| value_type* vctDynamicVectorOwner< _elementType >::Release | ( | void | ) | [inline] |
Release the currently owned data pointer from being owned. Reset this owner's data pointer and size to zero. Return the old data pointer without freeing memory.
Definition at line 138 of file vctDynamicVectorOwner.h.
References vctDynamicVectorOwner< _elementType >::Data, and vctDynamicVectorOwner< _elementType >::Size.
Referenced by vctDynamicVector< svlSample * >::resize(), and vctReturnDynamicVector< _elementType >::vctReturnDynamicVector().
| value_type* vctDynamicVectorOwner< _elementType >::Own | ( | size_type | size, | |
| value_type * | data | |||
| ) | [inline] |
Have this owner take ownership of a new data pointer. Return the old data pointer without freeing memory.
Definition at line 149 of file vctDynamicVectorOwner.h.
References vctDynamicVectorOwner< _elementType >::Data, and vctDynamicVectorOwner< _elementType >::Size.
Referenced by vctDynamicVector< svlSample * >::resize(), vctDynamicVectorOwner< _elementType >::SetSize(), and vctReturnDynamicVector< _elementType >::vctReturnDynamicVector().
| void vctDynamicVectorOwner< _elementType >::Disown | ( | void | ) | [inline] |
Free the memory allocated for the data pointer. Reset data pointer and size to zero.
Definition at line 159 of file vctDynamicVectorOwner.h.
References vctDynamicVectorOwner< _elementType >::Data, and vctDynamicVectorOwner< _elementType >::Size.
Referenced by vctDynamicVector< svlSample * >::resize(), vctDynamicVectorOwner< _elementType >::SetSize(), and vctDynamicVectorOwner< _elementType >::~vctDynamicVectorOwner().