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

#include <CastVisitor.h>

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

Public Member Functions

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

Static Private Member Functions

template<typename From>
static constexpr bool generic ()
 

Detailed Description

Definition at line 186 of file CastVisitor.h.

Member Function Documentation

◆ generic()

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

Definition at line 189 of file CastVisitor.h.

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

◆ operator()() [1/5]

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

Definition at line 196 of file CastVisitor.h.

References generic().

Here is the call graph for this function:

◆ operator()() [2/5]

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

Definition at line 50 of file CastVisitor.h.

◆ operator()() [3/5]

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

Definition at line 202 of file CastVisitor.h.

References generic().

Here is the call graph for this function:

◆ operator()() [4/5]

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

Definition at line 45 of file CastVisitor.h.

◆ operator()() [5/5]

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

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