|
class | BalancedTree |
| Balanced Binary Trees — a sorted collection of key/value pairs optimized for searching and traversing in order. More...
|
|
class | Bytes |
| A simple refcounted data type representing an immutable byte sequence from an unspecified origin. More...
|
|
class | Checksum |
| Computes the checksum for data. More...
|
|
class | ConvertError |
| Exception class for charset conversion errors. More...
|
|
class | IConv |
| Thin iconv() wrapper. More...
|
|
class | Date |
| Julian calendar date. More...
|
|
class | DateTime |
| DateTime - A structure representing Date and Time. More...
|
|
class | FileError |
| Exception class for file-related errors. More...
|
|
class | DirIterator |
| The iterator type of Glib::Dir. More...
|
|
class | Dir |
| Utility class representing an open directory. More...
|
|
class | IOChannelError |
| Exception class for IOChannel errors. More...
|
|
class | IOChannel |
| IOChannel aims to provide portable I/O support for files, pipes and sockets, and to integrate them with the GLib main event loop. More...
|
|
class | KeyFileError |
| Exception class for KeyFile errors. More...
|
|
class | KeyFile |
| This class lets you parse, edit or create files containing groups of key-value pairs, which we call key files for lack of a better name. More...
|
|
class | MarkupError |
| Exception class for markup parsing errors. More...
|
|
class | Module |
| Dynamic Loading of Modules These functions provide a portable way to dynamically load object files (commonly known as 'plug-ins'). More...
|
|
class | NodeTree |
| N-ary Trees - trees of data with any number of branches The NodeTree class and its associated functions provide an N-ary tree data structure, in which nodes in the tree can contain arbitrary data. More...
|
|
class | OptionError |
| Exception class for options. More...
|
|
class | OptionContext |
| An OptionContext defines which options are accepted by the commandline option parser. More...
|
|
class | OptionEntry |
| An OptionEntry defines a single option. More...
|
|
class | OptionGroup |
| An OptionGroup defines the options in a single group. More...
|
|
class | RegexError |
| Exception class for Regex. More...
|
|
class | Regex |
| Perl-compatible regular expressions - matches strings against regular expressions. More...
|
|
class | MatchInfo |
| MatchInfo - MatchInfo is used to retrieve information about the regular expression match which created it. More...
|
|
class | ShellError |
| Exception class for shell utility errors. More...
|
|
class | SpawnError |
| Exception class for errors occuring when spawning processes. More...
|
|
class | ThreadError |
| Exception class for thread-related errors. More...
|
|
class | Thread |
| Represents a running thread. More...
|
|
struct | StaticMutex |
| Like Glib::Mutex, but can be defined at compile time. More...
|
|
class | Mutex |
| Represents a mutex (mutual exclusion). More...
|
|
struct | StaticRecMutex |
| Like Glib::RecMutex, but can be defined at compile time. More...
|
|
class | RecMutex |
|
struct | StaticRWLock |
| Like Glib::RWLock, but can be defined at compile time. More...
|
|
class | RWLock |
|
class | Cond |
| An opaque data structure to represent a condition. More...
|
|
struct | StaticPrivate |
| Thread-local data pointer. More...
|
|
class | Private |
| Thread-local data pointer. More...
|
|
class | TimeZone |
| TimeZone - A structure representing a time zone. More...
|
|
class | ValueArray |
| A container structure to maintain an array of generic values. More...
|
|
class | VariantBase |
| This is the base class for all Variant types. More...
|
|
class | VariantStringBase |
| Base class from which string variant classes derive. More...
|
|
class | VariantContainerBase |
| The base class from which multiple-item Variants derive, such as Variants containing tuples or arrays. More...
|
|
class | Variant |
| Template class used for the specialization of the Variant<> classes. More...
|
|
class | Variant< VariantBase > |
| Specialization of Variant containing a VariantBase. More...
|
|
class | Variant< Glib::ustring > |
| Specialization of Variant containing a Glib::ustring, for variants of type string, bytestring, object path, or signature. More...
|
|
class | Variant< std::string > |
| Specialization of Variant containing a std::string, for variants of type bytestring, object path, or signature. More...
|
|
class | Variant< std::vector< T > > |
| Specialization of Variant containing an array of items. More...
|
|
class | Variant< std::vector< Glib::ustring > > |
| Specialization of Variant containing an array of UTF-8 capable strings. More...
|
|
class | Variant< std::vector< std::string > > |
| Specialization of Variant containing an array of non-UTF-8 strings (byte string arrays). More...
|
|
class | Variant< std::map< K, V > > |
| Specialization of Variant containing a dictionary (a map of (key, value) elements). More...
|
|
class | VariantIter |
| VariantIter - An opaque data structure used to iterate through VariantBase containers such as arrays. More...
|
|
class | VariantType |
| VariantType - The VariantBase type system. More...
|
|
class | SignalProxyBase |
|
class | SignalProxyNormal |
| The SignalProxy provides an API similar to sigc::signal that can be used to connect sigc::slots to glib signals. More...
|
|
class | SignalProxy0 |
| Proxy for signals with 0 arguments. More...
|
|
class | SignalProxy1 |
| Proxy for signals with 1 arguments. More...
|
|
class | SignalProxy2 |
| Proxy for signals with 2 arguments. More...
|
|
class | SignalProxy3 |
| Proxy for signals with 3 arguments. More...
|
|
class | SignalProxy4 |
| Proxy for signals with 4 arguments. More...
|
|
class | SignalProxy5 |
| Proxy for signals with 5 arguments. More...
|
|
class | SignalProxy6 |
| Proxy for signals with 6 arguments. More...
|
|
class | Value< bool > |
|
class | Value< char > |
|
class | Value< unsigned char > |
|
class | Value< int > |
|
class | Value< unsigned int > |
|
class | Value< long > |
|
class | Value< unsigned long > |
|
class | Value< long long > |
|
class | Value< unsigned long long > |
|
class | Value< float > |
|
class | Value< double > |
|
class | Value< void* > |
|
class | Variant< bool > |
| Specialization of Glib::Variant containing a bool type. More...
|
|
class | Variant< unsigned char > |
| Specialization of Glib::Variant containing a unsigned char type. More...
|
|
class | Variant< gint16 > |
| Specialization of Glib::Variant containing a gint16 type. More...
|
|
class | Variant< guint16 > |
| Specialization of Glib::Variant containing a guint16 type. More...
|
|
class | Variant< gint32 > |
| Specialization of Glib::Variant containing a gint32 type. More...
|
|
class | Variant< guint32 > |
| Specialization of Glib::Variant containing a guint32 type. More...
|
|
class | Variant< gint64 > |
| Specialization of Glib::Variant containing a gint64 type. More...
|
|
class | Variant< guint64 > |
| Specialization of Glib::Variant containing a guint64 type. More...
|
|
class | Variant< double > |
| Specialization of Glib::Variant containing a double type. More...
|
|
class | ArrayHandle |
| This is an intermediate type. More...
|
|
class | ArrayHandle< bool, Container_Helpers::TypeTraits< bool > > |
|
class | Sequence |
| Utility class holding an iterator sequence. More...
|
|
class | Dispatcher |
| Signal class for inter-thread communication. More...
|
|
class | Error |
|
class | Exception |
|
class | HelperList |
|
class | Interface |
|
class | ListHandle |
| This is an intermediate type. More...
|
|
class | PollFD |
|
class | SignalTimeout |
|
class | SignalIdle |
|
class | SignalIO |
|
class | SignalChildWatch |
|
class | MainContext |
| Main context. More...
|
|
class | MainLoop |
|
class | Source |
|
class | TimeoutSource |
|
class | IdleSource |
|
class | IOSource |
|
class | Object |
|
class | ObjectBase |
| Glib::ObjectBase is a common base class for Objects and Interfaces. More...
|
|
class | PatternSpec |
|
class | PropertyBase |
| This is the base class for Glib::Object properties. More...
|
|
class | Property |
| A Glib::Object property. More...
|
|
class | PropertyProxy |
| A PropertyProxy can be used to get and set the value of an object's property. More...
|
|
class | PropertyProxy_WriteOnly |
| See PropertyProxy(). More...
|
|
class | PropertyProxy_ReadOnly |
| See PropertyProxy(). More...
|
|
class | SignalProxyProperty |
| Use the connect() method, with sigc::ptr_fun() or sig::mem_fun() to connect signals to signal handlers. More...
|
|
class | PropertyProxy_Base |
|
class | QueryQuark |
| Quarks are unique IDs in Glib for strings for use in hash table lookups. More...
|
|
class | Quark |
|
class | Rand |
|
class | RefPtr |
| RefPtr<> is a reference-counting shared smartpointer. More...
|
|
class | SListHandle |
| This is an intermediate type. More...
|
|
class | StreamIOChannel |
|
class | ThreadPool |
| A pool of threads to execute work concurrently. More...
|
|
class | Timer |
| Portable stop watch interface. More...
|
|
struct | TimeVal |
| Glib::TimeVal is a wrapper around the glib structure GTimeVal. More...
|
|
class | ustring_Iterator |
| The iterator type of Glib::ustring. More...
|
|
class | ustring |
| Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as UTF-8. More...
|
|
class | ValueBase |
|
class | ValueBase_Boxed |
|
class | ValueBase_Object |
|
class | ValueBase_Enum |
|
class | ValueBase_Flags |
|
class | ValueBase_String |
|
class | Value_Boxed |
|
class | Value< Glib::RefPtr< T > > |
| Partial specialization for RefPtr<> to Glib::Object. More...
|
|
class | Value< Glib::RefPtr< const T > > |
| Partial specialization for RefPtr<> to const Glib::Object. More...
|
|
class | Value< std::string > |
| Specialization for strings. More...
|
|
class | Value< Glib::ustring > |
| Specialization for UTF-8 strings. More...
|
|
class | Value_Enum |
| Base class of Glib::Value<T> specializations for enum types. More...
|
|
class | Value_Flags |
| Base class of Glib::Value<T> specializations for flags types. More...
|
|
class | Value_Pointer |
|
class | Value |
| Generic value implementation for custom types. More...
|
|
class | Value< T* > |
| Specialization for pointers to instances of any type. More...
|
|
class | Value< const T* > |
| Specialization for pointers to const instances of any type. More...
|
|
class | ArrayHandler |
| A utility for converting between std::vector and plain C arrays. More...
|
|
class | ArrayHandler< bool > |
|
class | ListHandler |
| A utility for converting between std::vector and GList. More...
|
|
class | SListHandler |
| A utility for converting between std::vector and GSList. More...
|
|
|
bool | get_charset () |
| Get the charset used by the current locale.
|
|
bool | get_charset (std::string& charset) |
| Get the charset used by the current locale.
|
|
std::string | convert (const std::string& str, const std::string& to_codeset, const std::string& from_codeset) |
| Convert from one encoding to another.
|
|
std::string | convert_with_fallback (const std::string& str, const std::string& to_codeset, const std::string& from_codeset) |
| Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output.
|
|
std::string | convert_with_fallback (const std::string& str, const std::string& to_codeset, const std::string& from_codeset, const Glib::ustring& fallback) |
| Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output.
|
|
Glib::ustring | locale_to_utf8 (const std::string& opsys_string) |
| Convert from the current locale's encoding to UTF-8.
|
|
std::string | locale_from_utf8 (const Glib::ustring& utf8_string) |
| Convert from UTF-8 to the current locale's encoding.
|
|
Glib::ustring | filename_to_utf8 (const std::string& opsys_string) |
| Converts a string which is in the encoding used for filenames into a UTF-8 string.
|
|
std::string | filename_from_utf8 (const Glib::ustring& utf8_string) |
| Converts a string from UTF-8 to the encoding used for filenames.
|
|
std::string | filename_from_uri (const Glib::ustring& uri, Glib::ustring& hostname) |
| Converts an escaped UTF-8 encoded URI to a local filename in the encoding used for filenames.
|
|
std::string | filename_from_uri (const Glib::ustring& uri) |
| Converts an escaped UTF-8 encoded URI to a local filename in the encoding used for filenames.
|
|
Glib::ustring | filename_to_uri (const std::string& filename, const Glib::ustring& hostname) |
| Converts an absolute filename to an escaped UTF-8 encoded URI.
|
|
Glib::ustring | filename_to_uri (const std::string& filename) |
| Converts an absolute filename to an escaped UTF-8 encoded URI.
|
|
Glib::ustring | filename_display_basename (const std::string& filename) |
| Returns the display basename for the particular filename, guaranteed to be valid UTF-8.
|
|
Glib::ustring | filename_display_name (const std::string& filename) |
| Converts a filename into a valid UTF-8 string.
|
|
FileTest | operator| (FileTest lhs, FileTest rhs) |
|
FileTest | operator& (FileTest lhs, FileTest rhs) |
|
FileTest | operator^ (FileTest lhs, FileTest rhs) |
|
FileTest | operator~ (FileTest flags) |
|
FileTest& | operator|= (FileTest& lhs, FileTest rhs) |
|
FileTest& | operator&= (FileTest& lhs, FileTest rhs) |
|
FileTest& | operator^= (FileTest& lhs, FileTest rhs) |
|
bool | file_test (const std::string& filename, FileTest test) |
| Returns true if any of the tests in the bitfield test are true.
|
|
int | mkstemp (std::string& filename_template) |
| Opens a temporary file.
|
|
int | file_open_tmp (std::string& name_used, const std::string& prefix) |
| Opens a file for writing in the preferred directory for temporary files (as returned by Glib::get_tmp_dir()).
|
|
int | file_open_tmp (std::string& name_used) |
| Opens a file for writing in the preferred directory for temporary files (as returned by Glib::get_tmp_dir()).
|
|
std::string | file_get_contents (const std::string& filename) |
| Reads an entire file into a string, with good error checking.
|
|
void | file_set_contents (const std::string& filename, const gchar* contents, gssize length) |
| Writes all of contents to a file named filename, with good error checking.
|
|
void | file_set_contents (const std::string& filename, const std::string& contents) |
| A variant of file_set_contents which accepts a standard C++ string.
|
|
IOFlags | operator| (IOFlags lhs, IOFlags rhs) |
|
IOFlags | operator& (IOFlags lhs, IOFlags rhs) |
|
IOFlags | operator^ (IOFlags lhs, IOFlags rhs) |
|
IOFlags | operator~ (IOFlags flags) |
|
IOFlags& | operator|= (IOFlags& lhs, IOFlags rhs) |
|
IOFlags& | operator&= (IOFlags& lhs, IOFlags rhs) |
|
IOFlags& | operator^= (IOFlags& lhs, IOFlags rhs) |
|
IOCondition | operator| (IOCondition lhs, IOCondition rhs) |
|
IOCondition | operator& (IOCondition lhs, IOCondition rhs) |
|
IOCondition | operator^ (IOCondition lhs, IOCondition rhs) |
|
IOCondition | operator~ (IOCondition flags) |
|
IOCondition& | operator|= (IOCondition& lhs, IOCondition rhs) |
|
IOCondition& | operator&= (IOCondition& lhs, IOCondition rhs) |
|
IOCondition& | operator^= (IOCondition& lhs, IOCondition rhs) |
|
Glib::RefPtr< IOChannel > | wrap (GIOChannel* gobject, bool take_copy=false) |
|
KeyFileFlags | operator| (KeyFileFlags lhs, KeyFileFlags rhs) |
|
KeyFileFlags | operator& (KeyFileFlags lhs, KeyFileFlags rhs) |
|
KeyFileFlags | operator^ (KeyFileFlags lhs, KeyFileFlags rhs) |
|
KeyFileFlags | operator~ (KeyFileFlags flags) |
|
KeyFileFlags& | operator|= (KeyFileFlags& lhs, KeyFileFlags rhs) |
|
KeyFileFlags& | operator&= (KeyFileFlags& lhs, KeyFileFlags rhs) |
|
KeyFileFlags& | operator^= (KeyFileFlags& lhs, KeyFileFlags rhs) |
|
ModuleFlags | operator| (ModuleFlags lhs, ModuleFlags rhs) |
|
ModuleFlags | operator& (ModuleFlags lhs, ModuleFlags rhs) |
|
ModuleFlags | operator^ (ModuleFlags lhs, ModuleFlags rhs) |
|
ModuleFlags | operator~ (ModuleFlags flags) |
|
ModuleFlags& | operator|= (ModuleFlags& lhs, ModuleFlags rhs) |
|
ModuleFlags& | operator&= (ModuleFlags& lhs, ModuleFlags rhs) |
|
ModuleFlags& | operator^= (ModuleFlags& lhs, ModuleFlags rhs) |
|
RegexCompileFlags | operator| (RegexCompileFlags lhs, RegexCompileFlags rhs) |
|
RegexCompileFlags | operator& (RegexCompileFlags lhs, RegexCompileFlags rhs) |
|
RegexCompileFlags | operator^ (RegexCompileFlags lhs, RegexCompileFlags rhs) |
|
RegexCompileFlags | operator~ (RegexCompileFlags flags) |
|
RegexCompileFlags& | operator|= (RegexCompileFlags& lhs, RegexCompileFlags rhs) |
|
RegexCompileFlags& | operator&= (RegexCompileFlags& lhs, RegexCompileFlags rhs) |
|
RegexCompileFlags& | operator^= (RegexCompileFlags& lhs, RegexCompileFlags rhs) |
|
RegexMatchFlags | operator| (RegexMatchFlags lhs, RegexMatchFlags rhs) |
|
RegexMatchFlags | operator& (RegexMatchFlags lhs, RegexMatchFlags rhs) |
|
RegexMatchFlags | operator^ (RegexMatchFlags lhs, RegexMatchFlags rhs) |
|
RegexMatchFlags | operator~ (RegexMatchFlags flags) |
|
RegexMatchFlags& | operator|= (RegexMatchFlags& lhs, RegexMatchFlags rhs) |
|
RegexMatchFlags& | operator&= (RegexMatchFlags& lhs, RegexMatchFlags rhs) |
|
RegexMatchFlags& | operator^= (RegexMatchFlags& lhs, RegexMatchFlags rhs) |
|
Glib::ArrayHandle< std::string > | shell_parse_argv (const std::string& command_line) |
| Parses a command line into an argument vector, in much the same way the shell would, but without many of the expansions the shell would perform (variable expansion, globs, operators, filename expansion, etc. are not supported).
|
|
std::string | shell_quote (const std::string& unquoted_string) |
| Quotes a string so that the shell (/bin/sh) will interpret the quoted string to mean unquoted_string.
|
|
std::string | shell_unquote (const std::string& quoted_string) |
| Unquotes a string as the shell (/bin/sh) would.
|
|
SpawnFlags | operator| (SpawnFlags lhs, SpawnFlags rhs) |
|
SpawnFlags | operator& (SpawnFlags lhs, SpawnFlags rhs) |
|
SpawnFlags | operator^ (SpawnFlags lhs, SpawnFlags rhs) |
|
SpawnFlags | operator~ (SpawnFlags flags) |
|
SpawnFlags& | operator|= (SpawnFlags& lhs, SpawnFlags rhs) |
|
SpawnFlags& | operator&= (SpawnFlags& lhs, SpawnFlags rhs) |
|
SpawnFlags& | operator^= (SpawnFlags& lhs, SpawnFlags rhs) |
|
void | spawn_async_with_pipes (const std::string& working_directory, const Glib::ArrayHandle< std::string >& argv, const Glib::ArrayHandle< std::string >& envp, SpawnFlags flags=SpawnFlags(0), const sigc::slot< void >& child_setup=sigc::slot< void >(), Pid* child_pid=0, int* standard_input=0, int* standard_output=0, int* standard_error=0) |
| Executes a child program asynchronously (your program will not block waiting for the child to exit).
|
|
void | spawn_async_with_pipes (const std::string& working_directory, const Glib::ArrayHandle< std::string >& argv, SpawnFlags flags=SpawnFlags(0), const sigc::slot< void >& child_setup=sigc::slot< void >(), Pid* child_pid=0, int* standard_input=0, int* standard_output=0, int* standard_error=0) |
| Like the main spawn_async_with_pipes() method, but inheriting the parent's environment.
|
|
void | spawn_async (const std::string& working_directory, const Glib::ArrayHandle< std::string >& argv, const Glib::ArrayHandle< std::string >& envp, SpawnFlags flags=SpawnFlags(0), const sigc::slot< void >& child_setup=sigc::slot< void >(), Pid* child_pid=0) |
| See pawn_async_with_pipes() for a full description.
|
|
void | spawn_async (const std::string& working_directory, const Glib::ArrayHandle< std::string >& argv, SpawnFlags flags=SpawnFlags(0), const sigc::slot< void >& child_setup=sigc::slot< void >(), Pid* child_pid=0) |
| Like the main spawn_async() method, but inheriting the parent's environment.
|
|
void | spawn_sync (const std::string& working_directory, const Glib::ArrayHandle< std::string >& argv, const Glib::ArrayHandle< std::string >& envp, SpawnFlags flags=SpawnFlags(0), const sigc::slot< void >& child_setup=sigc::slot< void >(), std::string* standard_output=0, std::string* standard_error=0, int* exit_status=0) |
| Executes a child synchronously (waits for the child to exit before returning).
|
|
void | spawn_sync (const std::string& working_directory, const Glib::ArrayHandle< std::string >& argv, SpawnFlags flags=SpawnFlags(0), const sigc::slot< void >& child_setup=sigc::slot< void >(), std::string* standard_output=0, std::string* standard_error=0, int* exit_status=0) |
| Like the main spawn_sync() method, but inheriting the parent's environment.
|
|
void | spawn_command_line_async (const std::string& command_line) |
| A simple version of spawn_async() that parses a command line with shell_parse_argv() and passes it to spawn_async().
|
|
void | spawn_command_line_sync (const std::string& command_line, std::string* standard_output=0, std::string* standard_error=0, int* exit_status=0) |
| A simple version of spawn_sync() with little-used parameters removed, taking a command line instead of an argument vector.
|
|
void | spawn_close_pid (Pid pid) |
| On some platforms, notably WIN32, the Pid type represents a resource which must be closed to prevent resource leaking.
|
|
void | thread_init (GThreadFunctions* vtable=0) |
| Initializes the GLib thread system.
|
|
bool | thread_supported () |
| Returns whether the thread system is initialized.
|
|
AsciiType | operator| (AsciiType lhs, AsciiType rhs) |
|
AsciiType | operator& (AsciiType lhs, AsciiType rhs) |
|
AsciiType | operator^ (AsciiType lhs, AsciiType rhs) |
|
AsciiType | operator~ (AsciiType flags) |
|
AsciiType& | operator|= (AsciiType& lhs, AsciiType rhs) |
|
AsciiType& | operator&= (AsciiType& lhs, AsciiType rhs) |
|
AsciiType& | operator^= (AsciiType& lhs, AsciiType rhs) |
|
std::string | uri_unescape_string (const std::string& escaped_string, const std::string& illegal_characters=std::string()) |
| Unescapes a whole escaped string.
|
|
std::string | uri_parse_scheme (const std::string& uri) |
| Gets the scheme portion of a URI.
|
|
std::string | uri_escape_string (const std::string& unescaped, const std::string& reserved_chars_allowed=std::string(), bool allow_utf8=true) |
| Escapes a string for use in a URI.
|
|
template<> |
Variant< Glib::ustring > | VariantBase::cast_dynamic< Variant< Glib::ustring > > (const VariantBase& v) throw (std::bad_cast) |
|
template<> |
Variant< std::string > | VariantBase::cast_dynamic< Variant< std::string > > (const VariantBase& v) throw (std::bad_cast) |
|
template<class Iterator > |
Sequence< Iterator > | sequence (Iterator pbegin, Iterator pend) |
| Helper function to create a Glib::Sequence<> object, which in turn can be used to initialize a container handle.
|
|
sigc::connection | add_exception_handler (const sigc::slot< void >& slot) |
| Specify a slot to be called when an exception is thrown by a signal handler.
|
|
void | init () |
| Initialize glibmm.
|
|
RefPtr< ObjectBase > | wrap_interface (GObject* object, bool take_copy=false) |
|
SignalTimeout | signal_timeout () |
| Convenience timeout signal.
|
|
SignalIdle | signal_idle () |
| Convenience idle signal.
|
|
SignalIO | signal_io () |
| Convenience I/O signal.
|
|
SignalChildWatch | signal_child_watch () |
| Convenience child watch signal.
|
|
Glib::ustring | get_application_name () |
| Gets a human-readable name for the application, as set by Glib::set_application_name().
|
|
void | set_application_name (const Glib::ustring& application_name) |
| Sets a human-readable name for the application.
|
|
std::string | get_prgname () |
| Gets the name of the program.
|
|
void | set_prgname (const std::string& prgname) |
| Sets the name of the program.
|
|
std::string | getenv (const std::string& variable, bool& found) |
| Returns the value of an environment variable.
|
|
std::string | getenv (const std::string& variable) |
| Returns the value of an environment variable.
|
|
bool | setenv (const std::string& variable, const std::string& value, bool overwrite=true) |
| Sets an environment variable.
|
|
void | unsetenv (const std::string& variable) |
| Removes an environment variable from the environment.
|
|
Glib::ArrayHandle< std::string > | listenv () |
| Gets the names of all variables set in the environment.
|
|
std::string | get_user_name () |
| Gets the user name of the current user.
|
|
std::string | get_real_name () |
| Gets the real name of the user.
|
|
std::string | get_home_dir () |
| Gets the current user's home directory.
|
|
std::string | get_tmp_dir () |
| Gets the directory to use for temporary files.
|
|
std::string | get_current_dir () |
| Gets the current directory.
|
|
std::string | get_user_special_dir (GUserDirectory directory) |
| Returns the full path of a special directory using its logical id.
|
|
std::string | get_user_data_dir () |
| Returns a base directory in which to access application data such as icons that is customized for a particular user.
|
|
std::string | get_user_config_dir () |
| Returns a base directory in which to store user-specific application configuration information such as user preferences and settings.
|
|
std::vector< std::string > | get_system_data_dirs () |
| Returns an ordered list of base directories in which to access system-wide application data.
|
|
std::vector< std::string > | get_system_config_dirs () |
| Returns an ordered list of base directories in which to access system-wide configuration information.
|
|
std::string | get_user_cache_dir () |
| Returns a base directory in which to store non-essential, cached data specific to particular user.
|
|
bool | path_is_absolute (const std::string& filename) |
| Returns true if the given filename is an absolute file name, i.e. it contains a full path from the root directory such as "/usr/local" on UNIX or "C:\\windows" on Windows systems.
|
|
std::string | path_skip_root (const std::string& filename) |
| Returns the remaining part of filename after the root component, i.e. after the "/" on UNIX or "C:\\" on Windows.
|
|
std::string | path_get_basename (const std::string& filename) |
| Gets the name of the file without any leading directory components.
|
|
std::string | path_get_dirname (const std::string& filename) |
| Gets the directory components of a file name.
|
|
std::string | build_filename (const Glib::ArrayHandle< std::string >& elements) |
| Creates a filename from a series of elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2) |
| Creates a filename from two elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3) |
| Creates a filename from three elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3, const std::string& elem4) |
| Creates a filename from four elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3, const std::string& elem4, const std::string& elem5) |
| Creates a filename from five elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3, const std::string& elem4, const std::string& elem5, const std::string& elem6) |
| Creates a filename from six elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3, const std::string& elem4, const std::string& elem5, const std::string& elem6, const std::string& elem7) |
| Creates a filename from seven elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3, const std::string& elem4, const std::string& elem5, const std::string& elem6, const std::string& elem7, const std::string& elem8) |
| Creates a filename from eight elements using the correct separator for filenames.
|
|
std::string | build_filename (const std::string& elem1, const std::string& elem2, const std::string& elem3, const std::string& elem4, const std::string& elem5, const std::string& elem6, const std::string& elem7, const std::string& elem8, const std::string& elem9) |
| Creates a filename from nine elements using the correct separator for filenames.
|
|
std::string | build_path (const std::string& separator, const Glib::ArrayHandle< std::string >& elements) |
| Creates a path from a series of elements using separator as the separator between elements.
|
|
std::string | find_program_in_path (const std::string& program) |
| Locates the first executable named program in the user's path, in the same way that execvp() would locate it.
|
|
bool | str_has_prefix (const std::string& str, const std::string& prefix) |
| Looks whether the string str begins with prefix.
|
|
bool | str_has_suffix (const std::string& str, const std::string& suffix) |
| Looks whether the string str ends with suffix.
|
|
std::string | strescape (const std::string& source) |
| Escapes all special characters in the string.
|
|
std::string | strescape (const std::string& source, const std::string& exceptions) |
| Escapes all special characters in the string.
|
|
std::string | strcompress (const std::string& source) |
| Replaces all escaped characters with their one byte equivalent.
|
|
Glib::ustring | strerror (int errnum) |
| Returns a string corresponding to the given error code, e.g. "no such process" .
|
|
Glib::ustring | strsignal (int signum) |
| Returns a string describing the given signal, e.g. "Segmentation fault" .
|
|
void | usleep (unsigned long microseconds) |
|
gunichar | get_unichar_from_std_iterator (std::string::const_iterator pos) |
| Extract a UCS-4 character from UTF-8 data.
|
|
template<class T > |
T::BaseObjectType* | unwrap (T* ptr) |
| Get the underlying C instance from the C++ instance.
|
|
template<class T > |
const T::BaseObjectType* | unwrap (const T* ptr) |
| Get the underlying C instance from the C++ instance.
|
|
template<class T > |
T::BaseObjectType* | unwrap (const Glib::RefPtr< T >& ptr) |
| Get the underlying C instance from the C++ instance.
|
|
template<class T > |
const T::BaseObjectType* | unwrap (const Glib::RefPtr< const T >& ptr) |
| Get the underlying C instance from the C++ instance.
|
|
template<class T > |
T::BaseObjectType* | unwrap_copy (const Glib::RefPtr< T >& ptr) |
| Get the underlying C instance from the C++ instance and acquire a reference.
|
|
template<class T > |
const T::BaseObjectType* | unwrap_copy (const Glib::RefPtr< const T >& ptr) |
| Get the underlying C instance from the C++ instance and acquire a reference.
|
|
Glib::RefPtr< Gio::Drive > | wrap (GDrive* object, bool take_copy) |
|
Glib::RefPtr< Gio::File > | wrap (GFile* object, bool take_copy) |
|
Glib::RefPtr< Gio::Mount > | wrap (GMount* object, bool take_copy) |
|
Glib::RefPtr< Gio::Volume > | wrap (GVolume* object, bool take_copy) |
|