|
STK++ 0.9.13
|
specialization for the vector_ 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. | |
| 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 beginRows) |
| shift the first row index of the allocator. | |
| Derived & | resize1Impl (int sizeRow) |
| resize the allocator. | |
| template<int Size_> | |
| CAllocator< Type, Size_, 1, orient_ > | subVector (TRange< Size_ > const &I) 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 nbRow, int) | |
| wrapper constructor for 0 based C-Array | |
Private Attributes | |
| int | col_ |
specialization for the vector_ case.
Definition at line 689 of file STK_CAllocator.h.
| typedef hidden::Traits<Derived>::Allocator STK::StructuredCAllocator< Derived, SizeRows_, 1 >::Allocator |
Definition at line 709 of file STK_CAllocator.h.
| typedef OrientedCAllocator<Derived, orient_> STK::StructuredCAllocator< Derived, SizeRows_, 1 >::Base |
Definition at line 707 of file STK_CAllocator.h.
| typedef hidden::Traits<Derived>::Col STK::StructuredCAllocator< Derived, SizeRows_, 1 >::Col |
Definition at line 694 of file STK_CAllocator.h.
| typedef TRange<sizeCols_> STK::StructuredCAllocator< Derived, SizeRows_, 1 >::ColRange |
Type of the Range for the columns.
Definition at line 714 of file STK_CAllocator.h.
| typedef IContainer2D<sizeRows_, sizeCols_> STK::StructuredCAllocator< Derived, SizeRows_, 1 >::LowBase |
Definition at line 708 of file STK_CAllocator.h.
| typedef hidden::Traits<Derived>::Row STK::StructuredCAllocator< Derived, SizeRows_, 1 >::Row |
Definition at line 693 of file STK_CAllocator.h.
| typedef TRange<sizeRows_> STK::StructuredCAllocator< Derived, SizeRows_, 1 >::RowRange |
Type of the Range for the rows.
Definition at line 712 of file STK_CAllocator.h.
| typedef hidden::Traits<Derived>::Type STK::StructuredCAllocator< Derived, SizeRows_, 1 >::Type |
Definition at line 695 of file STK_CAllocator.h.
| typedef hidden::Traits<Derived>::TypeConst STK::StructuredCAllocator< Derived, SizeRows_, 1 >::TypeConst |
Definition at line 696 of file STK_CAllocator.h.
| Enumerator | |
|---|---|
| structure_ | |
| orient_ | |
| sizeRows_ | |
| sizeCols_ | |
| sizeProd_ | |
| storage_ | |
Definition at line 698 of file STK_CAllocator.h.
|
inlineprotected |
Default constructor.
Definition at line 719 of file STK_CAllocator.h.
|
inlineprotected |
copy constructor
Definition at line 721 of file STK_CAllocator.h.
|
inlineprotected |
Reference constructor.
Definition at line 724 of file STK_CAllocator.h.
|
inlineprotected |
wrapper constructor for 0 based C-Array
Definition at line 730 of file STK_CAllocator.h.
|
inline |
| i | index of the row |
Definition at line 746 of file STK_CAllocator.h.
|
inline |
| i | index of the row |
Definition at line 742 of file STK_CAllocator.h.
|
inline |
exchange T with this.
| T | the container to exchange |
Definition at line 735 of file STK_CAllocator.h.
|
inline |
move T to this.
| T | the container to move |
Definition at line 782 of file STK_CAllocator.h.
|
inline |
resize the allocator.
| sizeRow | the size of the vector |
Definition at line 767 of file STK_CAllocator.h.
|
inline |
shift the first row index of the allocator.
| beginRows | the index of the first row |
Definition at line 760 of file STK_CAllocator.h.
|
inline |
shift the first indexes of the allocator
| beginRows,beginCols | indexes to set |
Definition at line 750 of file STK_CAllocator.h.
|
inline |
| I | range of the sub-vector |
Definition at line 777 of file STK_CAllocator.h.
|
private |
Definition at line 786 of file STK_CAllocator.h.