SAGA API
v9.6
|
#include "tool.h"
Go to the source code of this file.
Classes | |
class | CSG_Tool_Library |
class | CSG_Tool_Library_Manager |
Macros | |
#define | SG_RUN_TOOL(bRetVal, LIBRARY, TOOL, CONDITION) |
#define | SG_RUN_TOOL_ExitOnError(LIBRARY, TOOL, CONDITION) |
#define | SG_RUN_TOOL_KEEP_PARMS(bRetVal, LIBRARY, TOOL, PARMS, CONDITION) |
#define | SG_RUN_TOOL_KEEP_PARMS_ExitOnError(LIBRARY, TOOL, PARMS, CONDITION) |
#define | SG_TOOL_PARAMETER_SET(IDENTIFIER, VALUE) (pTool->Get_Parameters()->Get_Parameter(IDENTIFIER, true) && pTool->Set_Parameter(IDENTIFIER, VALUE)) |
#define | SG_TOOL_PARAMLIST_ADD(IDENTIFIER, VALUE) |
#define | SG_TOOL_SET_DATAOBJECT_LIST(IDENTIFIER, VALUE) |
Enumerations | |
enum | ESG_Library_Type { ESG_Library_Type::Library, ESG_Library_Type::Chain, ESG_Library_Type::Undefined } |
Functions | |
SAGA_API_DLL_EXPORT CSG_Tool_Library_Manager & | SG_Get_Tool_Library_Manager (void) |
The definitions needed for any SAGA tool library and the tool library management, including the SAGA API's default tool library manager.
Definition in file tool_library.h.
#define SG_RUN_TOOL | ( | bRetVal, | |
LIBRARY, | |||
TOOL, | |||
CONDITION | |||
) |
Definition at line 260 of file tool_library.h.
#define SG_RUN_TOOL_ExitOnError | ( | LIBRARY, | |
TOOL, | |||
CONDITION | |||
) |
Definition at line 293 of file tool_library.h.
#define SG_RUN_TOOL_KEEP_PARMS | ( | bRetVal, | |
LIBRARY, | |||
TOOL, | |||
PARMS, | |||
CONDITION | |||
) |
Definition at line 306 of file tool_library.h.
#define SG_RUN_TOOL_KEEP_PARMS_ExitOnError | ( | LIBRARY, | |
TOOL, | |||
PARMS, | |||
CONDITION | |||
) |
Definition at line 341 of file tool_library.h.
#define SG_TOOL_PARAMETER_SET | ( | IDENTIFIER, | |
VALUE | |||
) | (pTool->Get_Parameters()->Get_Parameter(IDENTIFIER, true) && pTool->Set_Parameter(IDENTIFIER, VALUE)) |
Definition at line 354 of file tool_library.h.
#define SG_TOOL_PARAMLIST_ADD | ( | IDENTIFIER, | |
VALUE | |||
) |
Definition at line 356 of file tool_library.h.
#define SG_TOOL_SET_DATAOBJECT_LIST | ( | IDENTIFIER, | |
VALUE | |||
) |
Definition at line 362 of file tool_library.h.
|
strong |
Enumerator | |
---|---|
Library | |
Chain | |
Undefined |
Definition at line 91 of file tool_library.h.
SAGA_API_DLL_EXPORT CSG_Tool_Library_Manager& SG_Get_Tool_Library_Manager | ( | void | ) |
Definition at line 286 of file tool_library.cpp.
References g_Tool_Library_Manager.
Referenced by CSG_Parameters_CRSPicker::Activate_GUI(), CSG_Tool_Library_Manager::Add_Default_Libraries(), CSG_Shapes::Create(), CSG_Table::Create(), CSG_Tool_Library_Manager::Create_Tool(), CSG_Parameters_CRSPicker::Deactivate_GUI(), CSG_Tool_Library_Manager::Get_Library(), CSG_Tool_Library_Manager::Get_Tool(), CSG_Projections::Parse(), SG_Get_Projected(), and SG_Initialize_Environment().