#include <stlsoft/containers/environment_block.hpp>
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_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. | |
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 |
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_type const* const_pointer |
The non-mutating (const) pointer type.