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

Definition at line 39 of file vctDynamicMatrixOwner.h.
| void vctDynamicMatrixOwner< _elementType >::SetSize | ( | size_type | rows, | |
| size_type | cols, | |||
| bool | rowMajor | |||
| ) | [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 177 of file vctDynamicMatrixOwner.h.
Referenced by vctDynamicMatrix< svlTarget2D >::SetSize(), and vctDynamicMatrixOwner< _elementType >::vctDynamicMatrixOwner().
| void vctDynamicMatrixOwner< _elementType >::SetSize | ( | const nsize_type & | newSizes, | |
| bool | rowMajor | |||
| ) | [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 181 of file vctDynamicMatrixOwner.h.
References vctDynamicMatrixOwner< _elementType >::Disown(), vctDynamicMatrixOwner< _elementType >::Own(), and vctDynamicMatrixOwner< _elementType >::RowMajor.
| pointer vctDynamicMatrixOwner< _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 193 of file vctDynamicMatrixOwner.h.
References vctDynamicMatrixOwner< _elementType >::Data, vctDynamicMatrixOwner< _elementType >::RowMajor, vctDynamicMatrixOwner< _elementType >::SizesMember, and VCT_DEFAULT_STORAGE.
Referenced by vctDynamicMatrix< _elementType >::operator=(), vctDynamicMatrix< svlTarget2D >::resize(), vctDynamicMatrix< _elementType >::vctDynamicMatrix(), and vctReturnDynamicMatrix< _elementType >::vctReturnDynamicMatrix().
| pointer vctDynamicMatrixOwner< _elementType >::Own | ( | size_type | rows, | |
| size_type | cols, | |||
| bool | rowMajor, | |||
| pointer | data | |||
| ) | [inline] |
Have this owner take ownership of a new data pointer. Return the old data pointer without freeing memory.
Definition at line 209 of file vctDynamicMatrixOwner.h.
Referenced by vctDynamicMatrix< _elementType >::operator=(), vctDynamicMatrix< svlTarget2D >::resize(), vctDynamicMatrixOwner< _elementType >::SetSize(), vctDynamicMatrix< _elementType >::vctDynamicMatrix(), and vctReturnDynamicMatrix< _elementType >::vctReturnDynamicMatrix().
| pointer vctDynamicMatrixOwner< _elementType >::Own | ( | const nsize_type & | newSizes, | |
| bool | rowMajor, | |||
| pointer | data | |||
| ) | [inline] |
Have this owner take ownership of a new data pointer. Return the old data pointer without freeing memory.
Definition at line 213 of file vctDynamicMatrixOwner.h.
References vctDynamicMatrixOwner< _elementType >::cols(), vctDynamicMatrixOwner< _elementType >::Data, vctDynamicMatrixOwner< _elementType >::RowMajor, vctDynamicMatrixOwner< _elementType >::rows(), vctDynamicMatrixOwner< _elementType >::SizesMember, and vctDynamicMatrixOwner< _elementType >::StridesMember.
| void vctDynamicMatrixOwner< _elementType >::Disown | ( | void | ) | [inline] |
Free the memory allocated for the data pointer. Reset data pointer and size to zero.
Definition at line 227 of file vctDynamicMatrixOwner.h.
References vctDynamicMatrixOwner< _elementType >::Data, vctDynamicMatrixOwner< _elementType >::RowMajor, vctDynamicMatrixOwner< _elementType >::SizesMember, and vctDynamicMatrixOwner< _elementType >::StridesMember.
Referenced by vctDynamicMatrix< _elementType >::operator=(), vctDynamicMatrix< svlTarget2D >::resize(), vctDynamicMatrixOwner< _elementType >::SetSize(), and vctDynamicMatrixOwner< _elementType >::~vctDynamicMatrixOwner().