Alexandria  2.18
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Private Member Functions | List of all members
Euclid::Table::CastVisitor< float > Class Template Reference

#include <CastVisitor.h>

Inheritance diagram for Euclid::Table::CastVisitor< float >:
[legend]
Collaboration diagram for Euclid::Table::CastVisitor< float >:
[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

template<>
class Euclid::Table::CastVisitor< float >

Definition at line 100 of file CastVisitor.h.

Member Function Documentation

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

Definition at line 103 of file CastVisitor.h.

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

Definition at line 110 of file CastVisitor.h.

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 115 of file CastVisitor.h.

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

Definition at line 119 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: