registry_int< T > Class Template Reference

#include <registry_value.h>

Inheritance diagram for registry_int< T >:

Public Member Functions

 registry_int (const std::basic_string< TCHAR > &name, const T &defaultval, HKEY base)
 
 operator T ()
 
- Public Member Functions inherited from registry_value
 registry_value (const std::basic_string< TCHAR > &name, HKEY base_)
 
virtual ~registry_value ()
 
bool exists ()
 
void remove_value (void)
 
void remove_key (void)
 

Additional Inherited Members

- Protected Member Functions inherited from registry_value
bool open (bool write_access)
 
void close (void)
 
bool query_value (DWORD *type, DWORD *size, void *buffer)
 
bool set_value (DWORD type, DWORD size, const void *buffer)
 

Detailed Description

template<class T>
class registry_int< T >

To store and retrieve to/from Windows registry an arbitrary type in a registry Double Word value; The template class can be used with any type that can be converted to an int.

#include <libpf/utility/registry_value.h>

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ registry_int()

template<class T >
registry_int< T >::registry_int ( const std::basic_string< TCHAR > &  name,
const T &  defaultval,
HKEY  base 
)
inline

Member Function Documentation

◆ operator T()

template<class T >
registry_int< T >::operator T ( )
inline

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