STK++ 0.9.13
|
specialization for the point_ case (derived class is a RowVector). 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 j) const |
Type & | elt1Impl (int j) |
void | shift2Impl (int beginRows, int beginCols) |
shift the first indexes of the allocator | |
void | shift1Impl (int beginCols) |
shift the first column index of the allocator. | |
Derived & | resize1Impl (int sizeCols) |
resize the allocator. | |
template<int Size_> | |
CAllocator< Type, 1, Size_, orient_ > | subVector (TRange< Size_ > const &J) const |
void | moveImpl (StructuredCAllocator const &T) |
move T to this. | |
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, int nbCol) | |
wrapper constructor for 0 based C-Array | |
Private Attributes | |
int | row_ |
row of the point (needed when this is a reference) | |
specialization for the point_ case (derived class is a RowVector).
Definition at line 585 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Allocator STK::StructuredCAllocator< Derived, 1, SizeCols_ >::Allocator |
Definition at line 605 of file STK_CAllocator.h.
typedef TRange<sizeProd_> STK::StructuredCAllocator< Derived, 1, SizeCols_ >::AllocatorRange |
Type of the Range for the allocator.
Definition at line 612 of file STK_CAllocator.h.
typedef OrientedCAllocator<Derived, orient_> STK::StructuredCAllocator< Derived, 1, SizeCols_ >::Base |
Definition at line 603 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Col STK::StructuredCAllocator< Derived, 1, SizeCols_ >::Col |
Definition at line 590 of file STK_CAllocator.h.
typedef TRange<sizeCols_> STK::StructuredCAllocator< Derived, 1, SizeCols_ >::ColRange |
Type of the Range for the columns.
Definition at line 610 of file STK_CAllocator.h.
typedef IContainer2D<sizeRows_, sizeCols_> STK::StructuredCAllocator< Derived, 1, SizeCols_ >::LowBase |
Definition at line 604 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Row STK::StructuredCAllocator< Derived, 1, SizeCols_ >::Row |
Definition at line 589 of file STK_CAllocator.h.
typedef TRange<sizeRows_> STK::StructuredCAllocator< Derived, 1, SizeCols_ >::RowRange |
Type of the Range for the rows.
Definition at line 608 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Type STK::StructuredCAllocator< Derived, 1, SizeCols_ >::Type |
Definition at line 591 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::TypeConst STK::StructuredCAllocator< Derived, 1, SizeCols_ >::TypeConst |
Definition at line 592 of file STK_CAllocator.h.
Enumerator | |
---|---|
structure_ | |
orient_ | |
sizeRows_ | |
sizeCols_ | |
sizeProd_ | |
storage_ |
Definition at line 594 of file STK_CAllocator.h.
|
inlineprotected |
Default constructor.
Definition at line 616 of file STK_CAllocator.h.
|
inlineprotected |
copy constructor
Definition at line 618 of file STK_CAllocator.h.
|
inlineprotected |
Reference constructor.
Definition at line 621 of file STK_CAllocator.h.
|
inlineprotected |
wrapper constructor for 0 based C-Array
Definition at line 626 of file STK_CAllocator.h.
|
inline |
j | index of the columns |
Definition at line 643 of file STK_CAllocator.h.
|
inline |
j | index of the column |
Definition at line 639 of file STK_CAllocator.h.
|
inline |
exchange T with this.
T | the container to exchange |
Definition at line 631 of file STK_CAllocator.h.
|
inline |
move T to this.
T | the container to move |
Definition at line 677 of file STK_CAllocator.h.
|
inline |
resize the allocator.
sizeCols | the size of the point |
Definition at line 663 of file STK_CAllocator.h.
|
inline |
shift the first column index of the allocator.
beginCols | the index of the first column |
Definition at line 656 of file STK_CAllocator.h.
|
inline |
shift the first indexes of the allocator
beginRows,beginCols | indexes to set |
Definition at line 647 of file STK_CAllocator.h.
|
inline |
J | range of the sub-vector |
Definition at line 672 of file STK_CAllocator.h.
|
private |
row of the point (needed when this is a reference)
Definition at line 682 of file STK_CAllocator.h.