| Rhino C++ API
    8.24
    | 
#include <RhinoSdkPersistentSettings.h>
| Public Member Functions | |
| ~CRhinoSettings () | |
| CRhinoSettings * | AddChild (const wchar_t *key) | 
| const ON_UUID & | CommandId () const | 
| bool | DeleteChild (const wchar_t *key) | 
| bool | DeleteItem (const wchar_t *key) | 
| bool | Get3dPoint (const wchar_t *key, ON_3dPoint &value) const | 
| bool | Get3dPoint (const wchar_t *key, ON_3dPoint &value, const ON_3dPoint &defaultValue) const | 
| bool | Get3dVector (const wchar_t *key, ON_3dVector &value) const | 
| bool | Get3dVector (const wchar_t *key, ON_3dVector &value, const ON_3dVector &defaultValue) const | 
| bool | GetBool (const wchar_t *key, bool &value) const | 
| bool | GetBool (const wchar_t *key, bool &value, bool defaultValue) const | 
| CRhinoSettings * | GetChild (const wchar_t *key) const | 
| int | GetChildKeys (ON_ClassArray< ON_wString > &keys) const | 
| bool | GetColor (const wchar_t *key, ON_Color &value) const | 
| bool | GetColor (const wchar_t *key, ON_Color &value, const ON_Color &defaultValue) const | 
| bool | GetDouble (const wchar_t *key, double &value) const | 
| bool | GetDouble (const wchar_t *key, double &value, double defaultValue) const | 
| bool | GetFloat (const wchar_t *key, float &value) const | 
| bool | GetFloat (const wchar_t *key, float &value, float defaultValue) const | 
| bool | GetHideFromUserInterface (const wchar_t *key, bool &value) const | 
| bool | GetInteger (const wchar_t *key, int &value, const wchar_t *const *legacyKeyList=NULL, int count=0) const | 
| bool | GetInteger (const wchar_t *key, int &value, int defaultValue, const wchar_t *const *legacyKeyList=NULL, int count=0) const | 
| bool | GetInteger (const wchar_t *key, int &value, int defaultValue, int bound, bool boundIsLower) const | 
| bool | GetInteger (const wchar_t *key, int &value, int defaultValue, int lowerBound, int upperBound) const | 
| bool | GetInteger (const wchar_t *key, unsigned int &value) const | 
| bool | GetInteger (const wchar_t *key, unsigned int &value, unsigned int defaultValue) const | 
| int | GetKeys (ON_ClassArray< ON_wString > &keys) const | 
| bool | GetPoint (const wchar_t *key, POINT &value) const | 
| bool | GetPoint (const wchar_t *key, POINT &value, const POINT &defaultValue) const | 
| bool | GetRect (const wchar_t *key, ON_4iRect &value) const | 
| bool | GetRect (const wchar_t *key, ON_4iRect &value, const ON_4iRect &defaultValue) const | 
| bool | GetRect (const wchar_t *key, RECT &value) const | 
| bool | GetRect (const wchar_t *key, RECT &value, const RECT &defaultValue) const | 
| bool | GetSize (const wchar_t *key, SIZE &value) const | 
| bool | GetSize (const wchar_t *key, SIZE &value, const SIZE &defaultValue) const | 
| bool | GetString (const wchar_t *key, ON_wString &value) const | 
| bool | GetString (const wchar_t *key, ON_wString &value, const wchar_t *defaultValue) const | 
| bool | GetStringDictionary (const wchar_t *key, CRhinoStringDictionary &value) const | 
| bool | GetStringDictionary (const wchar_t *key, CRhinoStringDictionary &value, const CRhinoStringDictionary &defaultValue) const | 
| bool | GetStringList (const wchar_t *key, ON_ClassArray< ON_wString > &value) const | 
| bool | GetStringList (const wchar_t *key, ON_ClassArray< ON_wString > &value, const ON_ClassArray< ON_wString > &defaultValue) const | 
| bool | GetUuid (const wchar_t *key, ON_UUID &value) const | 
| bool | GetUuid (const wchar_t *key, ON_UUID &value, const ON_UUID &defaultValue) const | 
| bool | HiddenFromUserInterface () const | 
| bool | HideFromUserInterface (bool hide) | 
| const wchar_t * | Name () const | 
| const ON_UUID & | PlugInId () const | 
| bool | Set3dPoint (const wchar_t *key, const ON_3dPoint &value) | 
| bool | Set3dVector (const wchar_t *key, const ON_3dVector &value) | 
| bool | SetBool (const wchar_t *key, bool value) | 
| bool | SetColor (const wchar_t *key, const ON_Color &value) | 
| bool | SetDefaultBool (const wchar_t *key, bool value) | 
| bool | SetDefaultColor (const wchar_t *key, const ON_Color &value) | 
| bool | SetDefaultDouble (const wchar_t *key, double value) | 
| bool | SetDefaultFloat (const wchar_t *key, float value) | 
| bool | SetDefaultInteger (const wchar_t *key, int value) | 
| bool | SetDefaultInteger (const wchar_t *key, unsigned int value) | 
| bool | SetDefaultPoint (const wchar_t *key, const POINT &value) | 
| bool | SetDefaultRect (const wchar_t *key, const RECT &value) | 
| bool | SetDefaultSize (const wchar_t *key, const SIZE &value) | 
| bool | SetDefaultString (const wchar_t *key, const wchar_t *value) | 
| bool | SetDefaultStringDictionary (const wchar_t *key, const CRhinoStringDictionary &value) | 
| bool | SetDefaultStringList (const wchar_t *key, const ON_ClassArray< ON_wString > &value) | 
| bool | SetDefaultUuid (const wchar_t *key, const ON_UUID &value) | 
| bool | SetDouble (const wchar_t *key, double value) | 
| bool | SetFloat (const wchar_t *key, float value) | 
| bool | SetHideFromUserInterface (const wchar_t *key, bool value) | 
| bool | SetInteger (const wchar_t *key, int value) | 
| bool | SetInteger (const wchar_t *key, unsigned int value) | 
| bool | SetPoint (const wchar_t *key, const POINT &value) | 
| bool | SetRect (const wchar_t *key, const ON_4iRect &value) | 
| bool | SetRect (const wchar_t *key, const RECT &value) | 
| bool | SetSize (const wchar_t *key, const SIZE &value) | 
| bool | SetString (const wchar_t *key, const wchar_t *value) | 
| bool | SetStringDictionary (const wchar_t *key, const CRhinoStringDictionary &value) | 
| bool | SetStringList (const wchar_t *key, const ON_ClassArray< ON_wString > &value) | 
| bool | SetUuid (const wchar_t *key, const ON_UUID &value) | 
| Static Public Member Functions | |
| static CRhinoSettings * | GetPlugInSettings (const ON_UUID &plugInId, bool forcePlugInToLoad) | 
| Protected Member Functions | |
| CRhinoSettings (ON_UUID plugInId, unsigned int pointerId, const ON_UUID &commandId, const wchar_t *englishCommandName) | |
| Protected Attributes | |
| ON_SimpleArray< CRhinoSettings * > | m_children | 
| ON_UUID | m_command_id | 
| ON_wString | m_english_command_name | 
| ON_UUID | m_plug_in_id | 
| unsigned int | m_pointer_id | 
| Friends | |
| class | CRhinoCommand | 
| class | CRhPlugInSettings | 
| class | CRhSettingsHooks | 
| 
 | protected | 
| CRhinoSettings::~CRhinoSettings | ( | ) | 
| CRhinoSettings* CRhinoSettings::AddChild | ( | const wchar_t * | key | ) | 
| 
 | inline | 
| bool CRhinoSettings::DeleteChild | ( | const wchar_t * | key | ) | 
| bool CRhinoSettings::DeleteItem | ( | const wchar_t * | key | ) | 
| bool CRhinoSettings::Get3dPoint | ( | const wchar_t * | key, | 
| ON_3dPoint & | value | ||
| ) | const | 
| bool CRhinoSettings::Get3dPoint | ( | const wchar_t * | key, | 
| ON_3dPoint & | value, | ||
| const ON_3dPoint & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::Get3dVector | ( | const wchar_t * | key, | 
| ON_3dVector & | value | ||
| ) | const | 
| bool CRhinoSettings::Get3dVector | ( | const wchar_t * | key, | 
| ON_3dVector & | value, | ||
| const ON_3dVector & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetBool | ( | const wchar_t * | key, | 
| bool & | value | ||
| ) | const | 
| bool CRhinoSettings::GetBool | ( | const wchar_t * | key, | 
| bool & | value, | ||
| bool | defaultValue | ||
| ) | const | 
| CRhinoSettings* CRhinoSettings::GetChild | ( | const wchar_t * | key | ) | const | 
| int CRhinoSettings::GetChildKeys | ( | ON_ClassArray< ON_wString > & | keys | ) | const | 
| bool CRhinoSettings::GetColor | ( | const wchar_t * | key, | 
| ON_Color & | value | ||
| ) | const | 
| bool CRhinoSettings::GetColor | ( | const wchar_t * | key, | 
| ON_Color & | value, | ||
| const ON_Color & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetDouble | ( | const wchar_t * | key, | 
| double & | value | ||
| ) | const | 
| bool CRhinoSettings::GetDouble | ( | const wchar_t * | key, | 
| double & | value, | ||
| double | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetFloat | ( | const wchar_t * | key, | 
| float & | value | ||
| ) | const | 
| bool CRhinoSettings::GetFloat | ( | const wchar_t * | key, | 
| float & | value, | ||
| float | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetHideFromUserInterface | ( | const wchar_t * | key, | 
| bool & | value | ||
| ) | const | 
| bool CRhinoSettings::GetInteger | ( | const wchar_t * | key, | 
| int & | value, | ||
| const wchar_t *const * | legacyKeyList = NULL, | ||
| int | count = 0 | ||
| ) | const | 
| bool CRhinoSettings::GetInteger | ( | const wchar_t * | key, | 
| int & | value, | ||
| int | defaultValue, | ||
| const wchar_t *const * | legacyKeyList = NULL, | ||
| int | count = 0 | ||
| ) | const | 
| bool CRhinoSettings::GetInteger | ( | const wchar_t * | key, | 
| int & | value, | ||
| int | defaultValue, | ||
| int | bound, | ||
| bool | boundIsLower | ||
| ) | const | 
| bool CRhinoSettings::GetInteger | ( | const wchar_t * | key, | 
| int & | value, | ||
| int | defaultValue, | ||
| int | lowerBound, | ||
| int | upperBound | ||
| ) | const | 
| bool CRhinoSettings::GetInteger | ( | const wchar_t * | key, | 
| unsigned int & | value | ||
| ) | const | 
| bool CRhinoSettings::GetInteger | ( | const wchar_t * | key, | 
| unsigned int & | value, | ||
| unsigned int | defaultValue | ||
| ) | const | 
| int CRhinoSettings::GetKeys | ( | ON_ClassArray< ON_wString > & | keys | ) | const | 
| 
 | static | 
Description: Get settings associated with a plug-in Parameters: plugInId [in] Id of the plug-in to get settings from forcePlugInToLoad [in] Only used if the plug-in is not currently loaded, if it is not currently loaded and this is set to true then the plug-in will load and its settings returned, if this is false and the plug-in is not loaded NULL will be returned. Returns: Returns a pointer to a settings class if the plug-in is loaded otherwise returns NULL.
| bool CRhinoSettings::GetPoint | ( | const wchar_t * | key, | 
| POINT & | value | ||
| ) | const | 
| bool CRhinoSettings::GetPoint | ( | const wchar_t * | key, | 
| POINT & | value, | ||
| const POINT & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetRect | ( | const wchar_t * | key, | 
| ON_4iRect & | value | ||
| ) | const | 
| bool CRhinoSettings::GetRect | ( | const wchar_t * | key, | 
| ON_4iRect & | value, | ||
| const ON_4iRect & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetRect | ( | const wchar_t * | key, | 
| RECT & | value | ||
| ) | const | 
| bool CRhinoSettings::GetSize | ( | const wchar_t * | key, | 
| SIZE & | value | ||
| ) | const | 
| bool CRhinoSettings::GetString | ( | const wchar_t * | key, | 
| ON_wString & | value | ||
| ) | const | 
| bool CRhinoSettings::GetString | ( | const wchar_t * | key, | 
| ON_wString & | value, | ||
| const wchar_t * | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetStringDictionary | ( | const wchar_t * | key, | 
| CRhinoStringDictionary & | value | ||
| ) | const | 
| bool CRhinoSettings::GetStringDictionary | ( | const wchar_t * | key, | 
| CRhinoStringDictionary & | value, | ||
| const CRhinoStringDictionary & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetStringList | ( | const wchar_t * | key, | 
| ON_ClassArray< ON_wString > & | value | ||
| ) | const | 
| bool CRhinoSettings::GetStringList | ( | const wchar_t * | key, | 
| ON_ClassArray< ON_wString > & | value, | ||
| const ON_ClassArray< ON_wString > & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::GetUuid | ( | const wchar_t * | key, | 
| ON_UUID & | value | ||
| ) | const | 
| bool CRhinoSettings::GetUuid | ( | const wchar_t * | key, | 
| ON_UUID & | value, | ||
| const ON_UUID & | defaultValue | ||
| ) | const | 
| bool CRhinoSettings::HiddenFromUserInterface | ( | ) | const | 
| bool CRhinoSettings::HideFromUserInterface | ( | bool | hide | ) | 
| 
 | inline | 
| 
 | inline | 
| bool CRhinoSettings::Set3dPoint | ( | const wchar_t * | key, | 
| const ON_3dPoint & | value | ||
| ) | 
| bool CRhinoSettings::Set3dVector | ( | const wchar_t * | key, | 
| const ON_3dVector & | value | ||
| ) | 
| bool CRhinoSettings::SetBool | ( | const wchar_t * | key, | 
| bool | value | ||
| ) | 
| bool CRhinoSettings::SetColor | ( | const wchar_t * | key, | 
| const ON_Color & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultBool | ( | const wchar_t * | key, | 
| bool | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultColor | ( | const wchar_t * | key, | 
| const ON_Color & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultDouble | ( | const wchar_t * | key, | 
| double | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultFloat | ( | const wchar_t * | key, | 
| float | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultInteger | ( | const wchar_t * | key, | 
| int | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultInteger | ( | const wchar_t * | key, | 
| unsigned int | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultPoint | ( | const wchar_t * | key, | 
| const POINT & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultRect | ( | const wchar_t * | key, | 
| const RECT & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultSize | ( | const wchar_t * | key, | 
| const SIZE & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultString | ( | const wchar_t * | key, | 
| const wchar_t * | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultStringDictionary | ( | const wchar_t * | key, | 
| const CRhinoStringDictionary & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultStringList | ( | const wchar_t * | key, | 
| const ON_ClassArray< ON_wString > & | value | ||
| ) | 
| bool CRhinoSettings::SetDefaultUuid | ( | const wchar_t * | key, | 
| const ON_UUID & | value | ||
| ) | 
| bool CRhinoSettings::SetDouble | ( | const wchar_t * | key, | 
| double | value | ||
| ) | 
| bool CRhinoSettings::SetFloat | ( | const wchar_t * | key, | 
| float | value | ||
| ) | 
| bool CRhinoSettings::SetHideFromUserInterface | ( | const wchar_t * | key, | 
| bool | value | ||
| ) | 
| bool CRhinoSettings::SetInteger | ( | const wchar_t * | key, | 
| int | value | ||
| ) | 
| bool CRhinoSettings::SetInteger | ( | const wchar_t * | key, | 
| unsigned int | value | ||
| ) | 
| bool CRhinoSettings::SetPoint | ( | const wchar_t * | key, | 
| const POINT & | value | ||
| ) | 
| bool CRhinoSettings::SetRect | ( | const wchar_t * | key, | 
| const ON_4iRect & | value | ||
| ) | 
| bool CRhinoSettings::SetRect | ( | const wchar_t * | key, | 
| const RECT & | value | ||
| ) | 
| bool CRhinoSettings::SetSize | ( | const wchar_t * | key, | 
| const SIZE & | value | ||
| ) | 
| bool CRhinoSettings::SetString | ( | const wchar_t * | key, | 
| const wchar_t * | value | ||
| ) | 
| bool CRhinoSettings::SetStringDictionary | ( | const wchar_t * | key, | 
| const CRhinoStringDictionary & | value | ||
| ) | 
| bool CRhinoSettings::SetStringList | ( | const wchar_t * | key, | 
| const ON_ClassArray< ON_wString > & | value | ||
| ) | 
| bool CRhinoSettings::SetUuid | ( | const wchar_t * | key, | 
| const ON_UUID & | value | ||
| ) | 
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
 1.8.17
 1.8.17