|
template<typename SrcType > |
std::enable_if< !std::is_enum< SrcType >::value, std::string >::type | ToString (const SrcType &val) |
|
template<typename SrcType > |
std::enable_if< !std::is_enum< SrcType >::value, SrcType >::type | FromString (const std::string &val, const SrcType &defaultValue) |
|
template<typename SrcType > |
std::enable_if< std::is_enum< SrcType >::value, std::string >::type | ToString (const SrcType &val) |
| Konwertuje enuma do stringa.
|
|
template<typename SrcType > |
std::enable_if< std::is_enum< SrcType >::value, SrcType >::type | FromString (const std::string &val, const SrcType &defaultValue) |
| Konwertuje stringa do enuma.
|
|
|
template<typename SrcType > |
static std::enable_if< std::is_enum< SrcType >::value, std::string >::type | ToString (const SrcType &val) |
|
template<typename SrcType > |
static std::enable_if< std::is_enum< SrcType >::value, SrcType >::type | FromString (const std::string &val, const SrcType &defaultValue) |
|
template<typename SrcType > |
static std::enable_if< !std::is_enum< SrcType >::value, std::string >::type | ToString (const SrcType &val) |
|
template<typename SrcType > |
static std::enable_if< !std::is_enum< SrcType >::value, SrcType >::type | FromString (const std::string &val, const SrcType &defaultValue) |
|
template<> |
static std::enable_if< !std::is_enum< std::wstring >::value, std::string >::type | ToString (const std::wstring &value) |
|
template<> |
static std::enable_if< !std::is_enum< std::wstring >::value, std::wstring >::type | FromString (const std::string &value, const std::wstring &defaultValue) |
|
|
template<typename SrcType > |
static std::string | EnumToString (SrcType defaultVal) |
|
template<typename SrcType > |
static SrcType | StringToEnum (const std::string &value, SrcType defaultValue) |
|
template<typename SrcType >
std::string Convert::EnumToString |
( |
SrcType |
defaultVal | ) |
|
|
inlinestaticprivate |
Type haven't been registered.
template<typename SrcType >
SrcType Convert::StringToEnum |
( |
const std::string & |
value, |
|
|
SrcType |
defaultValue |
|
) |
| |
|
inlinestaticprivate |
Type haven't been registered.
The documentation for this class was generated from the following file: