|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_reg_key.h>
Public 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_key< C, T, A > | class_type |
| The current parameterisation of the type. | |
| typedef traits_type::size_type | size_type |
| The size type. | |
| typedef traits_type::string_type | string_type |
| The string type. | |
| typedef traits_type::hkey_type | hkey_type |
| The key type. | |
Public Methods | |
| basic_reg_key () | |
| Default constructor. | |
| basic_reg_key (hkey_type hkeyParent, string_type const &key_name, REGSAM samDesired=KEY_READ) | |
| Construct from the named sub-key of the given parent. | |
| basic_reg_key (class_type const &keyParent, string_type const &key_name, REGSAM samDesired=KEY_READ) | |
| Construct from the named sub-key of the given parent. | |
| basic_reg_key (class_type const &rhs) | |
| Copy constructor. | |
| basic_reg_key (class_type const &rhs, REGSAM samDesired) | |
| Copy constructor. | |
| ~basic_reg_key () winstl_throw_0() | |
| Destructor. | |
| class_type & | operator= (class_type const &rhs) |
| Copy assignment operator. | |
| string_type const & | name () const |
| The name of the key. | |
| string_type | reg_class () const |
| The registry class of the key. | |
| ws_uint_t | num_sub_keys () const |
| The number of sub-keys. | |
| ws_uint_t | num_values () const |
| The number of values. | |
| hkey_type | get_key_handle () const |
| The key handle. | |
| class_type | open_sub_key (char_type const *sub_key_name, REGSAM samDesired=KEY_READ) |
| Opens the named sub-key of this key. | |
| class_type | create_sub_key (char_type const *sub_key_name, REGSAM samDesired=KEY_READ) |
| Creates a named sub-key of this key. | |
This class acts as the value type of classes that manipulate registry keys and encapsulates the concept of a registry key.
| 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> |
|
|
The allocator type.
|
|
|
The character type.
|
|
|
The current parameterisation of the type.
|
|
|
The key type.
|
|
|
The size type.
|
|
|
The string type.
|
|
|
The traits type.
|
|
|
Default constructor.
|
|
||||||||||||||||
|
Construct from the named sub-key of the given parent.
|
|
||||||||||||||||
|
Construct from the named sub-key of the given parent.
|
|
|
Copy constructor.
|
|
||||||||||||
|
Copy constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Creates a named sub-key of this key.
|
|
|
The key handle.
|
|
|
The name of the key.
|
|
|
The number of sub-keys.
|
|
|
The number of values.
|
|
||||||||||||
|
Opens the named sub-key of this key.
|
|
|
Copy assignment operator.
|
|
|
The registry class of the key.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |