STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

System Library (UNIXSTL)
[UNIXSTLSystem Library]

This library provides facilities for accessing UNIX system attributes. More...

Compounds

class  basic_environment_variable
 Represents an environment variable. More...

class  module
 Class for manipulating dynamically loaded libraries. More...


Construction

 module (us_char_a_t const *modName, int mode=RTLD_NOW)
 Constructs by loading the named module.

 module (us_char_w_t const *modName, int mode=RTLD_NOW)
 Constructs by loading the named module.

 module (module_handle_type hmodule)
 Constructs by taking ownership of the given handle.

 ~module ()
 Closes the module handle.


Operations

void unload ()
 Closes the module handle.

module_handle_type detach ()
 Yields the module handle to the caller.


Typedefs

typedef basic_environment_variable<
us_char_a_t, filesystem_traits<
us_char_a_t > > 
environment_variable_a
 Instantiation of the basic_environment_variable template for the ANSI character type char.

typedef basic_environment_variable<
us_char_w_t, filesystem_traits<
us_char_w_t > > 
environment_variable_w
 Instantiation of the basic_environment_variable template for the Unicode character type wchar_t.


Functions

template<typename C> basic_environment_variable<
C > 
make_environment_variable (C const *path)
 This helper function makes an environment variable without needing to qualify the template parameter.


Detailed Description

This library provides facilities for accessing UNIX system attributes.


Typedef Documentation

typedef basic_environment_variable<us_char_a_t, filesystem_traits<us_char_a_t> > environment_variable_a
 

Instantiation of the basic_environment_variable template for the ANSI character type char.

typedef basic_environment_variable<us_char_w_t, filesystem_traits<us_char_w_t> > environment_variable_w
 

Instantiation of the basic_environment_variable template for the Unicode character type wchar_t.


Function Documentation

module::module_handle_type detach   [inline, inherited]
 

Yields the module handle to the caller.

basic_environment_variable<C> make_environment_variable C const *    path [inline]
 

This helper function makes an environment variable without needing to qualify the template parameter.

module module_handle_type    hmodule [inline, explicit, inherited]
 

Constructs by taking ownership of the given handle.

\Note If exception-handling is being used, then this throws a unix_exception if the module handle is NULL

module us_char_w_t const *    modName,
int    mode = RTLD_NOW
[inline, explicit, inherited]
 

Constructs by loading the named module.

\Note If exception-handling is being used, then this throws a unix_exception if the module cannot be loaded

module us_char_a_t const *    modName,
int    mode = RTLD_NOW
[inline, explicit, inherited]
 

Constructs by loading the named module.

\Note If exception-handling is being used, then this throws a unix_exception if the module cannot be loaded

void unload   [inline, inherited]
 

Closes the module handle.

~module   [inline, inherited]
 

Closes the module handle.


STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004