SAGA API Version 9.14
Loading...
Searching...
No Matches
api_config.cpp File Reference
#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

Function Documentation

◆ SG_Config_Delete() [1/2]

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().

◆ SG_Config_Delete() [2/2]

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().

◆ SG_Config_Do_Save()

bool SG_Config_Do_Save ( bool bOn)

Definition at line 72 of file api_config.cpp.

References SG_Config_bSave.

◆ SG_Config_Flush()

bool SG_Config_Flush ( void )

Definition at line 88 of file api_config.cpp.

◆ SG_Config_Read() [1/6]

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().

◆ SG_Config_Read() [2/6]

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().

◆ SG_Config_Read() [3/6]

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().

◆ SG_Config_Read() [4/6]

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().

◆ SG_Config_Read() [5/6]

bool SG_Config_Read ( const CSG_String & Group,
CSG_Parameters & Parameters )

◆ SG_Config_Read() [6/6]

◆ SG_Config_Write() [1/8]

bool SG_Config_Write ( const CSG_String & Group,
const CSG_Parameters & Parameters )

◆ SG_Config_Write() [2/8]

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().

◆ SG_Config_Write() [3/8]

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().

◆ SG_Config_Write() [4/8]

bool SG_Config_Write ( const CSG_String & Group,
const CSG_String & Entry,
const CSG_String & Value )

◆ SG_Config_Write() [5/8]

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().

◆ SG_Config_Write() [6/8]

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().

◆ SG_Config_Write() [7/8]

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().

◆ SG_Config_Write() [8/8]

Variable Documentation

◆ SG_Config_bSave