Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::Table::CastVisitor< double > Class Reference

#include <CastVisitor.h>

Inheritance diagram for Euclid::Table::CastVisitor< double >:
Collaboration diagram for Euclid::Table::CastVisitor< double >:

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
 
double operator() (const From &from, typename std::enable_if< std::is_same< From, double >::value >::type *=0) const
 
double operator() (const From &, typename std::enable_if<!std::is_same< From, double >::value >::type *=0) 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.

Referenced by operator()(), and operator()().

◆ operator()() [1/5]

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.

References generic().

Here is the call graph for this function:

◆ operator()() [2/5]

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

Definition at line 50 of file CastVisitor.h.

◆ operator()() [3/5]

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.

References generic().

Here is the call graph for this function:

◆ operator()() [4/5]

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

Definition at line 45 of file CastVisitor.h.

◆ operator()() [5/5]

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: