ATLAS Offline Software
Loading...
Searching...
No Matches
TFCS1DFunction_Numeric< T, Tfloat > Class Template Reference

Converter functions that does nothing for floats. More...

#include <TFCS1DFunctionTemplateHelpers.h>

Collaboration diagram for TFCS1DFunction_Numeric< T, Tfloat >:

Static Public Member Functions

static T MaxCeilOnlyForInt (const Tfloat value)
static T ExpandToMaxRange (const Tfloat value)
static Tfloat ToNormalizedRange (const T value)

Static Public Attributes

static constexpr T MaxValue = 1
static constexpr Tfloat MaxValueFloat = MaxValue

Detailed Description

template<typename T, typename Tfloat = float>
class TFCS1DFunction_Numeric< T, Tfloat >

Converter functions that does nothing for floats.

Definition at line 19 of file TFCS1DFunctionTemplateHelpers.h.

Member Function Documentation

◆ ExpandToMaxRange()

template<typename T, typename Tfloat = float>
T TFCS1DFunction_Numeric< T, Tfloat >::ExpandToMaxRange ( const Tfloat value)
inlinestatic

Definition at line 25 of file TFCS1DFunctionTemplateHelpers.h.

25{ return value; };
Converter functions that does nothing for floats.

◆ MaxCeilOnlyForInt()

template<typename T, typename Tfloat = float>
T TFCS1DFunction_Numeric< T, Tfloat >::MaxCeilOnlyForInt ( const Tfloat value)
inlinestatic

Definition at line 24 of file TFCS1DFunctionTemplateHelpers.h.

24{ return value; };

◆ ToNormalizedRange()

template<typename T, typename Tfloat = float>
Tfloat TFCS1DFunction_Numeric< T, Tfloat >::ToNormalizedRange ( const T value)
inlinestatic

Definition at line 26 of file TFCS1DFunctionTemplateHelpers.h.

26{ return value; };

Member Data Documentation

◆ MaxValue

template<typename T, typename Tfloat = float>
T TFCS1DFunction_Numeric< T, Tfloat >::MaxValue = 1
staticconstexpr

Definition at line 21 of file TFCS1DFunctionTemplateHelpers.h.

◆ MaxValueFloat

template<typename T, typename Tfloat = float>
Tfloat TFCS1DFunction_Numeric< T, Tfloat >::MaxValueFloat = MaxValue
staticconstexpr

Definition at line 22 of file TFCS1DFunctionTemplateHelpers.h.


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