dxd - dynax driver framework 2.3.0d118
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::registry Class Reference

Windows registry access. More...

#include <dx_registry.h>

+ Inheritance diagram for dx::registry:

Protected Types

enum class  type : unsigned long { uint32 = REG_DWORD , uint64 = REG_QWORD , string = REG_SZ , vendor = REG_BINARY }
 

Protected Member Functions

iterator begin () const
 
 dx_catchall_rethrow () registry &initialize(uint32_t index
 
iterator end () const
 
registryinitialize (const char *path, ::HKEY root, ::REGSAM rights=KEY_ALL_ACCESS, const std::string &key={}) try
 
std::string key_from_index (uint32_t index) const try
 
 registry (::REGSAM rights=KEY_ALL_ACCESS, ::HKEY root=HKEY_CURRENT_USER, const std::string &key={})
 
 registry (const char *path, ::HKEY root, ::REGSAM rights=KEY_ALL_ACCESS, const std::string &key={})
 
 registry (const char *path, ::REGSAM rights=KEY_ALL_ACCESS, ::HKEY root=HKEY_CURRENT_USER, const std::string &key={})
 
 registry (const registry &registry, const std::string &key)
 
 registry (uint32_t index, const char *path, ::HKEY root, ::REGSAM rights=KEY_ALL_ACCESS)
 
 registry (uint32_t index, const char *path, ::REGSAM rights=KEY_ALL_ACCESS, ::HKEY root=HKEY_CURRENT_USER)
 
 ~registry () noexcept
 

Protected Attributes

const char * path
 
const char ::HKEY ::REGSAM rights
 
const char ::HKEY root
 

Detailed Description

Windows registry access.

Todo
dx::registry needs to be refactored to hierarchy with parent inquieries to support registry tree interrogation without creating branches for non-existing keys. see interface/macOS/cf_key_value_tree.h

Member Enumeration Documentation

◆ type

enum class dx::registry::type : unsigned long
strongprotected
Enumerator
uint32 
uint64 
string 
vendor 

Constructor & Destructor Documentation

◆ registry() [1/6]

dx::registry::registry ( ::REGSAM rights = KEY_ALL_ACCESS,
::HKEY root = HKEY_CURRENT_USER,
const std::string & key = {} )
inlineprotected

◆ registry() [2/6]

dx::registry::registry ( const char * path,
::REGSAM rights = KEY_ALL_ACCESS,
::HKEY root = HKEY_CURRENT_USER,
const std::string & key = {} )
inlineprotected

◆ registry() [3/6]

dx::registry::registry ( const char * path,
::HKEY root,
::REGSAM rights = KEY_ALL_ACCESS,
const std::string & key = {} )
inlineprotected

◆ registry() [4/6]

dx::registry::registry ( uint32_t index,
const char * path,
::REGSAM rights = KEY_ALL_ACCESS,
::HKEY root = HKEY_CURRENT_USER )
inlineprotected
+ Here is the call graph for this function:

◆ registry() [5/6]

dx::registry::registry ( uint32_t index,
const char * path,
::HKEY root,
::REGSAM rights = KEY_ALL_ACCESS )
inlineprotected
+ Here is the call graph for this function:

◆ registry() [6/6]

dx::registry::registry ( const registry & registry,
const std::string & key )
inlineprotected

◆ ~registry()

dx::registry::~registry ( )
inlineprotectednoexcept

Member Function Documentation

◆ begin()

iterator dx::registry::begin ( ) const
inlineprotected

◆ dx_catchall_rethrow()

dx::registry::dx_catchall_rethrow ( ) &
protected

◆ end()

iterator dx::registry::end ( ) const
inlineprotected

◆ initialize()

registry & dx::registry::initialize ( const char * path,
::HKEY root,
::REGSAM rights = KEY_ALL_ACCESS,
const std::string & key = {} )
inlineprotected
+ Here is the caller graph for this function:

◆ key_from_index()

std::string dx::registry::key_from_index ( uint32_t index) const
inlineprotected

Member Data Documentation

◆ path

const char* dx::registry::path
protected

◆ rights

const char ::HKEY ::REGSAM dx::registry::rights
protected

◆ root

const char ::HKEY dx::registry::root
protected

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Fri May 16 2025

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.