OmniSciDB  c07336695a
anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor Struct Reference
+ Inheritance diagram for anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor:
+ Collaboration diagram for anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor:

Public Member Functions

result_type operator() (void *) const
 
result_type operator() (std::string const &rhs) const
 
template<typename T >
result_type operator() (T const &rhs) const
 
template<typename... VARIANT_ARGS>
result_type operator() (boost::variant< VARIANT_ARGS... > const &rhs) const
 

Detailed Description

Definition at line 73 of file UpdelStorageTest.cpp.

Member Function Documentation

◆ operator()() [1/4]

result_type anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor::operator() ( void *  ) const
inline

Definition at line 74 of file UpdelStorageTest.cpp.

74 { return std::string("null"); }

◆ operator()() [2/4]

result_type anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor::operator() ( std::string const &  rhs) const
inline

Definition at line 75 of file UpdelStorageTest.cpp.

75 { return rhs; }

◆ operator()() [3/4]

template<typename T >
result_type anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor::operator() ( T const &  rhs) const
inline

Definition at line 77 of file UpdelStorageTest.cpp.

References to_string().

77  {
78  return std::to_string(rhs);
79  }
std::string to_string(char const *&&v)
+ Here is the call graph for this function:

◆ operator()() [4/4]

template<typename... VARIANT_ARGS>
result_type anonymous_namespace{UpdelStorageTest.cpp}::ScalarTargetValueExtractor::operator() ( boost::variant< VARIANT_ARGS... > const &  rhs) const
inline

Definition at line 81 of file UpdelStorageTest.cpp.

81  {
82  return boost::apply_visitor(ScalarTargetValueExtractor(), rhs);
83  }

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