basic_environment_variable Class Template Reference
[System Library]

#include <unixstl/system/environment_variable.hpp>

List of all members.


Detailed Description

template<typename C, typename T = system_traits<C>, typename A = typename stlsoft:: allocator_selector <C>::allocator_type>
class unixstl::basic_environment_variable< C, T, A >

Represents an environment variable.

Parameters:
C The character type
T The traits type. Defaults to system_traits<C>. On translators that do not support default template arguments, it must be explicitly stipulated
A The allocator class. Defaults to stlsoft::allocator_selector<C>::allocator_type. On translators that do not support default template arguments, it is not part of the template parameter list.

Public Types

typedef C char_type
 The char type.
typedef T traits_type
 The traits type.
typedef A allocator_type
 The allocator type.
typedef
basic_environment_variable< C,
T, A > 
class_type
 The current parameterisation of the type.
typedef size_t size_type
 The size type.
typedef us_ptrdiff_t difference_type
 The difference type.

Public Member Functions

 basic_environment_variable (char_type const *name)
 Create an instance representing the given environment variable.
template<typename S>
 basic_environment_variable (S const &name)
 Create an instance representing the given environment variable.
 operator char_type const * () const
 Implicit conversion to a non-mutable (const) pointer to the variable.
size_type length () const
 Returns the length of the variable.

Member Typedef Documentation

typedef C char_type

The char type.

typedef T traits_type

The traits type.

typedef A allocator_type

The allocator type.

The current parameterisation of the type.

typedef size_t size_type

The size type.

typedef us_ptrdiff_t difference_type

The difference type.


Constructor & Destructor Documentation

basic_environment_variable ( char_type const *  name  )  [inline, explicit]

Create an instance representing the given environment variable.

basic_environment_variable ( S const &  name  )  [inline, explicit]

Create an instance representing the given environment variable.

References unixstl::c_str_ptr(), and stlsoft_ns_qual.


Member Function Documentation

operator char_type const * (  )  const [inline]

Implicit conversion to a non-mutable (const) pointer to the variable.

size_type length (  )  const [inline]

Returns the length of the variable.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:59:09 2010 for STLSoft by  doxygen 1.5.6