39#ifndef INCLUDE_GUARD_URANIA_REGISTRY_H
40#define INCLUDE_GUARD_URANIA_REGISTRY_H
73 void setKey_(HKEY k)
noexcept { key_ = k; }
74 HKEY
getKey_() const noexcept {
return key_; }
83 explicit operator bool() const noexcept {
return key_ != NULL; }
84 bool operator!() const noexcept {
return !bool(*
this); }
113 void setStringData(
const std::wstring& name,
const std::wstring& val);
レジストリ操作基底
Definition registry.h:66
RegistryBase() noexcept
Definition registry.h:71
~RegistryBase()
Definition registry.h:77
bool operator!() const noexcept
Definition registry.h:84
void setKey_(HKEY k) noexcept
Definition registry.h:73
HKEY getKey_() const noexcept
Definition registry.h:74
static HKEY getRoot_(RegRootKey k)
Definition registry.cpp:42
レジストリ讀込クラス
Definition registry.h:95
std::wstring getStringData(const std::wstring &name)
Definition regread.cpp:97
DWORD getDwordData(const std::wstring &name)
Definition regread.cpp:67
RegistryReader(RegRootKey root, const std::wstring &path)
Definition regread.cpp:49
レジストリ書込クラス
Definition registry.h:108
void setStringData(const std::wstring &name, const std::wstring &val)
Definition regwrite.cpp:81
void setDwordData(const std::wstring &name, DWORD val)
Definition regwrite.cpp:68
RegistryWriter(RegRootKey root, const std::wstring &path)
Definition regwrite.cpp:48
RegRootKey
Definition registry.h:53
@ REGKEY_CLASSES_ROOT
Definition registry.h:54
@ REGKEY_LOCAL_MACHINE
Definition registry.h:56
@ REGKEY_USERS
Definition registry.h:57
@ REGKEY_CURRENT_CONFIG
Definition registry.h:58
@ REGKEY_CURRENT_USER
Definition registry.h:55