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

#include <CastVisitor.h>

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

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

Member Function Documentation

◆ generic()

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

Definition at line 158 of file CastVisitor.h.

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

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

References generic().

Here is the call graph for this function:

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

References generic().

Here is the call graph for this function:

◆ operator()() [3/3]

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

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