Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | List of all members
CDPL::Math::ScalarRealUnaryFunctor< T > Struct Template Reference

Base class for unary scalar functors that return the real part of T (Math::ScalarReal, Math::ScalarImaginary). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::ScalarRealUnaryFunctor< T >:

Public Types

typedef T ValueType
 The scalar value type. More...
 
typedef const T & ArgumentType
 The argument type (a const reference to ValueType). More...
 
typedef TypeTraits< T >::RealType ResultType
 The real-valued result type derived from ValueType via Math::TypeTraits. More...
 

Detailed Description

template<typename T>
struct CDPL::Math::ScalarRealUnaryFunctor< T >

Base class for unary scalar functors that return the real part of T (Math::ScalarReal, Math::ScalarImaginary).

Template Parameters
TThe scalar value type.

Member Typedef Documentation

◆ ValueType

template<typename T >
typedef T CDPL::Math::ScalarRealUnaryFunctor< T >::ValueType

The scalar value type.

◆ ArgumentType

template<typename T >
typedef const T& CDPL::Math::ScalarRealUnaryFunctor< T >::ArgumentType

The argument type (a const reference to ValueType).

◆ ResultType

template<typename T >
typedef TypeTraits<T>::RealType CDPL::Math::ScalarRealUnaryFunctor< T >::ResultType

The real-valued result type derived from ValueType via Math::TypeTraits.


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