SAGA API  v9.5
tool.cpp File Reference
#include "saga_api.h"
#include "data_manager.h"
#include "tool.h"
#include "tool_chain.h"
#include <wx/string.h>
#include <wx/cmdline.h>

Go to the source code of this file.

Macros

#define ADD_MESSAGE_EXECUTION(Text, Style)   { SG_UI_Msg_Add(Text, true, Style); if( has_GUI() ) { SG_UI_Msg_Add_Execution(Text, true, Style); } }
 
#define _TOOL_EXCEPTION
 
#define GET_ID1(p)
 
#define GET_ID2(p, s)   CSG_String::Format("%s_%s", GET_ID1(p), s).c_str()
 

Macro Definition Documentation

◆ _TOOL_EXCEPTION

#define _TOOL_EXCEPTION

◆ ADD_MESSAGE_EXECUTION

#define ADD_MESSAGE_EXECUTION (   Text,
  Style 
)    { SG_UI_Msg_Add(Text, true, Style); if( has_GUI() ) { SG_UI_Msg_Add_Execution(Text, true, Style); } }

◆ GET_ID1

#define GET_ID1 (   p)
Value:
(p->Get_Parameters()->Get_Identifier().Length() > 0 \
? CSG_String::Format("%s_%s", p->Get_Parameters()->Get_Identifier().c_str(), p->Get_Identifier()) \
: CSG_String::Format(p->Get_Identifier())).c_str()

◆ GET_ID2

#define GET_ID2 (   p,
 
)    CSG_String::Format("%s_%s", GET_ID1(p), s).c_str()
CSG_String::Format
static CSG_String Format(const char *Format,...)
Definition: api_string.cpp:270