basic_environment_block Class Template Reference
[Containers Library]

#include <stlsoft/containers/environment_block.hpp>

List of all members.


Detailed Description

template<typename C, typename T = char_traits<C>, typename A = typename allocator_selector<C>::allocator_type>
class stlsoft::basic_environment_block< C, T, A >

Stores nul-terminated environment variable name-value strings continguously in a format compatible with system environment settings.

Parameters:
C The character type
T The traits type. Defaults to char_traits<C>. On translators that do not support default template parameters, this must be explicitly specified.
A The allocator type. Defaults to stlsoft::allocator_selector<C>::allocator_type. On translators that do not support default template parameters, this must be explicitly specified.

Public Types

Types
typedef C value_type
 The value type.
typedef C char_type
 The char type.
typedef T traits_type
 The traits type.
typedef A allocator_type
 The allocator type.
typedef
basic_environment_block< C, T,
A > 
class_type
 The current parameterisation of the type.
typedef char_typepointer
 The mutating (non-const) pointer type.
typedef char_type const * const_pointer
 The non-mutating (const) pointer type.
typedef size_t size_type
 The size type.

Public Member Functions

Construction
 basic_environment_block ()
Operations
void push_back (char_type const *s, size_t cch)
 Append a full NAME=VALUE environment pair.
template<typename S>
void push_back (S const &s)
void push_back (char_type const *name, size_t cchName, char_type const *value, size_t cchValue)
template<typename S1, typename S2>
void push_back (S1 const &name, S2 const &value)
void clear ()
Accessors
char_type const *const * base () const
size_type size () const

Member Typedef Documentation

typedef C value_type

The value type.

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 char_type* pointer

The mutating (non-const) pointer type.

typedef char_type const* const_pointer

The non-mutating (const) pointer type.

typedef size_t size_type

The size type.


Member Function Documentation

void push_back ( char_type const *  s,
size_t  cch 
) [inline]

Append a full NAME=VALUE environment pair.

References STLSOFT_ASSERT.


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

Generated on Thu Jun 10 08:58:40 2010 for STLSoft by  doxygen 1.5.6