SAGA API
v9.6
|
#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_Array_Pointer::Add(), CSG_String::c_str(), CSG_String::Cmp(), Destroy(), CSG_String::Find(), CSG_String::Format(), Get_Count(), CSG_Tool::is_Interactive(), CSG_String::Length(), CSG_String::Printf(), CSG_String::Right(), SAGA_VERSION, CSG_Strings::Set_Count(), 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_Array_Pointer::Add(), CSG_String::Printf(), TLB_INFO_File, TLB_INFO_Library, TLB_INFO_Menu_Path, and TLB_INTERFACE_SKIP_TOOL.
Referenced by CSG_Tool_Library::Create_Tool().
bool CSG_Tool_Library_Interface::Delete_Tool | ( | CSG_Tool * | pTool | ) |
Definition at line 218 of file tool_library_interface.cpp.
References CSG_Array_Pointer::Del(), CSG_Array_Pointer::Get(), and CSG_Array_Pointer::Get_uSize().
Referenced by CSG_Tool_Library::Delete_Tool().
bool CSG_Tool_Library_Interface::Delete_Tools | ( | void | ) |
Definition at line 234 of file tool_library_interface.cpp.
References CSG_Array_Pointer::Destroy(), and CSG_Array_Pointer::Get_uSize().
Referenced by CSG_Tool_Library::Delete_Tools(), and Destroy().
bool CSG_Tool_Library_Interface::Destroy | ( | void | ) |
Definition at line 143 of file tool_library_interface.cpp.
References Delete_Tools(), CSG_Array_Pointer::Destroy(), and CSG_Array_Pointer::Get_uSize().
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.
References CSG_Array_Pointer::Get_Size().
Referenced by Create(), CSG_Tool_Library::CSG_Tool_Library(), and Get_Tool().
const CSG_String & CSG_Tool_Library_Interface::Get_Info | ( | int | ID | ) |
Definition at line 163 of file tool_library_interface.cpp.
Referenced by CSG_Tool_Library::CSG_Tool_Library(), and CSG_Tool_Library::Get_Info().
CSG_Tool * CSG_Tool_Library_Interface::Get_Tool | ( | int | i | ) |
Definition at line 180 of file tool_library_interface.cpp.
References Get_Count().
Referenced by CSG_Tool_Library::Get_Tool().