STK++ 0.9.13
STK::hidden::Traits< Variable< Type_ > > Struct Template Reference

Specialization of the Traits struct for Variable class. More...

#include <STK_Variable.h>

Public Types

enum  {
  structure_ = Arrays::vector_ , orient_ = Arrays::by_col_ , sizeCols_ = 1 , sizeRows_ = UnknownSize ,
  size_ = UnknownSize , storage_ = Arrays::dense_
}
 
typedef Variable< Type_ > Row
 
typedef Variable< Type_ > Col
 
typedef Variable< Type_ > SubRow
 
typedef Variable< Type_ > SubCol
 
typedef Variable< Type_ > SubArray
 
typedef Variable< Type_ > SubVector
 
typedef Type_ Type
 
typedef RemoveConst< Type_ >::Type constTypeConst
 
typedef MemAllocator< Type_, UnknownSizeAllocator
 
typedef TRange< size_RowRange
 
typedef TRange< 1 > ColRange
 
typedef int Index
 
typedef DenseRandomIterator< Variable< Type_ > > Iterator
 
typedef ConstDenseRandomIterator< Variable< Type_ > > ConstIterator
 
typedef std::reverse_iterator< IteratorReverseIterator
 
typedef std::reverse_iterator< ConstIteratorConstReverseIterator
 

Detailed Description

template<class Type_>
struct STK::hidden::Traits< Variable< Type_ > >

Specialization of the Traits struct for Variable class.

Definition at line 51 of file STK_Variable.h.

Member Typedef Documentation

◆ Allocator

template<class Type_ >
typedef MemAllocator<Type_, UnknownSize> STK::hidden::Traits< Variable< Type_ > >::Allocator

Definition at line 73 of file STK_Variable.h.

◆ Col

template<class Type_ >
typedef Variable<Type_> STK::hidden::Traits< Variable< Type_ > >::Col

Definition at line 54 of file STK_Variable.h.

◆ ColRange

template<class Type_ >
typedef TRange<1> STK::hidden::Traits< Variable< Type_ > >::ColRange

Definition at line 76 of file STK_Variable.h.

◆ ConstIterator

template<class Type_ >
typedef ConstDenseRandomIterator<Variable<Type_> > STK::hidden::Traits< Variable< Type_ > >::ConstIterator

Definition at line 81 of file STK_Variable.h.

◆ ConstReverseIterator

template<class Type_ >
typedef std::reverse_iterator<ConstIterator> STK::hidden::Traits< Variable< Type_ > >::ConstReverseIterator

Definition at line 84 of file STK_Variable.h.

◆ Index

template<class Type_ >
typedef int STK::hidden::Traits< Variable< Type_ > >::Index

Definition at line 78 of file STK_Variable.h.

◆ Iterator

template<class Type_ >
typedef DenseRandomIterator<Variable<Type_> > STK::hidden::Traits< Variable< Type_ > >::Iterator

Definition at line 80 of file STK_Variable.h.

◆ ReverseIterator

template<class Type_ >
typedef std::reverse_iterator<Iterator> STK::hidden::Traits< Variable< Type_ > >::ReverseIterator

Definition at line 83 of file STK_Variable.h.

◆ Row

template<class Type_ >
typedef Variable<Type_> STK::hidden::Traits< Variable< Type_ > >::Row

Definition at line 53 of file STK_Variable.h.

◆ RowRange

template<class Type_ >
typedef TRange<size_> STK::hidden::Traits< Variable< Type_ > >::RowRange

Definition at line 75 of file STK_Variable.h.

◆ SubArray

template<class Type_ >
typedef Variable<Type_> STK::hidden::Traits< Variable< Type_ > >::SubArray

Definition at line 57 of file STK_Variable.h.

◆ SubCol

template<class Type_ >
typedef Variable<Type_> STK::hidden::Traits< Variable< Type_ > >::SubCol

Definition at line 56 of file STK_Variable.h.

◆ SubRow

template<class Type_ >
typedef Variable<Type_> STK::hidden::Traits< Variable< Type_ > >::SubRow

Definition at line 55 of file STK_Variable.h.

◆ SubVector

template<class Type_ >
typedef Variable<Type_> STK::hidden::Traits< Variable< Type_ > >::SubVector

Definition at line 58 of file STK_Variable.h.

◆ Type

template<class Type_ >
typedef Type_ STK::hidden::Traits< Variable< Type_ > >::Type

Definition at line 60 of file STK_Variable.h.

◆ TypeConst

template<class Type_ >
typedef RemoveConst<Type_>::Type const& STK::hidden::Traits< Variable< Type_ > >::TypeConst

Definition at line 61 of file STK_Variable.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Type_ >
anonymous enum
Enumerator
structure_ 
orient_ 
sizeCols_ 
sizeRows_ 
size_ 
storage_ 

Definition at line 63 of file STK_Variable.h.

64 {
67 sizeCols_ = 1,
70 storage_ = Arrays::dense_ // always dense
71 };
@ dense_
dense matrix/vector/array/expression
@ vector_
column oriented vector/array/expression
@ by_col_
storage by column
const int UnknownSize
This value means that an integer is not known at compile-time, and that instead the value is stored i...

The documentation for this struct was generated from the following file: