SAGA API
v9.6
|
Go to the source code of this file.
Macros | |
#define | GET_XML_CONTENT(XML, ID, DEFAULT, TRANSLATE) (!XML(ID) ? CSG_String(DEFAULT) : !TRANSLATE ? XML[ID].Get_Content() : CSG_String(SG_Translate(XML[ID].Get_Content()))) |
#define | IS_TRUE_STRING(String) (!String.CmpNoCase("true") || !String.CmpNoCase("1")) |
#define | IS_TRUE_PROPERTY(Item, Property) (Item.Cmp_Property(Property, "true", true) || Item.Cmp_Property(Property, "1")) |
#define | Get_List_Count(p) (p->asGridList() ? p->asGridList()->Get_Grid_Count() : p->asList() ? p->asList()->Get_Item_Count() : 0) |
#define | Get_List_Item(p, i) (p->asGridList() ? p->asGridList()->Get_Grid (i) : p->asList() ? p->asList()->Get_Item (i) : NULL) |
#define Get_List_Count | ( | p | ) | (p->asGridList() ? p->asGridList()->Get_Grid_Count() : p->asList() ? p->asList()->Get_Item_Count() : 0) |
Definition at line 68 of file tool_chain.cpp.
#define Get_List_Item | ( | p, | |
i | |||
) | (p->asGridList() ? p->asGridList()->Get_Grid (i) : p->asList() ? p->asList()->Get_Item (i) : NULL) |
Definition at line 69 of file tool_chain.cpp.
#define GET_XML_CONTENT | ( | XML, | |
ID, | |||
DEFAULT, | |||
TRANSLATE | |||
) | (!XML(ID) ? CSG_String(DEFAULT) : !TRANSLATE ? XML[ID].Get_Content() : CSG_String(SG_Translate(XML[ID].Get_Content()))) |
Definition at line 63 of file tool_chain.cpp.
#define IS_TRUE_PROPERTY | ( | Item, | |
Property | |||
) | (Item.Cmp_Property(Property, "true", true) || Item.Cmp_Property(Property, "1")) |
Definition at line 66 of file tool_chain.cpp.
#define IS_TRUE_STRING | ( | String | ) | (!String.CmpNoCase("true") || !String.CmpNoCase("1")) |
Definition at line 65 of file tool_chain.cpp.