STK++ 0.9.13
STK::hidden::EltVisitor2DBase< Type_ > Struct Template Reference

Base class to implement min, max, sum,... visitors for 2D containers. More...

#include <STK_Visitors.h>

Public Types

typedef Type_ Type
 
typedef RemoveConst< Type >::Type constTypeConst
 

Public Member Functions

 EltVisitor2DBase ()
 
TypeConst result () const
 

Public Attributes

int row_
 
int col_
 
Type res_
 

Detailed Description

template<typename Type_>
struct STK::hidden::EltVisitor2DBase< Type_ >

Base class to implement min, max, sum,... visitors for 2D containers.

Definition at line 64 of file STK_Visitors.h.

Member Typedef Documentation

◆ Type

template<typename Type_ >
typedef Type_ STK::hidden::EltVisitor2DBase< Type_ >::Type

Definition at line 66 of file STK_Visitors.h.

◆ TypeConst

Definition at line 67 of file STK_Visitors.h.

Constructor & Destructor Documentation

◆ EltVisitor2DBase()

template<typename Type_ >
STK::hidden::EltVisitor2DBase< Type_ >::EltVisitor2DBase ( )
inline

Definition at line 68 of file STK_Visitors.h.

const int baseIdx
base index of the containers created in STK++.
static Type NA()
Adding a Non Available (NA) special number.

Member Function Documentation

◆ result()

template<typename Type_ >
TypeConst STK::hidden::EltVisitor2DBase< Type_ >::result ( ) const
inline

Definition at line 71 of file STK_Visitors.h.

71{ return res_;}

References STK::hidden::EltVisitor2DBase< Type_ >::res_.

Member Data Documentation

◆ col_

template<typename Type_ >
int STK::hidden::EltVisitor2DBase< Type_ >::col_

Definition at line 69 of file STK_Visitors.h.

◆ res_

template<typename Type_ >
Type STK::hidden::EltVisitor2DBase< Type_ >::res_

Definition at line 70 of file STK_Visitors.h.

Referenced by STK::hidden::EltVisitor2DBase< Type_ >::result().

◆ row_

template<typename Type_ >
int STK::hidden::EltVisitor2DBase< Type_ >::row_

Definition at line 69 of file STK_Visitors.h.


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