Functions | |
| std::string | wstrTostr (const std::wstring &in) |
| Converts a wstirng to string. More... | |
| std::wstring | strTowstr (const std::string &in) |
| Converts a string to wstring. More... | |
| void | getline (std::ifstream &file, std::string &out) |
| wrapper for std::getline that removes CR (\r) at the end of the line. More... | |
| template<typename To , typename From > | |
| To | safe_dynamic_cast (From src) noexcept |
| Template to enable a safe dynamic cast by catching nullptr. More... | |
| void helper::util::getline | ( | std::ifstream & | file, |
| std::string & | out | ||
| ) |
wrapper for std::getline that removes CR (\r) at the end of the line.
| file | The input file. |
| out | Object where the extracted line is stored. |
|
noexcept |
Template to enable a safe dynamic cast by catching nullptr.
| std::wstring helper::util::strTowstr | ( | const std::string & | in | ) |
Converts a string to wstring.
| in | The string to be converted. |
| std::string helper::util::wstrTostr | ( | const std::wstring & | in | ) |
Converts a wstirng to string.
| in | The wstring to be converted. |