Alexandria  2.19
Please provide a description of the project.
Public Member Functions | Static Private Member Functions | List of all members
Euclid::Table::CastVisitor< int64_t > Class Reference

#include <CastVisitor.h>

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

Public Member Functions

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

Static Private Member Functions

template<typename From >
static constexpr bool generic ()
 

Detailed Description

Definition at line 133 of file CastVisitor.h.

Member Function Documentation

◆ generic()

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

Definition at line 136 of file CastVisitor.h.

◆ operator()() [1/3]

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

Definition at line 142 of file CastVisitor.h.

◆ operator()() [2/3]

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

Definition at line 147 of file CastVisitor.h.

◆ operator()() [3/3]

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

Definition at line 151 of file CastVisitor.h.

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

Here is the call graph for this function:

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