#include <safe_any.hpp>
|
template<typename T > |
using | EnableArithmetic = typename std::enable_if< std::is_arithmetic< T >::value >::type * |
|
template<typename T > |
using | EnableEnum = typename std::enable_if< std::is_enum< T >::value >::type * |
|
template<typename T > |
using | EnableIntegral = typename std::enable_if< std::is_integral< T >::value||std::is_enum< T >::value >::type * |
|
template<typename T > |
using | EnableNonIntegral = typename std::enable_if<!std::is_integral< T >::value &&!std::is_enum< T >::value >::type * |
|
template<typename T > |
using | EnableString = typename std::enable_if< std::is_same< T, std::string >::value >::type * |
|
template<typename T > |
using | EnableUnknownType = typename std::enable_if<!std::is_arithmetic< T >::value &&!std::is_enum< T >::value &&!std::is_same< T, std::string >::value >::type * |
|
Definition at line 22 of file safe_any.hpp.
template<typename T >
using BT::Any::EnableUnknownType = typename std::enable_if<!std::is_arithmetic<T>::value && !std::is_enum<T>::value && !std::is_same<T, std::string>::value>::type* |
|
private |
BT::Any::Any |
( |
const Any & |
other | ) |
|
|
inline |
BT::Any::Any |
( |
Any && |
other | ) |
|
|
inline |
BT::Any::Any |
( |
const double & |
value | ) |
|
|
inlineexplicit |
BT::Any::Any |
( |
const uint64_t & |
value | ) |
|
|
inlineexplicit |
BT::Any::Any |
( |
const float & |
value | ) |
|
|
inlineexplicit |
BT::Any::Any |
( |
const std::string & |
str | ) |
|
|
inlineexplicit |
BT::Any::Any |
( |
const char * |
str | ) |
|
|
inlineexplicit |
template<typename T >
T BT::Any::cast |
( |
| ) |
const |
|
inline |
const std::type_info& BT::Any::castedType |
( |
| ) |
const |
|
inlinenoexcept |
template<typename DST >
nonstd::expected<DST,std::string> BT::Any::convert |
( |
EnableString< DST > |
= 0 | ) |
const |
|
inlineprivate |
template<typename DST >
nonstd::expected<DST,std::string> BT::Any::convert |
( |
EnableArithmetic< DST > |
= 0 | ) |
const |
|
inlineprivate |
template<typename DST >
nonstd::expected<DST,std::string> BT::Any::convert |
( |
EnableEnum< DST > |
= 0 | ) |
const |
|
inlineprivate |
template<typename DST >
nonstd::expected<DST,std::string> BT::Any::convert |
( |
EnableUnknownType< DST > |
= 0 | ) |
const |
|
inlineprivate |
bool BT::Any::empty |
( |
| ) |
const |
|
inlinenoexcept |
template<typename T >
std::string BT::Any::errorMsg |
( |
| ) |
const |
|
inlineprivate |
bool BT::Any::isNumber |
( |
| ) |
const |
|
inline |
bool BT::Any::isString |
( |
| ) |
const |
|
inline |
Any& BT::Any::operator= |
( |
const Any & |
other | ) |
|
|
inline |
const std::type_info& BT::Any::type |
( |
| ) |
const |
|
inlinenoexcept |
const std::type_info* BT::Any::_original_type |
|
private |
The documentation for this class was generated from the following file: