|
STK++ 0.9.13
|
Specialized Allocator for the dense Arrays classes. More...
#include <STK_CAllocator.h>

Public Types | |
| enum | { structure_ = hidden::Traits<CAllocator>::structure_ , orient_ = hidden::Traits<CAllocator>::orient_ , sizeRows_ = hidden::Traits<CAllocator>::sizeRows_ , sizeCols_ = hidden::Traits<CAllocator>::sizeCols_ , sizeProd_ = hidden::Traits<CAllocator>::sizeProd_ , storage_ = hidden::Traits<CAllocator>::storage_ } |
| typedef hidden::Traits< CAllocator >::Row | Row |
| typedef hidden::Traits< CAllocator >::Col | Col |
| typedef hidden::Traits< CAllocator >::Type | Type |
| typedef hidden::Traits< CAllocator >::TypeConst | TypeConst |
| typedef MemAllocator< Type, UnknownSize > | Allocator |
| typedef StructuredCAllocator< CAllocator, UnknownSize, SizeCols_ > | Base |
| typedef TRange< sizeRows_ > | RowRange |
| Type of the Range for the rows. | |
| typedef TRange< sizeCols_ > | ColRange |
| Type of the Range for the columns. | |
| typedef TRange< sizeProd_ > | AllocatorRange |
| Type of the Range for the columns. | |
Public Types inherited from STK::StructuredCAllocator< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >, UnknownSize, SizeCols_ > | |
| enum | |
| typedef hidden::Traits< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ > >::Row | Row |
| typedef hidden::Traits< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ > >::Col | Col |
| typedef hidden::Traits< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ > >::Type | Type |
| typedef hidden::Traits< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ > >::TypeConst | TypeConst |
| typedef OrientedCAllocator< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >, orient_ > | Base |
| typedef IContainer2D< sizeRows_, sizeCols_ > | LowBase |
| typedef hidden::Traits< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ > >::Allocator | Allocator |
| typedef TRange< sizeRows_ > | RowRange |
| Type of the Range for the rows. | |
| typedef TRange< sizeCols_ > | ColRange |
| Type of the Range for the columns. | |
| typedef TRange< sizeProd_ > | AllocatorRange |
| Type of the Range for the allocator. | |
Public Member Functions | |
| CAllocator () | |
| CAllocator (int sizeRows, int) | |
| CAllocator (int sizeRows, int, Type const &v) | |
| CAllocator (CAllocator const &A, bool ref=true) | |
| template<int OtherRows_, int OtherCols_> | |
| CAllocator (CAllocator< Type, OtherRows_, OtherCols_, Orient_ > const &A, RowRange const &I, ColRange const &J) | |
| wrap other allocator | |
| CAllocator (Type *const &q, int nbRow, int) | |
| wrapper constructor for 0 based C-Array | |
| ~CAllocator () | |
| destructor | |
| void | clear () |
| clear allocated memories. | |
| CAllocator & | resize2Impl (int sizeRows, int) |
| resize the rows | |
| void | realloc (int sizeRows, int) |
Public Member Functions inherited from STK::StructuredCAllocator< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >, UnknownSize, SizeCols_ > | |
| void | exchange (StructuredCAllocator &T) |
| exchange T with this. | |
| TypeConst | elt1Impl (int i) const |
| Type & | elt1Impl (int i) |
| void | shift2Impl (int beginRows, int beginCols) |
| shift the first indexes of the allocator | |
| void | shift1Impl (int begin) |
| shift the first indexes of the allocator (for square and diagonal matrices). | |
| CAllocator< Type_, UnknownSize, SizeCols_, Orient_ > & | resize1Impl (int size) |
| resize the allocator (for square and diagonal matrices). | |
Additional Inherited Members | |
Protected Member Functions inherited from STK::StructuredCAllocator< CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >, UnknownSize, SizeCols_ > | |
| StructuredCAllocator (RowRange const &I, ColRange const &J) | |
| Default constructor. | |
| StructuredCAllocator (StructuredCAllocator const &A, bool ref) | |
| copy constructor | |
| StructuredCAllocator (StructuredCAllocator< OtherDerived, OtherRows_, OtherCols_ > const &A, RowRange const &I, ColRange const &J) | |
| Reference constructor. | |
| StructuredCAllocator (Type *const &q, int nbRow, int nbCol) | |
| wrapper constructor for 0 based C-Array | |
Specialized Allocator for the dense Arrays classes.
The sizes of the columns is known, the number of rows is unknown
Definition at line 1167 of file STK_CAllocator.h.
| typedef MemAllocator<Type, UnknownSize> STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::Allocator |
Definition at line 1186 of file STK_CAllocator.h.
| typedef TRange<sizeProd_> STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::AllocatorRange |
Type of the Range for the columns.
Definition at line 1193 of file STK_CAllocator.h.
| typedef StructuredCAllocator<CAllocator, UnknownSize, SizeCols_> STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::Base |
Definition at line 1187 of file STK_CAllocator.h.
| typedef hidden::Traits<CAllocator>::Col STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::Col |
Definition at line 1172 of file STK_CAllocator.h.
| typedef TRange<sizeCols_> STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::ColRange |
Type of the Range for the columns.
Definition at line 1191 of file STK_CAllocator.h.
| typedef hidden::Traits<CAllocator>::Row STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::Row |
Definition at line 1171 of file STK_CAllocator.h.
| typedef TRange<sizeRows_> STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::RowRange |
Type of the Range for the rows.
Definition at line 1189 of file STK_CAllocator.h.
| typedef hidden::Traits<CAllocator>::Type STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::Type |
Definition at line 1173 of file STK_CAllocator.h.
| typedef hidden::Traits<CAllocator>::TypeConst STK::CAllocator< Type_, UnknownSize, SizeCols_, Orient_ >::TypeConst |
Definition at line 1174 of file STK_CAllocator.h.
| Enumerator | |
|---|---|
| structure_ | |
| orient_ | |
| sizeRows_ | |
| sizeCols_ | |
| sizeProd_ | |
| storage_ | |
Definition at line 1176 of file STK_CAllocator.h.
|
inline |
Definition at line 1197 of file STK_CAllocator.h.
|
inline |
Definition at line 1198 of file STK_CAllocator.h.
|
inline |
Definition at line 1200 of file STK_CAllocator.h.
|
inline |
Definition at line 1201 of file STK_CAllocator.h.
|
inline |
|
inline |
wrapper constructor for 0 based C-Array
Definition at line 1211 of file STK_CAllocator.h.
|
inline |
|
inline |
clear allocated memories.
Definition at line 1216 of file STK_CAllocator.h.
|
inline |
Definition at line 1235 of file STK_CAllocator.h.
References STKRUNTIME_ERROR_2ARG.
|
inline |
resize the rows
Definition at line 1218 of file STK_CAllocator.h.