tfel
Loading...
Searching...
No Matches
BaseType.hxx File Reference

This file declares the BaseType traits class. More...

Classes

class  tfel::typetraits::BaseType< T >
 Most mathematical objects are build upon a fundamental numeric type. This traits gives access to this type. More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.

Macros

#define TFEL_MATH_BASETYPE(X)
 An helper macro used to define BaseType for the standard types.

Typedefs

template<typename T>
using tfel::typetraits::base_type = typename BaseType<T>::type
 a convenient alias

Functions

 tfel::typetraits::TFEL_MATH_BASETYPE (unsigned short)
 Partial specialisation for unsigned short.
 tfel::typetraits::TFEL_MATH_BASETYPE (unsigned int)
 Partial specialisation for unsigned int.
 tfel::typetraits::TFEL_MATH_BASETYPE (long unsigned int)
 Partial specialisation for long unsigned int.
 tfel::typetraits::TFEL_MATH_BASETYPE (short)
 Partial specialisation for short.
 tfel::typetraits::TFEL_MATH_BASETYPE (int)
 Partial specialisation for int.
 tfel::typetraits::TFEL_MATH_BASETYPE (long int)
 Partial specialisation for long int.
 tfel::typetraits::TFEL_MATH_BASETYPE (float)
 Partial specialisation for float.
 tfel::typetraits::TFEL_MATH_BASETYPE (double)
 Partial specialisation for double.
 tfel::typetraits::TFEL_MATH_BASETYPE (long double)
 Partial specialisation for long double.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< unsigned short >)
 Partial specialisation for Complex<unsigned short>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< unsigned int >)
 Partial specialisation for Complex<unsigned int>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< long unsigned int >)
 Partial specialisation for Complex<long unsigned int>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< short >)
 Partial specialisation for Complex<short>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< int >)
 Partial specialisation for Complex<int>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< long int >)
 Partial specialisation for Complex<long int>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< float >)
 Partial specialisation for Complex<float>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< double >)
 Partial specialisation for Complex<double>.
 tfel::typetraits::TFEL_MATH_BASETYPE (tfel::math::Complex< long double >)
 Partial specialisation for Complex<long double>.

Detailed Description

This file declares the BaseType traits class.

Author
Thomas Helfer
Date
26/07/2006

Macro Definition Documentation

◆ TFEL_MATH_BASETYPE

#define TFEL_MATH_BASETYPE ( X)
Value:
\
template <> \
struct BaseType<X> { \ \
using type = X; \
}

An helper macro used to define BaseType for the standard types.

Author
Thomas Helfer
Date
26/07/2006

Function Documentation

◆ TFEL_MATH_BASETYPE() [1/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( double )

Partial specialisation for double.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [2/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( float )

Partial specialisation for float.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [3/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( int )

Partial specialisation for int.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [4/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( long double )

Partial specialisation for long double.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [5/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( long int )

Partial specialisation for long int.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [6/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( long unsigned int )

Partial specialisation for long unsigned int.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [7/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( short )

Partial specialisation for short.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [8/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< double > )

Partial specialisation for Complex<double>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [9/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< float > )

Partial specialisation for Complex<float>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [10/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< int > )

Partial specialisation for Complex<int>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [11/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< long double > )

Partial specialisation for Complex<long double>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [12/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< long int > )

Partial specialisation for Complex<long int>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [13/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< long unsigned int > )

Partial specialisation for Complex<long unsigned int>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [14/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< short > )

Partial specialisation for Complex<short>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [15/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< unsigned int > )

Partial specialisation for Complex<unsigned int>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [16/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( tfel::math::Complex< unsigned short > )

Partial specialisation for Complex<unsigned short>.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [17/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( unsigned int )

Partial specialisation for unsigned int.

See also
BaseType

◆ TFEL_MATH_BASETYPE() [18/18]

tfel::typetraits::TFEL_MATH_BASETYPE ( unsigned short )

Partial specialisation for unsigned short.

See also
BaseType