#include <winstl/registry/reg_value_sequence.hpp>
C | The character type | |
T | The traits type. On translators that support default template arguments this defaults to reg_traits<C> | |
A | The allocator type. On translators that support default template arguments this defaults to processheap_allocator<C> |
Member Types | |
typedef C | char_type |
The character type. | |
typedef T | traits_type |
The traits type. | |
typedef A | allocator_type |
The allocator type. | |
typedef basic_reg_value_sequence< C, T, A > | class_type |
The current parameterisation of the type. | |
typedef basic_reg_value< C, T, A > | value_type |
The value type. | |
typedef traits_type::size_type | size_type |
The size type. | |
typedef basic_reg_key< C, T, A > | reg_key_type |
The get key type. | |
typedef basic_reg_value_sequence_iterator < C, T, value_type, A > | iterator |
The non-mutating (const) iterator type. | |
typedef iterator | const_iterator |
The non-mutating (const) iterator type. | |
typedef value_type & | reference |
The reference type. | |
typedef value_type const & | const_reference |
The non-mutable (const) reference type. | |
typedef traits_type::hkey_type | hkey_type |
The hkey type. | |
typedef ws_ptrdiff_t | difference_type |
The difference type. | |
typedef bool | bool_type |
The non-mutating (const) reverse iterator type. | |
typedef hkey_type | resource_type |
Public Member Functions | |
Construction | |
basic_reg_value_sequence (hkey_type hkey, char_type const *subKeyName, REGSAM accessMask=KEY_READ) | |
Creates an instance which provides access to the values of the named sub-key of hkey . | |
basic_reg_value_sequence (hkey_type hkey, char_type const *subKeyName, REGSAM accessMask, bool_type bMonitorExternalInvalidation) | |
Creates an instance which provides access to the values of the named sub-key of hkey . | |
basic_reg_value_sequence (reg_key_type const &key) | |
Creates an instance which provides access to the values of of key . | |
basic_reg_value_sequence (reg_key_type const &key, REGSAM accessMask) | |
Creates an instance which provides access to the values of of key . | |
basic_reg_value_sequence (reg_key_type const &key, REGSAM accessMask, bool_type bMonitorExternalInvalidation) | |
Creates an instance which provides access to the values of of key . | |
~basic_reg_value_sequence () throw () | |
Destructor. | |
Iteration | |
iterator | begin () |
Begins the iteration. | |
iterator | end () |
Ends the iteration. | |
Attributes | |
size_type | current_size () const |
Returns the number of values. | |
size_type | size () const |
Returns the number of values. | |
bool | empty () const |
Evalulates whether there are no values. | |
hkey_type | get_key_handle () const |
The key handle. | |
hkey_type | get () const |
The key handle. |
typedef C char_type |
The character type.
typedef T traits_type |
The traits type.
typedef A allocator_type |
The allocator type.
typedef basic_reg_value_sequence<C, T, A> class_type |
The current parameterisation of the type.
typedef basic_reg_value<C, T, A> value_type |
The value type.
typedef traits_type::size_type size_type |
The size type.
typedef basic_reg_key<C, T, A> reg_key_type |
The get key type.
typedef basic_reg_value_sequence_iterator<C, T, value_type, A> iterator |
The non-mutating (const) iterator type.
typedef iterator const_iterator |
The non-mutating (const) iterator type.
typedef value_type& reference |
The reference type.
typedef value_type const& const_reference |
The non-mutable (const) reference type.
typedef traits_type::hkey_type hkey_type |
The hkey type.
typedef ws_ptrdiff_t difference_type |
The difference type.
typedef bool bool_type |
The non-mutating (const) reverse iterator type.
The Boolean type
basic_reg_value_sequence | ( | hkey_type | hkey, | |
char_type const * | subKeyName, | |||
REGSAM | accessMask = KEY_READ | |||
) |
Creates an instance which provides access to the values of the named sub-key of hkey
.
hkey | A registry key handle representing the parent of subKeyName | |
subKeyName | The name of the sub-key whose values will be enumerated. If subKeyName is NULL or the empty string, then the values of hkey will be enumerated | |
accessMask | The security access mask with which the key (hkey + subKeyName) will be opened. Defaults to KEY_READ. |
basic_reg_value_sequence | ( | hkey_type | hkey, | |
char_type const * | subKeyName, | |||
REGSAM | accessMask, | |||
bool_type | bMonitorExternalInvalidation | |||
) |
Creates an instance which provides access to the values of the named sub-key of hkey
.
hkey | A registry key handle representing the parent of subKeyName | |
subKeyName | The name of the sub-key whose values will be enumerated. If subKeyName is NULL or the empty string, then the values of hkey will be enumerated | |
accessMask | The security access mask with which the key (hkey + subKeyName) will be opened. Defaults to KEY_READ | |
bMonitorExternalInvalidation | If non-zero, the iterators will monitor for external iterator invalidation, throwing an instance of registry_exception (or a derived class) when any values are added or removed |
basic_reg_value_sequence | ( | reg_key_type const & | key | ) | [explicit] |
Creates an instance which provides access to the values of of key
.
key | A registry key handle representing the parent of subKeyName |
basic_reg_value_sequence | ( | reg_key_type const & | key, | |
REGSAM | accessMask | |||
) |
Creates an instance which provides access to the values of of key
.
key | A registry key handle representing the parent of subKeyName | |
accessMask | The security access mask with which the key will be used. Defaults to KEY_READ |
basic_reg_value_sequence | ( | reg_key_type const & | key, | |
REGSAM | accessMask, | |||
bool_type | bMonitorExternalInvalidation | |||
) |
Creates an instance which provides access to the values of of key
.
key | A registry key handle representing the parent of subKeyName | |
accessMask | The security access mask with which the key will be used. Defaults to KEY_READ | |
bMonitorExternalInvalidation | If non-zero, the iterators will monitor for external iterator invalidation, throwing an instance of registry_exception (or a derived class) when any values are added or removed |
~basic_reg_value_sequence | ( | ) | throw () |
Destructor.
iterator begin | ( | ) |
Begins the iteration.
iterator end | ( | ) |
Ends the iteration.
size_type current_size | ( | ) | const |
Returns the number of values.
size_type size | ( | ) | const |
bool empty | ( | ) | const |
Evalulates whether there are no values.
hkey_type get_key_handle | ( | ) | const |
The key handle.
hkey_type get | ( | ) | const |
The key handle.