|
EvEmu
0.8.4
11 September 2021
|

Go to the source code of this file.
Functions | |
| template<typename T > | |
| T | str2 (const char *str) |
| Generic string conversion template. More... | |
| template<typename T > | |
| T | str2 (const std::string &str) |
| Generic string conversion template. More... | |
| template<> | |
| bool | str2< bool > (const char *str) |
| Converts string to boolean. More... | |
| template<> | |
| int8 | str2< int8 > (const char *str) |
| Converts string to integer. More... | |
| template<> | |
| int16 | str2< int16 > (const char *str) |
| Converts string to integer. More... | |
| template<> | |
| int32 | str2< int32 > (const char *str) |
| Converts string to integer. More... | |
| template<> | |
| int64 | str2< int64 > (const char *str) |
| Converts string to integer. More... | |
| template<> | |
| uint8 | str2< uint8 > (const char *str) |
| Converts string to unsigned integer. More... | |
| template<> | |
| uint16 | str2< uint16 > (const char *str) |
| Converts string to unsigned integer. More... | |
| template<> | |
| uint32 | str2< uint32 > (const char *str) |
| Converts string to unsigned integer. More... | |
| template<> | |
| float | str2< float > (const char *str) |
| Converts string to unsigned integer. More... | |
| template<> | |
| double | str2< double > (const char *str) |
| Converts string to real number. More... | |
| template<> | |
| long double | str2< long double > (const char *str) |
| Converts string to real number. More... | |
| T str2 | ( | const char * | str | ) |
Generic string conversion template.
Try to use T( const char* ) directly.
| [in] | str | String to be converted. |
| A | value corresponding to content of str. |
Definition at line 39 of file str2conv.h.
Referenced by EntityList::GetAnomalyID().

| T str2 | ( | const std::string & | str | ) |
Generic string conversion template.
Redirect to str2( const char* ).
| [in] | str | String to be converted. |
| A | value corresponding to content of str. |
Definition at line 50 of file str2conv.h.
| bool str2< bool > | ( | const char * | str | ) |
Converts string to boolean.
| [in] | str | String to be converted. |
| A | boolean corresponding to content of str. |
Definition at line 31 of file str2conv.cpp.
References strcasecmp.
Referenced by ClassDecodeGenerator::ProcessDict(), ClassEncodeGenerator::ProcessDict(), ClassDecodeGenerator::ProcessDictInline(), ClassDecodeGenerator::ProcessList(), ClassEncodeGenerator::ProcessList(), ClassDecodeGenerator::ProcessObject(), ClassEncodeGenerator::ProcessObject(), ClassDecodeGenerator::ProcessObjectEx(), ClassEncodeGenerator::ProcessObjectEx(), ClassDecodeGenerator::ProcessToken(), ClassEncodeGenerator::ProcessToken(), ClassDecodeGenerator::ProcessTuple(), and ClassEncodeGenerator::ProcessTuple().

| double str2< double > | ( | const char * | str | ) |
Converts string to real number.
| [in] | str | String to be converted. |
| float str2< float > | ( | const char * | str | ) |
Converts string to unsigned integer.
| [in] | str | String to be converted. |
| [in] | str | String to be converted. |
Converts string to integer.
| [in] | str | String to be converted. |
Converts string to integer.
| [in] | str | String to be converted. |
Converts string to integer.
| [in] | str | String to be converted. |
Converts string to integer.
| [in] | str | String to be converted. |
| long double str2< long double > | ( | const char * | str | ) |
Converts string to real number.
| [in] | str | String to be converted. |
Converts string to unsigned integer.
| [in] | str | String to be converted. |
Converts string to unsigned integer.
| [in] | str | String to be converted. |