Rhino C++ API
8.10
|
#include <RhinoSdkUiRegistry.h>
Public Member Functions | |
CRhinoUiRegistry () | |
CRhinoUiRegistry (CRhinoUiRegistry &) | |
CRhinoUiRegistry (HKEY hKey) | |
~CRhinoUiRegistry () | |
void | Attach (HKEY hKey) |
Attach the CRegKey object to an existing HKEY. Takes ownership. More... | |
bool | AttachToRhinoAppRegistryKey (bool bWrite=false, CRhinoProfileContext::context_location nProfile=CRhinoProfileContext::cl_scheme_current_user) |
bool | AttachToRhinoRootRegistryKey (bool bWrite=false, CRhinoProfileContext::context_location nProfile=CRhinoProfileContext::cl_scheme_current_user) |
bool | AttachToRhinoSectionKey (LPCTSTR lpszSection, bool bWrite=false, CRhinoProfileContext::context_location nProfile=CRhinoProfileContext::cl_scheme_current_user) |
bool | Close () |
bool | Create (HKEY hKeyParent, LPCTSTR lpsKeyName, bool *pbIsNewKey=NULL) |
bool | DeleteSubKey (LPCTSTR lpszSubKey) const |
bool | DeleteValue (LPCTSTR lpszValue) const |
HKEY | Detach () |
Detach the CRegKey object from its HKEY. Releases ownership. More... | |
int | EnumKey () |
int | EnumValue () |
bool | Flush () |
HKEY | GetHKEY () const |
int | KeyCount () const |
LPCTSTR | KeyString (int) const |
bool | Open (HKEY hKeyParent, LPCTSTR lpsKeyName, bool bWrite=false) |
operator HKEY () const | |
CRhinoUiRegistry & | operator= (CRhinoUiRegistry &) |
bool | Query2dPointValue (LPCTSTR lpsValueName, ON_2dPoint &ptValue) const |
bool | Query3dPointValue (LPCTSTR lpsValueName, ON_3dPoint &ptValue) const |
bool | Query3dVectorValue (LPCTSTR lpsValueName, ON_3dVector &vValue) const |
bool | QueryBinaryValue (LPCTSTR lpsValueName, void *pValue, ULONG &nBytesOut) const |
bool | QueryBoolValue (LPCTSTR lpsValueName, bool &bValue) const |
bool | QueryBoolValue (LPCTSTR lpsValueName, BOOL32 &bValue) const |
bool | QueryDoubleValue (LPCTSTR lpsValueName, double &nValue) const |
bool | QueryDWORDValue (LPCTSTR lpsValueName, DWORD &dwValue) const |
bool | QueryIntValue (LPCTSTR lpsValueName, int &iValue) const |
bool | QueryMultiStringValue (LPCTSTR lpsValueName, ON_ClassArray< CString > &sValues) const |
bool | QueryPointValue (LPCTSTR lpsValueName, CPoint &ptValue) const |
bool | QueryRectValue (LPCTSTR lpsValueName, CRect &rValue) const |
bool | QueryRGBValue (LPCTSTR lpsValueName, COLORREF &cr) const |
bool | QuerySizeValue (LPCTSTR lpsValueName, CSize &szValue) const |
bool | QueryStringValue (LPCTSTR lpsValueName, CString &sValue) const |
bool | QueryUUIDValue (LPCTSTR lpsValueName, UUID &uuid) const |
bool | QueryValue (LPCTSTR lpsValueName, DWORD *pdwType, LPBYTE pData, DWORD &dwData) const |
bool | QueryValueSize (LPCTSTR lpsValueName, DWORD &dwSize) const |
bool | QueryValueType (LPCTSTR lpsValueName, DWORD &dwType) const |
bool | Set2dPointValue (LPCTSTR lpsValueName, ON_2dPoint pt) const |
bool | Set3dPointValue (LPCTSTR lpsValueName, ON_3dPoint pt) const |
bool | Set3dVectorValue (LPCTSTR lpsValueName, ON_3dVector v) const |
bool | SetBinaryValue (LPCTSTR lpsValueName, const void *pValue, ULONG nBytes) const |
bool | SetBoolValue (LPCTSTR lpsValueName, bool b) const |
bool | SetBoolValue (LPCTSTR lpsValueName, BOOL32 b) const |
bool | SetDoubleValue (LPCTSTR lpsValueName, double n) const |
bool | SetDWORDValue (LPCTSTR lpsValueName, DWORD dwValue) const |
bool | SetIntValue (LPCTSTR lpsValueName, int i) const |
bool | SetMultiStringValue (LPCTSTR lpsValueName, const ON_ClassArray< CString > &sValues) const |
bool | SetMultiStringValueA (LPCTSTR lpsValueName, const ON_ClassArray< ON_String > &sValues) const |
bool | SetMultiStringValueW (LPCTSTR lpsValueName, const ON_ClassArray< ON_wString > &sValues) const |
bool | SetPointValue (LPCTSTR lpsValueName, CPoint pt) const |
bool | SetRectValue (LPCTSTR lpsValueName, CRect r) const |
bool | SetRGBValue (LPCTSTR lpsValueName, COLORREF cr) const |
bool | SetSchemeName (LPCTSTR lpsScheme) |
bool | SetSizeValue (LPCTSTR lpsValueName, CSize sz) const |
bool | SetStringValue (LPCTSTR lpsValueName, LPCTSTR lpsValue) const |
bool | SetStringValueA (LPCTSTR lpsValueName, const char *lpsValue) const |
bool | SetStringValueW (LPCTSTR lpsValueName, const wchar_t *lpsValue) const |
bool | SetUUIDValue (LPCTSTR lpsValueName, const UUID &uuid) const |
bool | SetValue (LPCTSTR lpsValueName, DWORD dwType, const LPBYTE pData, DWORD dwData) const |
const CRhinoUiRegistryEnumValue * | Value (int) const |
const CRhinoUiRegistryEnumValue * | Value (LPCTSTR) const |
int | ValueCount () const |
Protected Member Functions | |
bool | QueryNumberList (LPCTSTR lpsValueName, double *iList, int iCount) const |
bool | QueryNumberList (LPCTSTR lpsValueName, int *iList, int iCount) const |
Protected Attributes | |
HKEY | m_hKey |
ON_ClassArray< CRhinoUiRegistryEnumValue > | m_LabelList |
CStringArray | m_sKeyList |
CString | m_sSchemeName |
class CRhinoUiRegistry
CRhinoUiRegistry::CRhinoUiRegistry | ( | ) |
CRhinoUiRegistry::CRhinoUiRegistry | ( | CRhinoUiRegistry & | ) |
CRhinoUiRegistry::CRhinoUiRegistry | ( | HKEY | hKey | ) |
CRhinoUiRegistry::~CRhinoUiRegistry | ( | ) |
void CRhinoUiRegistry::Attach | ( | HKEY | hKey | ) |
Attach the CRegKey object to an existing HKEY. Takes ownership.
bool CRhinoUiRegistry::AttachToRhinoAppRegistryKey | ( | bool | bWrite = false , |
CRhinoProfileContext::context_location | nProfile = CRhinoProfileContext::cl_scheme_current_user |
||
) |
bool CRhinoUiRegistry::AttachToRhinoRootRegistryKey | ( | bool | bWrite = false , |
CRhinoProfileContext::context_location | nProfile = CRhinoProfileContext::cl_scheme_current_user |
||
) |
bool CRhinoUiRegistry::AttachToRhinoSectionKey | ( | LPCTSTR | lpszSection, |
bool | bWrite = false , |
||
CRhinoProfileContext::context_location | nProfile = CRhinoProfileContext::cl_scheme_current_user |
||
) |
bool CRhinoUiRegistry::Close | ( | ) |
bool CRhinoUiRegistry::Create | ( | HKEY | hKeyParent, |
LPCTSTR | lpsKeyName, | ||
bool * | pbIsNewKey = NULL |
||
) |
bool CRhinoUiRegistry::DeleteSubKey | ( | LPCTSTR | lpszSubKey | ) | const |
bool CRhinoUiRegistry::DeleteValue | ( | LPCTSTR | lpszValue | ) | const |
HKEY CRhinoUiRegistry::Detach | ( | ) |
Detach the CRegKey object from its HKEY. Releases ownership.
int CRhinoUiRegistry::EnumKey | ( | ) |
int CRhinoUiRegistry::EnumValue | ( | ) |
bool CRhinoUiRegistry::Flush | ( | ) |
HKEY CRhinoUiRegistry::GetHKEY | ( | ) | const |
int CRhinoUiRegistry::KeyCount | ( | ) | const |
LPCTSTR CRhinoUiRegistry::KeyString | ( | int | ) | const |
bool CRhinoUiRegistry::Open | ( | HKEY | hKeyParent, |
LPCTSTR | lpsKeyName, | ||
bool | bWrite = false |
||
) |
CRhinoUiRegistry::operator HKEY | ( | ) | const |
CRhinoUiRegistry& CRhinoUiRegistry::operator= | ( | CRhinoUiRegistry & | ) |
bool CRhinoUiRegistry::Query2dPointValue | ( | LPCTSTR | lpsValueName, |
ON_2dPoint & | ptValue | ||
) | const |
bool CRhinoUiRegistry::Query3dPointValue | ( | LPCTSTR | lpsValueName, |
ON_3dPoint & | ptValue | ||
) | const |
bool CRhinoUiRegistry::Query3dVectorValue | ( | LPCTSTR | lpsValueName, |
ON_3dVector & | vValue | ||
) | const |
bool CRhinoUiRegistry::QueryBinaryValue | ( | LPCTSTR | lpsValueName, |
void * | pValue, | ||
ULONG & | nBytesOut | ||
) | const |
bool CRhinoUiRegistry::QueryBoolValue | ( | LPCTSTR | lpsValueName, |
bool & | bValue | ||
) | const |
bool CRhinoUiRegistry::QueryBoolValue | ( | LPCTSTR | lpsValueName, |
BOOL32 & | bValue | ||
) | const |
bool CRhinoUiRegistry::QueryDoubleValue | ( | LPCTSTR | lpsValueName, |
double & | nValue | ||
) | const |
bool CRhinoUiRegistry::QueryDWORDValue | ( | LPCTSTR | lpsValueName, |
DWORD & | dwValue | ||
) | const |
bool CRhinoUiRegistry::QueryIntValue | ( | LPCTSTR | lpsValueName, |
int & | iValue | ||
) | const |
bool CRhinoUiRegistry::QueryMultiStringValue | ( | LPCTSTR | lpsValueName, |
ON_ClassArray< CString > & | sValues | ||
) | const |
|
protected |
|
protected |
bool CRhinoUiRegistry::QueryPointValue | ( | LPCTSTR | lpsValueName, |
CPoint & | ptValue | ||
) | const |
bool CRhinoUiRegistry::QueryRectValue | ( | LPCTSTR | lpsValueName, |
CRect & | rValue | ||
) | const |
bool CRhinoUiRegistry::QueryRGBValue | ( | LPCTSTR | lpsValueName, |
COLORREF & | cr | ||
) | const |
bool CRhinoUiRegistry::QuerySizeValue | ( | LPCTSTR | lpsValueName, |
CSize & | szValue | ||
) | const |
bool CRhinoUiRegistry::QueryStringValue | ( | LPCTSTR | lpsValueName, |
CString & | sValue | ||
) | const |
bool CRhinoUiRegistry::QueryUUIDValue | ( | LPCTSTR | lpsValueName, |
UUID & | uuid | ||
) | const |
bool CRhinoUiRegistry::QueryValue | ( | LPCTSTR | lpsValueName, |
DWORD * | pdwType, | ||
LPBYTE | pData, | ||
DWORD & | dwData | ||
) | const |
bool CRhinoUiRegistry::QueryValueSize | ( | LPCTSTR | lpsValueName, |
DWORD & | dwSize | ||
) | const |
bool CRhinoUiRegistry::QueryValueType | ( | LPCTSTR | lpsValueName, |
DWORD & | dwType | ||
) | const |
bool CRhinoUiRegistry::Set2dPointValue | ( | LPCTSTR | lpsValueName, |
ON_2dPoint | pt | ||
) | const |
bool CRhinoUiRegistry::Set3dPointValue | ( | LPCTSTR | lpsValueName, |
ON_3dPoint | pt | ||
) | const |
bool CRhinoUiRegistry::Set3dVectorValue | ( | LPCTSTR | lpsValueName, |
ON_3dVector | v | ||
) | const |
bool CRhinoUiRegistry::SetBinaryValue | ( | LPCTSTR | lpsValueName, |
const void * | pValue, | ||
ULONG | nBytes | ||
) | const |
bool CRhinoUiRegistry::SetBoolValue | ( | LPCTSTR | lpsValueName, |
bool | b | ||
) | const |
bool CRhinoUiRegistry::SetBoolValue | ( | LPCTSTR | lpsValueName, |
BOOL32 | b | ||
) | const |
bool CRhinoUiRegistry::SetDoubleValue | ( | LPCTSTR | lpsValueName, |
double | n | ||
) | const |
bool CRhinoUiRegistry::SetDWORDValue | ( | LPCTSTR | lpsValueName, |
DWORD | dwValue | ||
) | const |
bool CRhinoUiRegistry::SetIntValue | ( | LPCTSTR | lpsValueName, |
int | i | ||
) | const |
bool CRhinoUiRegistry::SetMultiStringValue | ( | LPCTSTR | lpsValueName, |
const ON_ClassArray< CString > & | sValues | ||
) | const |
bool CRhinoUiRegistry::SetMultiStringValueA | ( | LPCTSTR | lpsValueName, |
const ON_ClassArray< ON_String > & | sValues | ||
) | const |
bool CRhinoUiRegistry::SetMultiStringValueW | ( | LPCTSTR | lpsValueName, |
const ON_ClassArray< ON_wString > & | sValues | ||
) | const |
bool CRhinoUiRegistry::SetPointValue | ( | LPCTSTR | lpsValueName, |
CPoint | pt | ||
) | const |
bool CRhinoUiRegistry::SetRectValue | ( | LPCTSTR | lpsValueName, |
CRect | r | ||
) | const |
bool CRhinoUiRegistry::SetRGBValue | ( | LPCTSTR | lpsValueName, |
COLORREF | cr | ||
) | const |
bool CRhinoUiRegistry::SetSchemeName | ( | LPCTSTR | lpsScheme | ) |
bool CRhinoUiRegistry::SetSizeValue | ( | LPCTSTR | lpsValueName, |
CSize | sz | ||
) | const |
bool CRhinoUiRegistry::SetStringValue | ( | LPCTSTR | lpsValueName, |
LPCTSTR | lpsValue | ||
) | const |
bool CRhinoUiRegistry::SetStringValueA | ( | LPCTSTR | lpsValueName, |
const char * | lpsValue | ||
) | const |
bool CRhinoUiRegistry::SetStringValueW | ( | LPCTSTR | lpsValueName, |
const wchar_t * | lpsValue | ||
) | const |
bool CRhinoUiRegistry::SetUUIDValue | ( | LPCTSTR | lpsValueName, |
const UUID & | uuid | ||
) | const |
bool CRhinoUiRegistry::SetValue | ( | LPCTSTR | lpsValueName, |
DWORD | dwType, | ||
const LPBYTE | pData, | ||
DWORD | dwData | ||
) | const |
const CRhinoUiRegistryEnumValue* CRhinoUiRegistry::Value | ( | int | ) | const |
const CRhinoUiRegistryEnumValue* CRhinoUiRegistry::Value | ( | LPCTSTR | ) | const |
int CRhinoUiRegistry::ValueCount | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |