Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Public Member Functions | Static Private Member Functions | List of all members
Euclid::Table::CastVisitor< float > Class Reference

#include <CastVisitor.h>

Inheritance diagram for Euclid::Table::CastVisitor< float >:
Inheritance graph
[legend]
Collaboration diagram for Euclid::Table::CastVisitor< float >:
Collaboration graph
[legend]

Public Member Functions

template<typename From >
double operator() (const From &, typename std::enable_if<!generic< From >()>::type *=0) const
 
template<typename From >
float operator() (const From &from, typename std::enable_if< generic< From >()>::type *=0) const
 
float operator() (const std::string &from) const
 

Static Private Member Functions

template<typename From >
static constexpr bool generic ()
 

Detailed Description

Definition at line 119 of file CastVisitor.h.

Member Function Documentation

◆ generic()

template<typename From >
static constexpr bool Euclid::Table::CastVisitor< float >::generic ( )
inlinestaticconstexprprivate

Definition at line 122 of file CastVisitor.h.

◆ operator()() [1/3]

template<typename From >
double Euclid::Table::CastVisitor< float >::operator() ( const From &  ,
typename std::enable_if<!generic< From >()>::type *  = 0 
) const
inline

Definition at line 129 of file CastVisitor.h.

◆ operator()() [2/3]

template<typename From >
float Euclid::Table::CastVisitor< float >::operator() ( const From &  from,
typename std::enable_if< generic< From >()>::type *  = 0 
) const
inline

Definition at line 135 of file CastVisitor.h.

◆ operator()() [3/3]

float Euclid::Table::CastVisitor< float >::operator() ( const std::string from) const
inline

Definition at line 139 of file CastVisitor.h.

References std::string::c_str(), and std::strtof().

Here is the call graph for this function:

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