STK++ 0.9.13
|
Base class for the general by_col_ structured case. More...
#include <STK_CAllocator.h>
Public Types | |
enum | { structure_ = hidden::Traits<Derived>::structure_ , orient_ = hidden::Traits<Derived>::orient_ , sizeRows_ = hidden::Traits<Derived>::sizeRows_ , sizeCols_ = hidden::Traits<Derived>::sizeCols_ , sizeProd_ = hidden::Traits<Derived>::sizeProd_ , storage_ = hidden::Traits<Derived>::storage_ } |
typedef hidden::Traits< Derived >::Row | Row |
typedef hidden::Traits< Derived >::Col | Col |
typedef hidden::Traits< Derived >::Type | Type |
typedef hidden::Traits< Derived >::TypeConst | TypeConst |
typedef OrientedCAllocator< Derived, orient_ > | Base |
typedef IContainer2D< sizeRows_, sizeCols_ > | LowBase |
typedef hidden::Traits< Derived >::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 | |
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). | |
Derived & | resize1Impl (int size) |
resize the allocator (for square and diagonal matrices). | |
Protected Member Functions | |
StructuredCAllocator (RowRange const &I, ColRange const &J) | |
Default constructor. | |
StructuredCAllocator (StructuredCAllocator const &A, bool ref) | |
copy constructor | |
template<class OtherDerived , int OtherRows_, int OtherCols_> | |
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 | |
Base class for the general by_col_ structured case.
Definition at line 505 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Allocator STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::Allocator |
Definition at line 524 of file STK_CAllocator.h.
typedef TRange<sizeProd_> STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::AllocatorRange |
Type of the Range for the allocator.
Definition at line 531 of file STK_CAllocator.h.
typedef OrientedCAllocator<Derived, orient_> STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::Base |
Definition at line 522 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Col STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::Col |
Definition at line 509 of file STK_CAllocator.h.
Type of the Range for the columns.
Definition at line 529 of file STK_CAllocator.h.
typedef IContainer2D<sizeRows_, sizeCols_> STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::LowBase |
Definition at line 523 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Row STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::Row |
Definition at line 508 of file STK_CAllocator.h.
Type of the Range for the rows.
Definition at line 527 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Type STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::Type |
Definition at line 510 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::TypeConst STK::StructuredCAllocator< Derived, SizeRows_, SizeCols_ >::TypeConst |
Definition at line 511 of file STK_CAllocator.h.
Enumerator | |
---|---|
structure_ | |
orient_ | |
sizeRows_ | |
sizeCols_ | |
sizeProd_ | |
storage_ |
Definition at line 513 of file STK_CAllocator.h.
|
inlineprotected |
Default constructor.
Definition at line 535 of file STK_CAllocator.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
wrapper constructor for 0 based C-Array
Definition at line 545 of file STK_CAllocator.h.
|
inline |
i | index of the element |
Definition at line 559 of file STK_CAllocator.h.
|
inline |
i | indexes of the element |
Definition at line 555 of file STK_CAllocator.h.
|
inline |
exchange T with this.
T | the container to exchange |
Definition at line 551 of file STK_CAllocator.h.
|
inline |
resize the allocator (for square and diagonal matrices).
size | the size of the point |
Definition at line 576 of file STK_CAllocator.h.
|
inline |
shift the first indexes of the allocator (for square and diagonal matrices).
begin | the index of the first row and column |
Definition at line 572 of file STK_CAllocator.h.
|
inline |
shift the first indexes of the allocator
beginRows,beginCols | indexes to set |
Definition at line 563 of file STK_CAllocator.h.