STK++ 0.9.13
STK::hidden::SliceVisitorSelector< Derived, Visitor, false > Struct Template Reference

Specialization if the visitor has to be applied by row. More...

Public Types

enum  { isPoint_ }
 
typedef Derived::Type Type
 
typedef If<(bool) isPoint_, ApplyVisitor< Derived, Visitor >, VisitorByRow< Derived, Visitor > >::Result VisitorOp
 
typedef VisitorOp::Result type_result
 

Detailed Description

template<typename Derived, template< class > class Visitor>
struct STK::hidden::SliceVisitorSelector< Derived, Visitor, false >

Specialization if the visitor has to be applied by row.

Definition at line 315 of file STK_SlicingVisitors.h.

Member Typedef Documentation

◆ Type

template<typename Derived , template< class > class Visitor>
typedef Derived::Type STK::hidden::SliceVisitorSelector< Derived, Visitor, false >::Type

Definition at line 317 of file STK_SlicingVisitors.h.

◆ type_result

template<typename Derived , template< class > class Visitor>
typedef VisitorOp::Result STK::hidden::SliceVisitorSelector< Derived, Visitor, false >::type_result

Definition at line 325 of file STK_SlicingVisitors.h.

◆ VisitorOp

template<typename Derived , template< class > class Visitor>
typedef If<(bool)isPoint_,ApplyVisitor<Derived,Visitor>,VisitorByRow<Derived,Visitor>>::Result STK::hidden::SliceVisitorSelector< Derived, Visitor, false >::VisitorOp

Definition at line 324 of file STK_SlicingVisitors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Derived , template< class > class Visitor>
anonymous enum
Enumerator
isPoint_ 

Definition at line 318 of file STK_SlicingVisitors.h.

319 {
320 isPoint_ = ( Derived::structure_ == int(Arrays::point_)
321 || Derived::structure_ == int(Arrays::number_)
322 )
323 };
@ number_
(1,1) matrix/vector/array/expression (like a number)
@ point_
row oriented vector/array/expression

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