![]() |
SAGA API v9.10
|
#include <tool_chain.h>
Public Member Functions | |
virtual ESG_Library_Type | Get_Type (void) const |
virtual CSG_String | Get_Info (int Type) const |
bool | Add_Tool (CSG_Tool_Chain *pTool) |
virtual int | Get_Count (void) const |
virtual CSG_Tool * | Get_Tool (int Index, TSG_Tool_Type Type=TOOL_TYPE_Base) const |
virtual CSG_Tool * | Create_Tool (const CSG_String &Name, bool bWithGUI=false, bool bWithCMD=true) |
virtual bool | Delete_Tool (CSG_Tool *pTool) |
virtual bool | Delete_Tools (void) |
virtual CSG_String | Get_File_Name (int Index) const |
Public Member Functions inherited from CSG_Tool_Library | |
bool | is_Valid (void) const |
const CSG_String & | Get_File_Name (void) const |
const CSG_String & | Get_Library_Name (void) const |
CSG_String | Get_Name (void) const |
CSG_String | Get_Description (void) const |
CSG_String | Get_Author (void) const |
CSG_String | Get_Version (void) const |
CSG_String | Get_Menu (void) const |
CSG_String | Get_Category (void) const |
CSG_String | Get_Summary (int Format=SG_SUMMARY_FMT_HTML, bool bInteractive=true) const |
bool | Get_Summary (const CSG_String &Path) const |
virtual CSG_Tool * | Get_Tool (const CSG_String &Name, TSG_Tool_Type Type=TOOL_TYPE_Base) const |
virtual CSG_Tool * | Get_Tool (const char *Name, TSG_Tool_Type Type=TOOL_TYPE_Base) const |
virtual CSG_Tool * | Get_Tool (const wchar_t *Name, TSG_Tool_Type Type=TOOL_TYPE_Base) const |
virtual CSG_Tool * | Create_Tool (int Index, bool bWithGUI=false, bool bWithCMD=true) |
virtual CSG_Tool * | Create_Tool (const char *Name, bool bWithGUI=false, bool bWithCMD=true) |
virtual CSG_Tool * | Create_Tool (const wchar_t *Name, bool bWithGUI=false, bool bWithCMD=true) |
virtual CSG_String | Get_Menu (int i) const |
void | Add_Reference (const CSG_String &Authors, const CSG_String &Year, const CSG_String &Title, const CSG_String &Where, const SG_Char *Link=NULL, const SG_Char *Link_Text=NULL) |
void | Add_Reference (const CSG_String &Link, const SG_Char *Link_Text=NULL) |
void | Del_References (void) |
const CSG_Strings & | Get_References (void) const |
Protected Member Functions | |
CSG_Tool_Chains (const CSG_String &Library_Name, const CSG_String &Path) | |
virtual | ~CSG_Tool_Chains (void) |
Protected Member Functions inherited from CSG_Tool_Library | |
CSG_Tool_Library (void) | |
CSG_Tool_Library (const CSG_String &File) | |
virtual | ~CSG_Tool_Library (void) |
Friends | |
class | CSG_Tool_Library_Manager |
Additional Inherited Members | |
Protected Attributes inherited from CSG_Tool_Library | |
CSG_String | m_File_Name |
CSG_String | m_Library_Name |
Definition at line 173 of file tool_chain.h.
|
protected |
Definition at line 2007 of file tool_chain.cpp.
References _TL, CSG_Tool_Library::Add_Reference(), CSG_String::c_str(), CSG_MetaData::Cmp_Name(), CSG_MetaData::Destroy(), CSG_MetaData::Get_Children_Count(), CSG_MetaData::Get_Content(), CSG_Tool_Library::Get_Name(), GET_XML_CONTENT, CSG_String::is_Empty(), CSG_Tool_Library::m_Library_Name, and SG_File_Make_Path().
|
protectedvirtual |
Definition at line 2071 of file tool_chain.cpp.
References Delete_Tools().
bool CSG_Tool_Chains::Add_Tool | ( | CSG_Tool_Chain * | pTool | ) |
Definition at line 2101 of file tool_chain.cpp.
References Get_Info(), CSG_Tool_Chain::Set_Library_Menu(), and TLB_INFO_Menu_Path.
|
virtual |
Reimplemented from CSG_Tool_Library.
Definition at line 2124 of file tool_chain.cpp.
References CSG_Tool_Library::Get_Tool(), CSG_Tool::Get_Type(), and TOOL_TYPE_Chain.
|
virtual |
Deletes a tool that has been created previously with a call to the 'Create_Tool()' function.
Reimplemented from CSG_Tool_Library.
Definition at line 2139 of file tool_chain.cpp.
|
virtual |
Reimplemented from CSG_Tool_Library.
Definition at line 2152 of file tool_chain.cpp.
Referenced by ~CSG_Tool_Chains().
|
inlinevirtual |
Reimplemented from CSG_Tool_Library.
Definition at line 185 of file tool_chain.h.
Referenced by Get_File_Name(), and Get_Tool().
|
inlinevirtual |
Reimplemented from CSG_Tool_Library.
Definition at line 193 of file tool_chain.h.
References Get_Count(), and Get_File_Name().
Referenced by Get_File_Name().
|
virtual |
Reimplemented from CSG_Tool_Library.
Definition at line 2087 of file tool_chain.cpp.
References _TL, TLB_INFO_Category, TLB_INFO_Description, TLB_INFO_Menu_Path, and TLB_INFO_Name.
Referenced by Add_Tool().
|
virtual |
Reimplemented from CSG_Tool_Library.
Definition at line 2111 of file tool_chain.cpp.
References Get_Count(), CSG_Tool::Get_Type(), and TOOL_TYPE_Base.
|
inlinevirtual |
|
friend |
Definition at line 175 of file tool_chain.h.
References CSG_Tool_Library_Manager.
Referenced by CSG_Tool_Library_Manager.