|
SAGA API Version 9.14
|
#include "api_config.h"#include <wx/wx.h>#include <wx/config.h>#include <wx/utils.h>#include <wx/colour.h>Go to the source code of this file.
Functions | |
| bool | SG_Config_Do_Save (bool bOn) |
| bool | SG_Config_Flush (void) |
| bool | SG_Config_Read (const CSG_String &Group, const CSG_String &Entry, CSG_String &Value) |
| bool | SG_Config_Read (const CSG_String &Group, const CSG_String &Entry, long &Value) |
| bool | SG_Config_Read (const CSG_String &Group, const CSG_String &Entry, double &Value) |
| bool | SG_Config_Read (const CSG_String &Group, const CSG_String &Entry, bool &Value) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_String &Entry, const CSG_String &Value) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_String &Entry, const char *Value) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_String &Entry, const wchar_t *Value) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_String &Entry, long Value) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_String &Entry, double Value) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_String &Entry, bool Value) |
| bool | SG_Config_Delete (const CSG_String &Group) |
| bool | SG_Config_Delete (const CSG_String &Group, const CSG_String &Entry) |
| bool | SG_Config_Read (CSG_Parameter *pParameter) |
| bool | SG_Config_Read (const CSG_String &Group, CSG_Parameters &Parameters) |
| bool | SG_Config_Write (CSG_Parameter *pParameter) |
| bool | SG_Config_Write (const CSG_String &Group, const CSG_Parameters &Parameters) |
Variables | |
| static bool | SG_Config_bSave = true |
| bool SG_Config_Delete | ( | const CSG_String & | Group | ) |
Definition at line 204 of file api_config.cpp.
References SG_Config_bSave, and CSG_String::wx_str().
| bool SG_Config_Delete | ( | const CSG_String & | Group, |
| const CSG_String & | Entry ) |
Definition at line 218 of file api_config.cpp.
References CSG_String::c_str(), SG_Config_bSave, and CSG_String::wx_str().
| bool SG_Config_Do_Save | ( | bool | bOn | ) |
Definition at line 72 of file api_config.cpp.
References SG_Config_bSave.
| bool SG_Config_Flush | ( | void | ) |
Definition at line 88 of file api_config.cpp.
| bool SG_Config_Read | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| bool & | Value ) |
Definition at line 124 of file api_config.cpp.
References CSG_String::c_str(), and CSG_String::wx_str().
| bool SG_Config_Read | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| CSG_String & | Value ) |
Definition at line 94 of file api_config.cpp.
References CSG_String::c_str(), and CSG_String::wx_str().
Referenced by SG_Config_Read(), and SG_Config_Read().
| bool SG_Config_Read | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| double & | Value ) |
Definition at line 114 of file api_config.cpp.
References CSG_String::c_str(), and CSG_String::wx_str().
| bool SG_Config_Read | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| long & | Value ) |
Definition at line 104 of file api_config.cpp.
References CSG_String::c_str(), and CSG_String::wx_str().
| bool SG_Config_Read | ( | const CSG_String & | Group, |
| CSG_Parameters & | Parameters ) |
Definition at line 283 of file api_config.cpp.
References CSG_String::c_str(), CSG_Parameters::Get_Count(), and SG_Config_Read().
| bool SG_Config_Read | ( | CSG_Parameter * | pParameter | ) |
Definition at line 233 of file api_config.cpp.
References CSG_Parameter::asColors(), CSG_Parameter::asParameters(), CSG_Parameter::asRange(), CSG_Colors::from_Text(), CSG_Parameter::Get_Identifier(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Bool, PARAMETER_TYPE_Choice, PARAMETER_TYPE_Choices, PARAMETER_TYPE_Color, PARAMETER_TYPE_Colors, PARAMETER_TYPE_Data_Type, PARAMETER_TYPE_Date, PARAMETER_TYPE_Degree, PARAMETER_TYPE_Double, PARAMETER_TYPE_FilePath, PARAMETER_TYPE_Font, PARAMETER_TYPE_Int, PARAMETER_TYPE_Parameters, PARAMETER_TYPE_Range, PARAMETER_TYPE_String, PARAMETER_TYPE_Text, CSG_Parameter_Range::Set_Max(), CSG_Parameter_Range::Set_Min(), CSG_Parameter::Set_Value(), SG_Char, SG_Config_Read(), and CSG_String::wx_str().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_Parameters & | Parameters ) |
Definition at line 357 of file api_config.cpp.
References CSG_String::c_str(), CSG_Parameters::Get_Count(), SG_Config_bSave, and SG_Config_Write().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| bool | Value ) |
Definition at line 189 of file api_config.cpp.
References CSG_String::c_str(), SG_Config_bSave, and CSG_String::wx_str().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| const char * | Value ) |
Definition at line 148 of file api_config.cpp.
References SG_Config_Write().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| const CSG_String & | Value ) |
Definition at line 134 of file api_config.cpp.
References CSG_String::c_str(), SG_Config_bSave, and CSG_String::wx_str().
Referenced by SG_Config_Write(), SG_Config_Write(), SG_Config_Write(), and SG_Config_Write().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| const wchar_t * | Value ) |
Definition at line 153 of file api_config.cpp.
References SG_Config_Write().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| double | Value ) |
Definition at line 174 of file api_config.cpp.
References CSG_String::c_str(), SG_Config_bSave, and CSG_String::wx_str().
| bool SG_Config_Write | ( | const CSG_String & | Group, |
| const CSG_String & | Entry, | ||
| long | Value ) |
Definition at line 159 of file api_config.cpp.
References CSG_String::c_str(), SG_Config_bSave, and CSG_String::wx_str().
| bool SG_Config_Write | ( | CSG_Parameter * | pParameter | ) |
Definition at line 298 of file api_config.cpp.
References CSG_Parameter::asColors(), CSG_Parameter::asDouble(), CSG_Parameter::asInt(), CSG_Parameter::asParameters(), CSG_Parameter::asPointer(), CSG_Parameter::asRange(), CSG_Parameter::asString(), CSG_String::c_str(), CSG_Parameter::Get_Identifier(), CSG_Parameter_Range::Get_Max(), CSG_Parameter_Range::Get_Min(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Bool, PARAMETER_TYPE_Choice, PARAMETER_TYPE_Choices, PARAMETER_TYPE_Color, PARAMETER_TYPE_Colors, PARAMETER_TYPE_Data_Type, PARAMETER_TYPE_Date, PARAMETER_TYPE_Degree, PARAMETER_TYPE_Double, PARAMETER_TYPE_FilePath, PARAMETER_TYPE_Font, PARAMETER_TYPE_Int, PARAMETER_TYPE_Parameters, PARAMETER_TYPE_Range, PARAMETER_TYPE_String, PARAMETER_TYPE_Text, SG_Char, SG_Config_bSave, SG_Config_Write(), CSG_Colors::to_Text(), and CSG_String::wx_str().
|
static |
Definition at line 69 of file api_config.cpp.
Referenced by SG_Config_Delete(), SG_Config_Delete(), SG_Config_Do_Save(), SG_Config_Write(), SG_Config_Write(), SG_Config_Write(), SG_Config_Write(), SG_Config_Write(), and SG_Config_Write().