|
SAGA API Version 9.14
|
#include <wx/utils.h>#include <wx/app.h>#include <wx/dir.h>#include <wx/stdpaths.h>#include <wx/html/winpars.h>#include "api_core.h"#include "tool_library.h"Go to the source code of this file.
Functions | |
| void | SG_OMP_Set_Max_Num_Threads (int iCores) |
| int | SG_OMP_Get_Max_Num_Threads (void) |
| int | SG_OMP_Get_Max_Num_Procs (void) |
| int | SG_OMP_Get_Thread_Num (void) |
| CSG_String | SG_Data_Type_Get_Name (TSG_Data_Type Type, bool bShort) |
| CSG_String | SG_Data_Type_Get_Identifier (TSG_Data_Type Type) |
| TSG_Data_Type | SG_Data_Type_Get_Type (const CSG_String &Identifier) |
| int | SG_Data_Type_Get_Flag (TSG_Data_Type Type) |
| bool | SG_Data_Type_is_Numeric (TSG_Data_Type Type) |
| bool | SG_Data_Type_Range_Check (TSG_Data_Type Type, double &Value) |
| bool | SG_Get_Environment (const CSG_String &Variable, CSG_String *Value) |
| bool | SG_Set_Environment (const CSG_String &Variable, const CSG_String &Value) |
Variables | |
| static struct SSG_Environment | theEnvironment |
| int SG_Data_Type_Get_Flag | ( | TSG_Data_Type | Type | ) |
Definition at line 175 of file api_core.cpp.
References SG_DATATYPE_Binary, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, SG_DATATYPE_Word, SG_DATATYPES_Binary, SG_DATATYPES_Bit, SG_DATATYPES_Byte, SG_DATATYPES_Char, SG_DATATYPES_Color, SG_DATATYPES_Date, SG_DATATYPES_Double, SG_DATATYPES_DWord, SG_DATATYPES_Float, SG_DATATYPES_Int, SG_DATATYPES_Long, SG_DATATYPES_Short, SG_DATATYPES_String, SG_DATATYPES_ULong, SG_DATATYPES_Undefined, and SG_DATATYPES_Word.
| CSG_String SG_Data_Type_Get_Identifier | ( | TSG_Data_Type | Type | ) |
Definition at line 148 of file api_core.cpp.
References gSG_Data_Type_Identifier.
Referenced by CSG_Parameter_Data_Type::Set_Data_Types().
| CSG_String SG_Data_Type_Get_Name | ( | TSG_Data_Type | Type, |
| bool | bShort ) |
Definition at line 124 of file api_core.cpp.
References _TL, SG_DATATYPE_Binary, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, and SG_DATATYPE_Word.
Referenced by CSG_Parameter::Get_Description(), and SG_XML_Add_Parameter().
| TSG_Data_Type SG_Data_Type_Get_Type | ( | const CSG_String & | Identifier | ) |
Definition at line 154 of file api_core.cpp.
References CSG_String::Cmp(), gSG_Data_Type_Identifier, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, SG_DATATYPE_Undefined, and SG_DATATYPE_Word.
Referenced by CSG_Parameter_Fixed_Table::_Serialize(), CSG_Parameter_Data_Type::Get_Data_Type(), and CSG_Parameter_Data_Type::Set_Data_Type().
| bool SG_Data_Type_is_Numeric | ( | TSG_Data_Type | Type | ) |
Definition at line 199 of file api_core.cpp.
References SG_DATATYPE_Binary, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, and SG_DATATYPE_Word.
Referenced by CSG_Map_Symbology::_Histogram_Update(), CSG_PointCloud::Add_Shape(), CSG_Map_Shapes::Get_Class_Color(), CSG_Map_Symbology::Get_Class_Name_byValue(), CSG_Map_Layer::Get_Field_Value(), CSG_Table::is_Field_Numeric(), CSG_Table::Set_Field_Type(), and CSG_Map_Layer::Set_Fields_Choice().
| bool SG_Data_Type_Range_Check | ( | TSG_Data_Type | Type, |
| double & | Value ) |
Definition at line 225 of file api_core.cpp.
References SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Short, and SG_DATATYPE_Word.
| bool SG_Get_Environment | ( | const CSG_String & | Variable, |
| CSG_String * | Value ) |
Definition at line 688 of file api_core.cpp.
References CSG_Environment::Get_Variable().
| int SG_OMP_Get_Max_Num_Procs | ( | void | ) |
Definition at line 112 of file api_core.cpp.
Referenced by CSG_PointCloud::_On_Construction().
| int SG_OMP_Get_Max_Num_Threads | ( | void | ) |
Definition at line 111 of file api_core.cpp.
| int SG_OMP_Get_Thread_Num | ( | void | ) |
Definition at line 113 of file api_core.cpp.
| void SG_OMP_Set_Max_Num_Threads | ( | int | iCores | ) |
Definition at line 110 of file api_core.cpp.
| bool SG_Set_Environment | ( | const CSG_String & | Variable, |
| const CSG_String & | Value ) |
Definition at line 689 of file api_core.cpp.
References CSG_Environment::Set_Variable().
|
static |
Referenced by CSG_Environment::Get_API_Path(), CSG_Environment::Get_Application_Name(), CSG_Environment::Get_Application_Path(), CSG_Environment::Get_Option(), CSG_Environment::Initialize(), CSG_Environment::Set_API_Path(), CSG_Environment::Set_Application_Name(), CSG_Environment::Set_Option(), and CSG_Environment::Uninitialize().