Functions | |
bool | has_prefix (const std::string &str, const std::string &prefix) |
bool | has_suffix (const std::string &str, const std::string &suffix) |
template<class T> std::string | to_string (const T &any) |
template<class T> bool | from_string (const std::string &rep, T &x) |
|
Convert the contents in string rep to type T, if conversion fails false is returned and the value of x is unchanged, if true is returned the conversation was successfull. Definition at line 40 of file string_utils.hxx. |
|
Definition at line 24 of file string_utils.cxx. Referenced by UnixSystem::translate_filename(). |
|
Definition at line 41 of file string_utils.cxx. Referenced by UnixSystem::get_file_type(), World::World(), and World::write_lisp(). |
|
Definition at line 29 of file string_utils.hxx. Referenced by WorldGUIManager::draw_overlay(). |