SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Tool_Chains Class Reference

#include <tool_chain.h>

Inheritance diagram for CSG_Tool_Chains:
CSG_Tool_Library

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_ToolGet_Tool (int Index, TSG_Tool_Type Type=TOOL_TYPE_Base) const
virtual CSG_ToolCreate_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_StringGet_File_Name (void) const
const CSG_StringGet_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_ToolGet_Tool (const CSG_String &Name, TSG_Tool_Type Type=TOOL_TYPE_Base) const
virtual CSG_ToolGet_Tool (const char *Name, TSG_Tool_Type Type=TOOL_TYPE_Base) const
virtual CSG_ToolGet_Tool (const wchar_t *Name, TSG_Tool_Type Type=TOOL_TYPE_Base) const
virtual CSG_ToolCreate_Tool (int Index, bool bWithGUI=false, bool bWithCMD=true)
virtual CSG_ToolCreate_Tool (const char *Name, bool bWithGUI=false, bool bWithCMD=true)
virtual CSG_ToolCreate_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_StringsGet_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

Detailed Description

Definition at line 173 of file tool_chain.h.

Constructor & Destructor Documentation

◆ CSG_Tool_Chains()

◆ ~CSG_Tool_Chains()

CSG_Tool_Chains::~CSG_Tool_Chains ( void )
protectedvirtual

Definition at line 2071 of file tool_chain.cpp.

References Delete_Tools().

Member Function Documentation

◆ Add_Tool()

bool CSG_Tool_Chains::Add_Tool ( CSG_Tool_Chain * pTool)

◆ Create_Tool()

CSG_Tool * CSG_Tool_Chains::Create_Tool ( const CSG_String & Name,
bool bWithGUI = false,
bool bWithCMD = true )
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.

◆ Delete_Tool()

bool CSG_Tool_Chains::Delete_Tool ( CSG_Tool * pTool)
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.

◆ Delete_Tools()

bool CSG_Tool_Chains::Delete_Tools ( void )
virtual

Reimplemented from CSG_Tool_Library.

Definition at line 2152 of file tool_chain.cpp.

Referenced by ~CSG_Tool_Chains().

◆ Get_Count()

virtual int CSG_Tool_Chains::Get_Count ( void ) const
inlinevirtual

Reimplemented from CSG_Tool_Library.

Definition at line 185 of file tool_chain.h.

Referenced by Get_File_Name(), and Get_Tool().

◆ Get_File_Name()

virtual CSG_String CSG_Tool_Chains::Get_File_Name ( int Index) const
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().

◆ Get_Info()

CSG_String CSG_Tool_Chains::Get_Info ( int Type) const
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().

◆ Get_Tool()

CSG_Tool * CSG_Tool_Chains::Get_Tool ( int Index,
TSG_Tool_Type Type = TOOL_TYPE_Base ) const
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.

◆ Get_Type()

virtual ESG_Library_Type CSG_Tool_Chains::Get_Type ( void ) const
inlinevirtual

Reimplemented from CSG_Tool_Library.

Definition at line 179 of file tool_chain.h.

References Chain.

◆ CSG_Tool_Library_Manager

friend class CSG_Tool_Library_Manager
friend

Definition at line 175 of file tool_chain.h.

References CSG_Tool_Library_Manager.

Referenced by CSG_Tool_Library_Manager.


The documentation for this class was generated from the following files: