tetengo 1.8.2
A multipurpose library set
|
A Windows registry reader. More...
#include <windows_X.hpp>
Public Member Functions | |
windows_registry_reader (const std::filesystem::path &subkey) | |
Creates a Windows registry reader. | |
~windows_registry_reader () | |
Destroys the Windows registry reader. | |
std::vector< std::string > | child_subkeys () const |
Returns the child subkeys. | |
std::vector< std::string > | value_names () const |
Returns the value name list. | |
std::optional< std::uint32_t > | dword_value_of (const std::string_view &name) const |
Returns the DWORD value. | |
std::optional< std::string > | string_value_of (const std::string_view &name) const |
Returns the string value. | |
A Windows registry reader.
This class is only available on Windows.
The read and write target is fixed to \HKEY_CURRENT_USER\SOFTWARE.
|
explicit |
Creates a Windows registry reader.
subkey | A subkey. |
std::vector< std::string > tetengo::platform_dependent::windows_registry_reader::child_subkeys | ( | ) | const |
Returns the child subkeys.
std::optional< std::uint32_t > tetengo::platform_dependent::windows_registry_reader::dword_value_of | ( | const std::string_view & | name | ) | const |
Returns the DWORD value.
name | A name. |
std::optional< std::string > tetengo::platform_dependent::windows_registry_reader::string_value_of | ( | const std::string_view & | name | ) | const |
Returns the string value.
name | A name. |
std::vector< std::string > tetengo::platform_dependent::windows_registry_reader::value_names | ( | ) | const |
Returns the value name list.