Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

StringUtils Namespace Reference
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

StringUtils Namespace Reference


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)


Function Documentation

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.

bool StringUtils::has_prefix const std::string &    str,
const std::string &    prefix
 

Definition at line 24 of file string_utils.cxx.

Referenced by UnixSystem::translate_filename().

bool StringUtils::has_suffix const std::string &    str,
const std::string &    suffix
 

Definition at line 41 of file string_utils.cxx.

Referenced by UnixSystem::get_file_type(), World::World(), and World::write_lisp().

template<class T>
std::string to_string const T &    any
 

Definition at line 29 of file string_utils.hxx.

Referenced by WorldGUIManager::draw_overlay().


Generated on Thu Jul 24 10:25:31 2003 for Construo by doxygen1.3-rc3