ustring.h File Reference

Classes

class  Glib::Util::BadConversion
 Conversion exception. More...

Namespaces

namespace  Glib
namespace  Glib::Util

Functions

template<typename T >
Glib::Util::convert_to (const Glib::ustring &str, bool fail_if_leftover_chars=true)
 Converts a string to an arbitrary type that supports iostream by returning by value.
template<typename T >
void Glib::Util::convert_to (const Glib::ustring &str, T &x, bool fail_if_leftover_chars=true)
 Converts a string to an arbitrary type that supports iostream.
std::vector< Glib::ustring > Glib::Util::split (const Glib::ustring &str)
 Splits a string by whitespace (after skipping any leading whitespace) - like Perl's split function without the pattern.
std::vector< Glib::ustring > Glib::Util::split (const Glib::ustring &str, const Glib::ustring &delim)
 Splits a string into tokens.
template<typename T >
Glib::ustring Glib::Util::stringify (const T &x)
 Converts an ostream-able type to a Glib::ustring.
void Glib::Util::trim (Glib::ustring &str)
 Trims any whitespace from the string.
void Glib::Util::trim_left (Glib::ustring &str)
 Trims left hand side whitespace.
void Glib::Util::trim_right (Glib::ustring &str)
 Trims right hand side whitespace.
Glib::ustring Glib::Util::uprintf (const Glib::ustring &format,...)
 a printf() that returns a Glib::ustring

Generated on 26 Aug 2009 for gtkmm-utils by  doxygen 1.6.1