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< double > Class Reference

#include <CastVisitor.h>

Inheritance diagram for Euclid::Table::CastVisitor< double >:
Inheritance graph
[legend]
Collaboration diagram for Euclid::Table::CastVisitor< double >:
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 >
double operator() (const From &from, typename std::enable_if< generic< From >()>::type *=0) const
 
double operator() (const std::string &from) const
 

Static Private Member Functions

template<typename From >
static constexpr bool generic ()
 

Detailed Description

Definition at line 84 of file CastVisitor.h.

Member Function Documentation

◆ generic()

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

Definition at line 87 of file CastVisitor.h.

◆ operator()() [1/3]

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

Definition at line 93 of file CastVisitor.h.

◆ operator()() [2/3]

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

Definition at line 99 of file CastVisitor.h.

◆ operator()() [3/3]

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

Definition at line 103 of file CastVisitor.h.

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

Here is the call graph for this function:

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