#include <winstl/system/environment_variable.hpp>
C | The character type | |
T | The traits type. On translators that support default template arguments, this defaults to system_traits<C> |
Public Types | |
typedef C | char_type |
The char type. | |
typedef T | traits_type |
The traits type. | |
typedef processheap_allocator< C > | allocator_type |
The allocator type. | |
typedef basic_environment_variable< C, T > | class_type |
The current parameterisation of the type. | |
typedef size_t | size_type |
The size type. | |
typedef ws_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. | |
char_type const * | c_str () const |
Returns a pointer to a nul-terminated string. | |
size_type | length () const |
Returns the length of the variable. |
typedef C char_type |
The char type.
typedef T traits_type |
The traits type.
typedef processheap_allocator<C> allocator_type |
The allocator type.
typedef basic_environment_variable<C, T> class_type |
The current parameterisation of the type.
typedef size_t size_type |
The size type.
typedef ws_ptrdiff_t difference_type |
The difference type.
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] |
operator char_type const * | ( | ) | const [inline] |
Implicit conversion to a non-mutable (const) pointer to the variable.
char_type const* c_str | ( | ) | const [inline] |
Returns a pointer to a nul-terminated string.
size_type length | ( | ) | const [inline] |
Returns the length of the variable.