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  

basic_environment_variable Class Template Reference
[System Library (WinSTL)]

Represents an environment variable. More...

#include <winstl_environment_variable.h>

List of all members.

Public Types

typedef C char_type
 The char type.

typedef T traits_type
 The traits type.

typedef basic_environment_variable<
C, T > 
class_type
 The current parameterisation of the type.

typedef ss_size_t size_type
 The size type.


Public Methods

 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.


Detailed Description

template<typename C, typename T = filesystem_traits<C>>
class winstl::basic_environment_variable< C, T >

Represents an environment variable.

Parameters:
C  The character type
T  The traits type. On translators that support default template arguments, this defaults to filesystem_traits<C>


Member Typedef Documentation

typedef C char_type
 

The char type.

typedef basic_environment_variable<C, T> class_type
 

The current parameterisation of the type.

typedef ss_size_t size_type
 

The size type.

typedef T traits_type
 

The traits 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.


Member Function Documentation

size_type length   const [inline]
 

Returns the length of the variable.

operator char_type const *   const [inline]
 

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


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

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