API to manipulate registry values. Support is very limited and Windows-only. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
More...
|
| virtual | ~RegistryKey () override |
| | Destructor. More...
|
| |
| System::SharedPtr< SafeRegistryHandle > | get_Handle () |
| | Gets raw handle of registry key. Not implemented. More...
|
| |
| System::String | get_Name () |
| | Gets name of registry key. Not implemented. More...
|
| |
| int | get_SubKeyCount () |
| | Gets number of subkeys. Not implemented. More...
|
| |
| int | get_ValueCount () |
| | Gets number of values. Not implemented. More...
|
| |
| RegistryView | get_View () |
| | Gets view of registry key. Not implemented. More...
|
| |
| void | Close () |
| | Closes registry key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | CreateSubKey (const System::String &subkey) |
| | Creates subkey under current key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | CreateSubKey (const System::String &subkey, RegistryKeyPermissionCheck permissionCheck) |
| | Creates subkey under current key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | CreateSubKey (const System::String &subkey, RegistryKeyPermissionCheck permissionCheck, const System::SharedPtr< RegistrySecurity > ®istrySecurity) |
| | Creates subkey under current key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | CreateSubKey (const System::String &subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions options) |
| | Creates subkey under current key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | CreateSubKey (const System::String &subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, const System::SharedPtr< RegistrySecurity > ®istrySecurity) |
| | Creates subkey under current key. Not implemented. More...
|
| |
| void | DeleteSubKey (const System::String &subkey) |
| | Deletes subkey under current key. Not implemented. More...
|
| |
| void | DeleteSubKey (const System::String &subkey, bool throwOnMissingSubKey) |
| | Deletes subkey under current key. Not implemented. More...
|
| |
| void | DeleteSubKeyTree (const System::String &subkey) |
| | Deletes subkey tree under current key. Not implemented. More...
|
| |
| void | DeleteSubKeyTree (const System::String &subkey, bool throwOnMissingSubKey) |
| | Deletes subkey tree under current key. Not implemented. More...
|
| |
| void | DeleteValue (const System::String &name) |
| | Deletes value of current key. Not implemented. More...
|
| |
| void | DeleteValue (const System::String &name, bool throwOnMissingValue) |
| | Deletes value of current key. Not implemented. More...
|
| |
| void | Dispose () |
| | Frees handles associated with key. Not implemented. More...
|
| |
| void | Flush () |
| | Writes all attributes of key to registry. Not implemented. More...
|
| |
| System::SharedPtr< RegistrySecurity > | GetAccessControl () |
| | Gets access control object associated with key. Not implemented. More...
|
| |
| System::SharedPtr< RegistrySecurity > | GetAccessControl (AccessControlSections includeSections) |
| | Gets access control object associated with key. Not implemented. More...
|
| |
| System::ArrayPtr< System::String > | GetSubKeyNames () |
| | Enumerates subkeys. Not implemented. More...
|
| |
| System::SharedPtr< System::Object > | GetValue (const System::String &valueName) |
| | Gets key value. Windows only. More...
|
| |
| System::SharedPtr< System::Object > | GetValue (const System::String &name, const System::SharedPtr< System::Object > &defaultValue) |
| | Gets key value. Not implemented. More...
|
| |
| System::SharedPtr< System::Object > | GetValue (const System::String &name, const System::SharedPtr< System::Object > &defaultValue, RegistryValueOptions options) |
| | Gets key value. Not implemented. More...
|
| |
| RegistryValueKind | GetValueKind (const System::String &name) |
| | Gets key value type. Not implemented. More...
|
| |
| System::ArrayPtr< System::String > | GetValueNames () |
| | Gets list of value names under current key. More...
|
| |
| System::SharedPtr< RegistryKey > | OpenSubKey (const System::String &name) |
| | Opens subkey of current key. More...
|
| |
| System::SharedPtr< RegistryKey > | OpenSubKey (const System::String &name, RegistryKeyPermissionCheck permissionCheck) |
| | Opens subkey of current key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | OpenSubKey (const System::String &name, bool writable) |
| | Opens subkey of current key. Not implemented. More...
|
| |
| System::SharedPtr< RegistryKey > | OpenSubKey (const System::String &name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights) |
| | Opens subkey of current key. Not implemented. More...
|
| |
| void | SetAccessControl (const System::SharedPtr< RegistrySecurity > ®istrySecurity) |
| | Sets access control value. Not implemented. More...
|
| |
| void | SetValue (const System::String &name, const System::SharedPtr< System::Object > &value) |
| | Sets registry value. Not implemented. More...
|
| |
| void | SetValue (const System::String &name, const System::SharedPtr< System::Object > &value, RegistryValueKind valueKind) |
| | Sets registry value. Not implemented. More...
|
| |
| System::String | ToString () const override |
| | Converts key to string. Not implemented. More...
|
| |
| | Object () |
| | Creates object. Initializes all internal data structures. More...
|
| |
| virtual | ~Object () |
| | Destroys object. Frees all internal data structures. More...
|
| |
| | Object (Object const &x) |
| | Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
| |
| Object & | operator= (Object const &x) |
| | Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
| |
| Object * | SharedRefAdded () |
| | Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
| |
| int | SharedRefRemovedSafe () |
| | Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
| |
| int | RemovedSharedRefs (int count) |
| | Decreases shared reference count by specified value. More...
|
| |
| Detail::SmartPtrCounter * | WeakRefAdded () |
| | Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
| |
| void | WeakRefRemoved () |
| | Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
| |
| Detail::SmartPtrCounter * | GetCounter () |
| | Gets reference counter data structure associated with the object. More...
|
| |
| int | SharedCount () const |
| | Gets current value of shared reference counter. More...
|
| |
| void | Lock () |
| | Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
|
| |
| void | Unlock () |
| | Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
|
| |
| virtual bool | Equals (ptr obj) |
| | Compares objects using C# Object.Equals semantics. More...
|
| |
| virtual int32_t | GetHashCode () const |
| | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
|
| |
| virtual String | ToString () const |
| | Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
|
| |
| virtual ptr | MemberwiseClone () const |
| | Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
|
| |
| virtual const TypeInfo & | GetType () const |
| | Gets actual type of object. Analog of C# System.Object.GetType() call. More...
|
| |
| virtual bool | Is (const TypeInfo &targetType) const |
| | Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
|
| |
| virtual void | SetTemplateWeakPtr (uint32_t argument) |
| | Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
|
| |
| virtual bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
| | For internal purposes only. More...
|
| |
| template<> |
| bool | ReferenceEquals (String const &str, std::nullptr_t) |
| | Specialization of Object::ReferenceEquals for case of string and nullptr. More...
|
| |
| template<> |
| bool | ReferenceEquals (String const &str1, String const &str2) |
| | Specialization of Object::ReferenceEquals for case of strings. More...
|
| |
|
| static System::SharedPtr< RegistryKey > | FromHandle (const System::SharedPtr< SafeRegistryHandle > &handle) |
| | Opens key from handle. Not implemented. More...
|
| |
| static System::SharedPtr< RegistryKey > | FromHandle (const System::SharedPtr< SafeRegistryHandle > &handle, RegistryView view) |
| | Opens key from handle. Not implemented. More...
|
| |
| static System::SharedPtr< RegistryKey > | OpenBaseKey (RegistryHive hKey, RegistryView view) |
| | Opens base key. Not implemented. More...
|
| |
| static System::SharedPtr< RegistryKey > | OpenRemoteBaseKey (RegistryHive hKey, const System::String &machineName) |
| | Opens base key on remote host. Not implemented. More...
|
| |
| static System::SharedPtr< RegistryKey > | OpenRemoteBaseKey (RegistryHive hKey, const System::String &machineName, RegistryView view) |
| | Opens base key on remote host. Not implemented. More...
|
| |
| static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
| | Compares objects by reference. More...
|
| |
| template<typename T > |
| static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
| | Compares objects by reference. More...
|
| |
| template<typename T > |
| static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
| | Reference-compares value type object with nullptr. More...
|
| |
| template<typename T1 , typename T2 > |
| static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| | Compares reference type objects in C# style. More...
|
| |
| template<typename T1 , typename T2 > |
| static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| | Compares value type objects in C# style. More...
|
| |
| static const TypeInfo & | Type () |
| | Implements C# typeof(System.Object) construct. More...
|
| |
| template<> |
| bool | Equals (float const &objA, float const &objB) |
| | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
| |
| template<> |
| bool | Equals (double const &objA, double const &objB) |
| | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
| |
API to manipulate registry values. Support is very limited and Windows-only. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.