STK++ 0.9.13
|
specialization for the number_ 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. | |
Public Member Functions | |
void | exchange (StructuredCAllocator &T) |
exchange T with this. | |
int | size () const |
TypeConst | elt0Impl () const |
Type & | elt0Impl () |
TypeConst | elt1Impl (int) const |
Type & | elt1Impl (int) |
void | shift2Impl (int beginRows, int beginCols) |
shift the first indexes of the allocator | |
void | shift1Impl (int begin) |
shift the first indexes of the allocator. | |
Derived & | resize1Impl (int) |
resize the allocator (for square and diagonal matrices). | |
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) | |
wrapper constructor for 0 based C-Array | |
~StructuredCAllocator () | |
destructor | |
StructuredCAllocator & | move (StructuredCAllocator const &T) |
move T to this. | |
Private Attributes | |
int | row_ |
int | col_ |
specialization for the number_ case.
Definition at line 794 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Allocator STK::StructuredCAllocator< Derived, 1, 1 >::Allocator |
Definition at line 814 of file STK_CAllocator.h.
typedef OrientedCAllocator<Derived, orient_> STK::StructuredCAllocator< Derived, 1, 1 >::Base |
Definition at line 812 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Col STK::StructuredCAllocator< Derived, 1, 1 >::Col |
Definition at line 799 of file STK_CAllocator.h.
typedef TRange<sizeCols_> STK::StructuredCAllocator< Derived, 1, 1 >::ColRange |
Type of the Range for the columns.
Definition at line 819 of file STK_CAllocator.h.
typedef IContainer2D<sizeRows_, sizeCols_> STK::StructuredCAllocator< Derived, 1, 1 >::LowBase |
Definition at line 813 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Row STK::StructuredCAllocator< Derived, 1, 1 >::Row |
Definition at line 798 of file STK_CAllocator.h.
typedef TRange<sizeRows_> STK::StructuredCAllocator< Derived, 1, 1 >::RowRange |
Type of the Range for the rows.
Definition at line 817 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::Type STK::StructuredCAllocator< Derived, 1, 1 >::Type |
Definition at line 800 of file STK_CAllocator.h.
typedef hidden::Traits<Derived>::TypeConst STK::StructuredCAllocator< Derived, 1, 1 >::TypeConst |
Definition at line 801 of file STK_CAllocator.h.
Enumerator | |
---|---|
structure_ | |
orient_ | |
sizeRows_ | |
sizeCols_ | |
sizeProd_ | |
storage_ |
Definition at line 803 of file STK_CAllocator.h.
|
inlineprotected |
Default constructor.
Definition at line 823 of file STK_CAllocator.h.
|
inlineprotected |
copy constructor
Definition at line 827 of file STK_CAllocator.h.
|
inlineprotected |
Reference constructor.
Definition at line 832 of file STK_CAllocator.h.
|
inlineprotected |
wrapper constructor for 0 based C-Array
Definition at line 838 of file STK_CAllocator.h.
|
inlineprotected |
|
inline |
Definition at line 862 of file STK_CAllocator.h.
|
inline |
Definition at line 860 of file STK_CAllocator.h.
|
inline |
Definition at line 866 of file STK_CAllocator.h.
|
inline |
Definition at line 864 of file STK_CAllocator.h.
|
inline |
exchange T with this.
T | the container to exchange |
Definition at line 851 of file STK_CAllocator.h.
|
inlineprotected |
|
inline |
|
inline |
resize the allocator (for square and diagonal matrices).
Definition at line 888 of file STK_CAllocator.h.
|
inline |
shift the first indexes of the allocator.
begin | the index of the first row and column |
Definition at line 882 of file STK_CAllocator.h.
|
inline |
shift the first indexes of the allocator
beginRows,beginCols | indexes to set |
Definition at line 871 of file STK_CAllocator.h.
|
inline |
|
private |
Definition at line 896 of file STK_CAllocator.h.
|
private |
Definition at line 895 of file STK_CAllocator.h.