STK++ 0.9.13
STK::DivisionWithBaseOp< Type, false > Struct Template Reference

#include <STK_Functors.h>

Public Types

typedef hidden::RemoveConst< Type >::Type param1_type
 

Public Member Functions

 DivisionWithBaseOp (const DivisionWithBaseOp &value)
 
 DivisionWithBaseOp (param1_type const &value)
 
Type const operator() (param1_type const &a) const
 

Private Attributes

param1_type const value_
 

Detailed Description

template<typename Type>
struct STK::DivisionWithBaseOp< Type, false >

Definition at line 600 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<typename Type >
typedef hidden::RemoveConst<Type>::Type STK::DivisionWithBaseOp< Type, false >::param1_type

Definition at line 602 of file STK_Functors.h.

Constructor & Destructor Documentation

◆ DivisionWithBaseOp() [1/2]

template<typename Type >
STK::DivisionWithBaseOp< Type, false >::DivisionWithBaseOp ( const DivisionWithBaseOp< Type, false > &  value)
inline

Definition at line 603 of file STK_Functors.h.

603: value_(value.value_) {}

◆ DivisionWithBaseOp() [2/2]

template<typename Type >
STK::DivisionWithBaseOp< Type, false >::DivisionWithBaseOp ( param1_type const value)
inline

Definition at line 604 of file STK_Functors.h.

604: value_( static_cast<Type>(1) / value) {}

Member Function Documentation

◆ operator()()

template<typename Type >
Type const STK::DivisionWithBaseOp< Type, false >::operator() ( param1_type const a) const
inline

Definition at line 606 of file STK_Functors.h.

606{ return a * value_;}

Member Data Documentation

◆ value_

template<typename Type >
param1_type const STK::DivisionWithBaseOp< Type, false >::value_
private

Definition at line 608 of file STK_Functors.h.


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