SAGA API v9.10
Loading...
Searching...
No Matches
tool_chain.cpp File Reference
#include "saga_api.h"
#include "tool_chain.h"

Go to the source code of this file.

Macros

#define GET_XML_CONTENT(XML, ID, DEFAULT, TRANSLATE)
#define IS_TRUE_STRING(String)
#define IS_TRUE_PROPERTY(Item, Property)
#define Get_List_Count(p)
#define Get_List_Item(p, i)

Macro Definition Documentation

◆ Get_List_Count

#define Get_List_Count ( p)
Value:
(p->asGridList() ? p->asGridList()->Get_Grid_Count() : p->asList() ? p->asList()->Get_Item_Count() : 0)

Definition at line 68 of file tool_chain.cpp.

◆ Get_List_Item

#define Get_List_Item ( p,
i )
Value:
(p->asGridList() ? p->asGridList()->Get_Grid (i) : p->asList() ? p->asList()->Get_Item (i) : NULL)

Definition at line 69 of file tool_chain.cpp.

◆ GET_XML_CONTENT

#define GET_XML_CONTENT ( XML,
ID,
DEFAULT,
TRANSLATE )
Value:
(!XML(ID) ? CSG_String(DEFAULT) : !TRANSLATE ? XML[ID].Get_Content() : CSG_String(SG_Translate(XML[ID].Get_Content())))
SAGA_API_DLL_EXPORT const SG_Char * SG_Translate(const CSG_String &Text)

Definition at line 63 of file tool_chain.cpp.

Referenced by CSG_Tool_Chain::Create(), and CSG_Tool_Chains::CSG_Tool_Chains().

◆ IS_TRUE_PROPERTY

#define IS_TRUE_PROPERTY ( Item,
Property )
Value:
(Item.Cmp_Property(Property, "true", true) || Item.Cmp_Property(Property, "1"))

Definition at line 66 of file tool_chain.cpp.

Referenced by CSG_Tool_Chain::Create().

◆ IS_TRUE_STRING

#define IS_TRUE_STRING ( String)
Value:
(!String.CmpNoCase("true") || !String.CmpNoCase("1"))

Definition at line 65 of file tool_chain.cpp.

Referenced by CSG_Tool_Chain::Create(), and CSG_Tool_Chain::do_Sync_Projections().