|
SAGA API v9.10
|
#include <tool.h>
Public Member Functions | |
| CSG_Tool_Library_Interface (void) | |
| virtual | ~CSG_Tool_Library_Interface (void) |
| bool | Create (const CSG_String &Version, const CSG_String &TLB_Path, TSG_PFNC_TLB_Get_Info Fnc_Info, TSG_PFNC_TLB_Create_Tool Fnc_Create_Tool) |
| bool | Destroy (void) |
| const CSG_String & | Get_Info (int ID) |
| int | Get_Count (void) |
| CSG_Tool * | Get_Tool (int i) |
| CSG_Tool * | Create_Tool (int i, bool bWithGUI=false, bool bWithCMD=true) |
| bool | Delete_Tool (CSG_Tool *pTool) |
| bool | Delete_Tools (void) |
| CSG_Tool_Library_Interface::CSG_Tool_Library_Interface | ( | void | ) |
Definition at line 63 of file tool_library_interface.cpp.
|
virtual |
Definition at line 69 of file tool_library_interface.cpp.
References Destroy().
| bool CSG_Tool_Library_Interface::Create | ( | const CSG_String & | Version, |
| const CSG_String & | TLB_Path, | ||
| TSG_PFNC_TLB_Get_Info | Fnc_Info, | ||
| TSG_PFNC_TLB_Create_Tool | Fnc_Create_Tool ) |
Definition at line 80 of file tool_library_interface.cpp.
References _TL, CSG_String::c_str(), CSG_String::Cmp(), Destroy(), CSG_String::Format(), Get_Count(), CSG_Tool::is_Interactive(), Library, CSG_String::Printf(), SAGA_VERSION, SG_File_Get_Name(), SG_File_Get_Path_Absolute(), SG_UI_Get_Application_Name(), SG_UI_Msg_Add_Error(), TLB_INFO_Count, TLB_INFO_File, TLB_INFO_Library, TLB_INFO_Menu_Path, TLB_INFO_SAGA_Version, TLB_INFO_User, and TLB_INTERFACE_SKIP_TOOL.
| CSG_Tool * CSG_Tool_Library_Interface::Create_Tool | ( | int | i, |
| bool | bWithGUI = false, | ||
| bool | bWithCMD = true ) |
Definition at line 196 of file tool_library_interface.cpp.
References CSG_String::Printf(), TLB_INFO_File, TLB_INFO_Library, TLB_INFO_Menu_Path, and TLB_INTERFACE_SKIP_TOOL.
| bool CSG_Tool_Library_Interface::Delete_Tool | ( | CSG_Tool * | pTool | ) |
Definition at line 218 of file tool_library_interface.cpp.
| bool CSG_Tool_Library_Interface::Delete_Tools | ( | void | ) |
Definition at line 234 of file tool_library_interface.cpp.
Referenced by Destroy().
| bool CSG_Tool_Library_Interface::Destroy | ( | void | ) |
Definition at line 143 of file tool_library_interface.cpp.
References Delete_Tools().
Referenced by Create(), and ~CSG_Tool_Library_Interface().
| int CSG_Tool_Library_Interface::Get_Count | ( | void | ) |
Definition at line 174 of file tool_library_interface.cpp.
Referenced by Create(), and Get_Tool().
| const CSG_String & CSG_Tool_Library_Interface::Get_Info | ( | int | ID | ) |
Definition at line 163 of file tool_library_interface.cpp.
| CSG_Tool * CSG_Tool_Library_Interface::Get_Tool | ( | int | i | ) |
Definition at line 180 of file tool_library_interface.cpp.
References Get_Count().