 |
SAGA API
v9.9
|
Go to the documentation of this file.
53 #ifndef HEADER_INCLUDED__SAGA_API__parameters_H
54 #define HEADER_INCLUDED__SAGA_API__parameters_H
94 #define PARAMETER_INPUT 0x01
95 #define PARAMETER_OUTPUT 0x02
96 #define PARAMETER_OPTIONAL 0x04
97 #define PARAMETER_INFORMATION 0x08
98 #define PARAMETER_IGNORE_PROJECTION 0x10
99 #define PARAMETER_NOT_FOR_GUI 0x20
100 #define PARAMETER_NOT_FOR_CMD 0x40
101 #define PARAMETER_GUI_COLLAPSED 0x80
103 #define PARAMETER_INPUT_OPTIONAL (PARAMETER_INPUT | PARAMETER_OPTIONAL)
104 #define PARAMETER_OUTPUT_OPTIONAL (PARAMETER_OUTPUT | PARAMETER_OPTIONAL)
107 #define PARAMETER_DESCRIPTION_NAME 0x01
108 #define PARAMETER_DESCRIPTION_TYPE 0x02
109 #define PARAMETER_DESCRIPTION_OPTIONAL 0x04
110 #define PARAMETER_DESCRIPTION_PROPERTIES 0x08
111 #define PARAMETER_DESCRIPTION_TEXT 0x10
112 #define PARAMETER_DESCRIPTION_ALL (PARAMETER_DESCRIPTION_NAME | PARAMETER_DESCRIPTION_TYPE | PARAMETER_DESCRIPTION_OPTIONAL | PARAMETER_DESCRIPTION_PROPERTIES | PARAMETER_DESCRIPTION_TEXT)
190 #define PARAMETER_CHECK_VALUES 0x01
191 #define PARAMETER_CHECK_ENABLE 0x02
192 #define PARAMETER_CHECK_ALL (PARAMETER_CHECK_VALUES | PARAMETER_CHECK_ENABLE)
195 #define SG_PARAMETER_DATA_SET_FALSE 0
196 #define SG_PARAMETER_DATA_SET_TRUE 1
197 #define SG_PARAMETER_DATA_SET_CHANGED 2
219 const SG_Char * Get_Identifier (
void)
const;
220 bool Cmp_Identifier (
const CSG_String &Identifier)
const;
223 const SG_Char * Get_Name (
void)
const;
224 const SG_Char * Get_Description (
void)
const;
225 bool Set_Description (
const CSG_String &Description);
229 bool Set_Enabled (
bool bEnabled =
true);
230 bool is_Enabled (
bool bCheckEnv =
true)
const;
232 bool Set_Collapsed (
bool bOn =
true);
235 virtual bool is_Valid (
void)
const {
return(
true ); }
240 bool is_Option (
void)
const;
241 bool is_DataObject (
void)
const;
242 bool is_DataObject_List (
void)
const;
243 bool is_Parameters (
void)
const;
244 bool is_Serializable (
void)
const;
248 void Set_UseInGUI (
bool bOn =
false);
249 void Set_UseInCMD (
bool bOn =
false);
251 bool do_UseInGUI (
void)
const;
252 bool do_UseInCMD (
void)
const;
254 void ignore_Projection (
bool bIgnore);
260 CSG_Parameter *
Get_Child (
int iChild)
const {
return( iChild >= 0 && iChild < m_nChildren ? m_Children[iChild] : NULL ); }
261 bool Set_Children_Enabled (
bool bEnabled =
true);
264 virtual bool Set_Value (
int Value);
265 virtual bool Set_Value (
double Value);
266 virtual bool Set_Value (
const CSG_String &Value);
267 virtual bool Set_Value (
const char *Value);
268 virtual bool Set_Value (
const wchar_t *Value);
269 virtual bool Set_Value (
void *Value);
272 virtual bool Toggle_Value (
void);
274 bool Set_Default (
int Value);
275 bool Set_Default (
double Value);
278 virtual bool is_Default (
void)
const;
279 virtual bool Restore_Default (
void);
281 bool Check (
bool bSilent =
true);
285 bool asBool (
void)
const {
return( (
bool )!!_asInt () ); }
286 int asInt (
void)
const {
return( (
int )_asInt () ); }
287 long asColor (
void)
const {
return( (
long )_asInt () ); }
288 double asDouble (
void)
const {
return( (
double )_asDouble () ); }
290 void *
asPointer (
void)
const {
return( (
void *)_asPointer() ); }
293 const SG_Char * asFont (
void)
const;
339 virtual int _Set_Value (
int Value);
340 virtual int _Set_Value (
double Value);
341 virtual int _Set_Value (
const CSG_String &Value);
342 virtual int _Set_Value (
void *Value);
344 virtual void _Set_String (
void);
346 virtual int _asInt (
void)
const;
347 virtual double _asDouble (
void)
const;
348 virtual void * _asPointer (
void)
const;
349 virtual const SG_Char * _asString (
void)
const;
352 virtual bool _Serialize (
CSG_MetaData &MetaData,
bool bSave);
362 int m_Constraint, m_nChildren;
366 CSG_String m_Identifier, m_Name, m_Description, m_Default;
424 virtual int _asInt (
void)
const {
return( m_Value ); }
443 bool Set_Valid_Range (
double Minimum,
double Maximum);
445 void Set_Minimum (
double Minimum,
bool bOn =
true);
449 void Set_Maximum (
double Maximum,
bool bOn =
true);
497 virtual int _asInt (
void)
const {
return( m_Value ); }
498 virtual double _asDouble (
void)
const {
return( m_Value ); }
535 virtual int _asInt (
void)
const {
return( (
int)m_Value ); }
536 virtual double _asDouble (
void)
const {
return( m_Value ); }
599 virtual int _asInt (
void)
const;
621 bool Set_Range (
double Min,
double Max);
622 double Get_Range (
void)
const {
return( Get_Max() - Get_Min() ); }
624 bool Set_Min (
double Min);
625 double Get_Min (
void)
const;
628 bool Set_Max (
double Max);
629 double Get_Max (
void)
const;
674 bool Del_Items (
void);
677 bool Set_Items (
const SG_Char *String);
680 const SG_Char * Get_Item (
int Index)
const;
685 bool Get_Data (
int &Value)
const;
686 bool Get_Data (
double &Value)
const;
688 int Get_Count (
void)
const {
return( m_Items.Get_Count() ); }
706 virtual int _asInt (
void)
const {
return( m_Value ); }
707 virtual double _asDouble (
void)
const {
return( m_Value ); }
761 void Del_Items (
void);
771 int Get_Selection_Index (
int i)
const {
return( i >= 0 && i < Get_Selection_Count() ? m_Selection[i] : -1 ); }
773 bool is_Selected (
int Index);
774 bool Select (
int Index,
bool bSelect =
true);
775 bool Clr_Selection (
void);
812 void Set_Password (
bool bOn);
813 bool is_Password (
void)
const;
864 void Set_Filter (
const SG_Char *Filter);
865 const SG_Char * Get_Filter (
void)
const;
867 void Set_Flag_Save (
bool bFlag);
868 bool is_Save (
void)
const {
return( m_bSave ); }
870 void Set_Flag_Multiple (
bool bFlag);
873 void Set_Flag_Directory (
bool bFlag);
919 virtual int _asInt (
void)
const;
979 virtual int _asInt (
void)
const;
1068 bool Add_Default (
double Value,
double Minimum,
bool bMinimum,
double Maximum,
bool bMaximum);
1109 int Get_Index (
int i)
const {
return( i >= 0 && i < m_nFields ? m_Fields[i] : -1 ); }
1111 int operator [] (
int i)
const {
return( i >= 0 && i < m_nFields ? m_Fields[i] : -1 ); }
1126 virtual int _asInt (
void)
const;
1146 virtual bool is_Valid (
void)
const;
1215 bool Add_Default (
double Value,
double Minimum,
bool bMinimum,
double Maximum,
bool bMaximum);
1229 virtual int _asInt (
void)
const;
1374 virtual bool Del_Item (
CSG_Data_Object *pItem,
bool bUpdateData =
true);
1375 virtual bool Del_Item (
int Index ,
bool bUpdateData =
true);
1376 virtual bool Del_Items (
void);
1393 virtual int _asInt (
void)
const;
1424 virtual bool Del_Item (
int Index ,
bool bUpdateData =
true);
1618 bool Activate_GUI (
bool bReset =
false);
1619 bool Deactivate_GUI (
void);
1624 bool Get_CRS (
CSG_Projection &Projection,
bool bMessage =
false)
const;
1652 bool Add_Grids (
const CSG_String &ID,
const CSG_String &Name,
bool bOptional,
bool bZLevels =
false);
1659 bool Set_User_Defined (
CSG_Parameters *pParameters,
const TSG_Rect &Extent,
int Rows = 0,
int Rounding = 2);
1661 bool Set_User_Defined (
CSG_Parameters *pParameters,
double xMin,
double yMin,
double Size,
int nx,
int ny);
1664 bool Set_User_Defined_ZLevels (
CSG_Parameters *pParameters,
double zMin,
double zMax,
int nLevels,
int Rounding = 2);
1708 bool Create (
const SG_Char *Name,
const SG_Char *Description = NULL,
const SG_Char *Identifier = NULL,
bool bGrid_System =
false);
1711 bool Create (
void *pOwner,
const SG_Char *Name,
const SG_Char *Description = NULL,
const SG_Char *Identifier = NULL,
bool bGrid_System =
false);
1719 void Set_Tool (
class CSG_Tool *pTool);
1724 bool Push (
class CSG_Data_Manager *pManager = NULL,
bool bRestoreDefaults =
true);
1727 bool Use_Grid_System (
void);
1729 bool has_GUI (
void)
const;
1733 void Set_Identifier (
const CSG_String &Identifier);
1734 bool Cmp_Identifier (
const CSG_String &Identifier)
const;
1740 void Set_Description (
const CSG_String &Description);
1745 void Del_References (
void);
1748 void Set_Enabled (
bool bEnabled =
true);
1749 void Set_Enabled (
const CSG_String &Identifier,
bool bEnabled =
true);
1753 bool Set_Callback (
bool bActive =
true);
1759 CSG_Parameter * Get_Parameter (
int i ,
bool MsgOnError )
const;
1761 CSG_Parameter * Get_Parameter (
const char *ID,
bool MsgOnError =
false)
const;
1762 CSG_Parameter * Get_Parameter (
const wchar_t *ID,
bool MsgOnError =
false)
const;
1766 CSG_Parameter * operator() (
const char *ID)
const {
return( Get_Parameter(ID) ); }
1767 CSG_Parameter * operator() (
const wchar_t *ID)
const {
return( Get_Parameter(ID) ); }
1771 CSG_Parameter & operator[] (
const char *ID)
const {
return( *Get_Parameter(ID) ); }
1772 CSG_Parameter & operator[] (
const wchar_t *ID)
const {
return( *Get_Parameter(ID) ); }
1775 bool Del_Parameter (
int i);
1778 bool Del_Parameters (
void);
1795 CSG_Parameter * Add_Range (
const CSG_String &ParentID,
const CSG_String &ID,
const CSG_String &Name,
const CSG_String &Description,
double Range_Min = 0.0,
double Range_Max = 0.0,
double Minimum = 0.0,
bool bMinimum =
false,
double Maximum = 0.0,
bool bMaximum =
false);
1816 CSG_Parameter * Add_Grid_or_Const (
const CSG_String &ParentID,
const CSG_String &ID,
const CSG_String &Name,
const CSG_String &Description,
double Value = 0.0,
double Minimum = 0.0,
bool bMinimum =
false,
double Maximum = 0.0,
bool bMaximum =
false,
bool bSystem_Dependent =
true);
1848 bool Set_Parameter (
const wchar_t *ID,
CSG_Parameter *pValue);
1871 bool Restore_Defaults (
bool bClearData =
false);
1888 bool Serialize_Compatibility (
CSG_File &Stream);
1891 bool DataObjects_Check (
bool bSilent =
false);
1894 bool Get_String (
CSG_String &String,
bool bOptionsOnly);
1895 bool Msg_String (
bool bOptionsOnly);
1897 bool Set_History (
CSG_MetaData &History,
bool bOptions =
true,
bool bDataObjects =
true);
1904 bool Reset_Grid_System (
void);
1917 CSG_String m_Identifier, m_Name, m_Description;
1930 void _On_Construction (
void);
1932 bool _On_Parameter_Changed (
CSG_Parameter *pParameter,
int Flags);
1934 CSG_Parameter * _Add_Value (
const CSG_String &ParentID,
const CSG_String &ID,
const CSG_String &Name,
const CSG_String &Description,
bool bInformation,
TSG_Parameter_Type Type,
double Value,
double Minimum,
bool bMinimum,
double Maximum,
bool bMaximum);
1935 CSG_Parameter * _Add_Range (
const CSG_String &ParentID,
const CSG_String &ID,
const CSG_String &Name,
const CSG_String &Description,
bool bInformation,
double Range_Min,
double Range_Max,
double Minimum,
bool bMinimum,
double Maximum,
bool bMaximum);
1941 bool DataObjects_Create (
void);
1942 bool DataObjects_Synchronize (
void);
1943 bool DataObjects_Get_Projection (
CSG_Projection &Projection)
const;
1944 bool DataObjects_Set_Projection (
const CSG_Projection &Projection);
1952 {
return( Add_Node (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
1954 {
return( Add_Value (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Type, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1956 {
return( Add_Info_Value (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Type, Value) ); }
1958 {
return( Add_Bool (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value) ); }
1960 {
return( Add_Int (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1962 {
return( Add_Double (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1964 {
return( Add_Degree (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1966 {
return( Add_Date (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value) ); }
1968 {
return( Add_Color (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value) ); }
1970 {
return( Add_Range (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Range_Min, Range_Max, Minimum, bMinimum, Maximum, bMaximum) ); }
1972 {
return( Add_Info_Range (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Range_Min, Range_Max) ); }
1974 {
return( Add_Choice (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Items, Default) ); }
1976 {
return( Add_String (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, String, bLongText, bPassword) ); }
1978 {
return( Add_Info_String (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, String, bLongText) ); }
1980 {
return( Add_FilePath (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Filter, Default, bSave, bDirectory, bMultiple) ); }
1982 {
return( Add_Font (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, pInit) ); }
1984 {
return( Add_Colors (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, pInit) ); }
1986 {
return( Add_FixedTable (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, pInit) ); }
1988 {
return( Add_Grid_System (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, pInit) ); }
1990 {
return(
Add_Grid (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Constraint, bSystem_Dependent, Preferred_Type) ); }
1992 {
return( Add_Grid_or_Const (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum, bSystem_Dependent) ); }
1994 {
return( Add_Grid_Output (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
1996 {
return( Add_Grid_List (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Constraint, bSystem_Dependent) ); }
1998 {
return( Add_Table_Field (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, bAllowNone) ); }
2000 {
return( Add_Table_Field_or_Const(pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
2002 {
return( Add_Table_Fields (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
2006 {
return( Add_Table_Output (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
2008 {
return( Add_Table_List (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Constraint) ); }
2012 {
return( Add_Shapes_Output (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
2014 {
return( Add_Shapes_List (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Constraint, Shape_Type) ); }
2018 {
return( Add_TIN_Output (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
2020 {
return( Add_TIN_List (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Constraint) ); }
2024 {
return( Add_PointCloud_Output (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
2026 {
return( Add_PointCloud_List (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description, Constraint) ); }
2028 {
return( Add_Parameters (pParent ? pParent->
Get_Identifier() :
SG_T(
""), ID, Name, Description) ); }
2042 #endif // #ifndef HEADER_INCLUDED__SAGA_API__parameters_H
class CSG_Parameter_Grids_List * asGridsList(void) const
virtual TSG_Parameter_Type Get_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
TSG_Shape_Type Get_Shape_Type(void) const
const CSG_String & Get_Description(void) const
void * asPointer(void) const
int Get_Selection_Count(void) const
CSG_Parameter * Add_Degree(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
CSG_Parameter * Get_Parameter(int i) const
@ PARAMETER_TYPE_FilePath
CSG_Grid_System * Get_Grid_System(void) const
CSG_Parameter * Add_Shapes_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
CSG_Parameter * Add_FixedTable(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit=NULL)
class CSG_Parameter_Shapes_List * asShapesList(void) const
CSG_Parameter * Add_Table(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
virtual bool Add_Item(CSG_Data_Object *pItem)
virtual bool _Assign(CSG_Parameter *pSource)
@ PARAMETER_TYPE_Table_Fields
virtual int _Set_Value(void *Value)
virtual void _Set_String(void)
TSG_Data_Object_Type m_Type
virtual int _asInt(void) const
virtual TSG_Parameter_Type Get_Type(void) const
const SG_Char * Get_Identifier(void) const
virtual int _Set_Value(int Value)
CSG_Parameter * Add_PointCloud(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
class CSG_Data_Manager * Get_Manager(void) const
const SG_Char * asString(void) const
#define PARAMETER_OPTIONAL
CSG_Parameter * Get_Grid_System_Parameter(void) const
void * Get_Owner(void) const
int Get_Index(int i) const
int Get_Grid_Count(void) const
double Get_Maximum(void) const
virtual bool is_Valid(void) const
bool has_Minimum(void) const
@ PARAMETER_TYPE_Grids_List
class CSG_Parameter_TIN_List * asTINList(void) const
virtual bool _Assign(CSG_Parameter *pSource)
CSG_Parameter * Add_TIN_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
class CSG_Parameter_Date * asDate(void) const
CSG_Data_Object * Get_Item(int Index) const
CSG_PointCloud * Get_PointCloud(int Index) const
virtual TSG_Parameter_Type Get_Type(void) const
friend class CSG_Parameter
CSG_PointCloud * Add_PointCloud(void)
CSG_Parameter * Add_Grid_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
CSG_Parameter_Double * m_pMin
bool is_Input(void) const
virtual int _asInt(void) const
virtual bool _Assign(CSG_Parameter *pSource)
bool is_Managed(void) const
CSG_Parameter * Add_Info_Range(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min=0.0, double Range_Max=0.0)
CSG_Parameter * Add_Color(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0)
SAGA_API_DLL_EXPORT CSG_String SG_Parameter_Type_Get_Name(TSG_Parameter_Type Type)
CSG_Data_Object * m_pDataObject
int Get_Item_Count(void) const
CSG_Parameter * Add_Shapes(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type=SHAPE_TYPE_Undefined)
virtual void _Set_String(void)
@ PARAMETER_TYPE_FixedTable
virtual TSG_Parameter_Type Get_Type(void) const
CSG_Parameter * Add_Shapes_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type=SHAPE_TYPE_Undefined)
CSG_Parameter * Add_PointCloud_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
TSG_Data_Type Get_Preferred_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
virtual double _asDouble(void) const
bool Assign(CSG_Parameter *pSource)
SAGA_API_DLL_EXPORT CSG_String SG_Parameter_Type_Get_Identifier(TSG_Parameter_Type Type)
virtual TSG_Parameter_Type Get_Type(void) const
bool is_Directory(void) const
CSG_Parameter * Add_Choice(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items, int Default=0)
virtual bool _Assign(CSG_Parameter *pSource)
@ PARAMETER_TYPE_PointCloud
virtual bool _Assign(CSG_Parameter *pSource)
CSG_Parameter * Add_Int(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0, int Minimum=0, bool bMinimum=false, int Maximum=0, bool bMaximum=false)
virtual double _asDouble(void) const
class CSG_Parameter_Value * asValue(void) const
TSG_Data_Object_Type Get_DataObject_Type(void) const
SAGA_API_DLL_EXPORT TSG_Parameter_Type SG_Parameter_Type_Get_Type(const CSG_String &Identifier)
virtual TSG_Parameter_Type Get_Type(void) const
virtual int _Set_Value(int Value)
CSG_Parameter * Add_Node(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
bool is_Multiple(void) const
CSG_TIN * asTIN(int Index) const
CSG_Array_Pointer m_Grids
@ PARAMETER_TYPE_Shapes_List
class CSG_Parameter_Grid_List * asGridList(void) const
CSG_Parameters * m_pRange
virtual TSG_Parameter_Type Get_Type(void) const =0
CSG_Parameter * Add_Colors(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit=NULL)
bool Serialize(CSG_MetaData &MetaData, bool bSave)
CSG_Table * Get_Table(int Index) const
CSG_Grid * Get_Grid(int Index) const
bool ignore_Projection(void) const
@ PARAMETER_TYPE_Data_Type
CSG_Parameter * Add_String(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText=false, bool bPassword=false)
virtual bool Del_Items(void)
CSG_Parameter * Add_Parameters(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
virtual bool _Serialize(CSG_MetaData &Entry, bool bSave)
virtual TSG_Parameter_Type Get_Type(void) const
const CSG_String & Get_Item_Data(int i) const
CSG_Parameter * Add_Info_Value(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value=0.0)
@ PARAMETER_TYPE_Undefined
virtual int _asInt(void) const
const CSG_String & Get_Selection_Data(int i) const
virtual bool Update_Data(void)
int Get_Count(void) const
@ PARAMETER_TYPE_Table_Field
virtual TSG_Parameter_Type Get_Type(void) const
const CSG_DateTime & Get_Date(void) const
CSG_Parameter * Add_Table_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
virtual bool Del_Item(CSG_Data_Object *pItem, bool bUpdateData=true)
virtual bool _Serialize(CSG_MetaData &MetaData, bool bSave)
CSG_Parameter * Add_Table_Field_or_Const(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
class CSG_Tool * Get_Tool(void) const
CSG_Grid * Add_Grid(void)
double Get_Range(void) const
CSG_Parameter * Add_Table_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
CSG_Grids * Add_Grids(void)
int Get_Count(void) const
class CSG_Parameter_Data_Type * asDataType(void) const
virtual void * _asPointer(void) const
CSG_Parameter * Get_Child(int iChild) const
virtual bool _Assign(CSG_Parameter *pSource)
#define PARAMETER_CHECK_ALL
CSG_Parameter * Add_TIN(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
bool Serialize(CSG_MetaData &Data) const
virtual TSG_Parameter_Type Get_Type(void) const
virtual double _asDouble(void) const
CSG_Parameter * Add_Grid_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent=true)
class CSG_Parameter_PointCloud_List * asPointCloudList(void) const
CSG_Parameter * Add_FilePath(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *Filter=NULL, const SG_Char *Default=NULL, bool bSave=false, bool bDirectory=false, bool bMultiple=false)
CSG_Table * Add_Table(void)
#define PARAMETER_IGNORE_PROJECTION
virtual double _asDouble(void) const
CSG_Parameter * Add_Double(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
virtual TSG_Parameter_Type Get_Type(void) const
CSG_Parameter * Add_PointCloud_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
virtual TSG_Parameter_Type Get_Type(void) const
virtual bool Toggle_Value(void)
const CSG_Strings & Get_References(void) const
#define SAGA_API_DLL_EXPORT
virtual TSG_Parameter_Type Get_Type(void) const
@ PARAMETER_TYPE_Grid_List
virtual void _Set_String(void)
CSG_Parameter * Add_TIN_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
virtual int _asInt(void) const
CSG_Parameter * Add_Date(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0)
bool is_Optional(void) const
virtual TSG_Parameter_Type Get_Type(void) const
TSG_Shape_Type Get_Shape_Type(void) const
class CSG_Parameter_File_Name * asFilePath(void) const
CSG_Shapes * Get_Shapes(int Index) const
bool is_Output(void) const
CSG_Parameter * Add_Table_Fields(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
CSG_Parameter * Add_Bool(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value=false)
int Get_Item_Count(void) const
virtual TSG_Parameter_Type Get_Type(void) const
const CSG_String & Get_Identifier(void) const
virtual TSG_Parameter_Type Get_Type(void) const
bool has_Maximum(void) const
CSG_Parameter * Add_Grid_or_Const(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false, bool bSystem_Dependent=true)
#define PARAMETER_GUI_COLLAPSED
int Get_Children_Count(void) const
virtual TSG_Parameter_Type Get_Type(void) const
virtual int _Set_Value(int Value)
virtual bool _Serialize(CSG_MetaData &Entry, bool bSave)
CSG_Parameter * Add_Value(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
virtual TSG_Parameter_Type Get_Type(void) const
class CSG_Parameter_Table_Fields * asTableFields(void) const
CSG_Parameters * m_pParameters
class CSG_Parameter_Choice * asChoice(void) const
#define PARAMETER_INFORMATION
virtual bool _Assign(CSG_Parameter *pSource)
bool Serialize(CSG_MetaData &Data, bool bSave)
virtual TSG_Parameter_Type Get_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
int Get_Count(void) const
virtual TSG_Parameter_Type Get_Type(void) const
CSG_Array_Int m_Selection
double asDouble(void) const
virtual TSG_Parameter_Type Get_Type(void) const
@ PARAMETER_TYPE_Grid_System
virtual TSG_Parameter_Type Get_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
const CSG_String & Get_Selection(int i) const
@ PARAMETER_TYPE_PointCloud_List
virtual TSG_Parameter_Type Get_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
@ PARAMETER_TYPE_Table_List
double Get_Minimum(void) const
class CSG_Parameter_Range * asRange(void) const
int Get_Selection_Index(int i) const
virtual TSG_Parameter_Type Get_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
class CSG_Parameter_Table_List * asTableList(void) const
int(* TSG_PFNC_Parameter_Changed)(CSG_Parameter *pParameter, int Flags)
bool is_Collapsed(void) const
CSG_Parameter * Add_Font(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit=NULL)
@ PARAMETER_TYPE_DataObject_Output
virtual TSG_Parameter_Type Get_Type(void) const
const CSG_String & Get_Item(int i) const
const CSG_String & Get_Name(void) const
CSG_Parameter_Double * Get_Min_Parameter(void) const
CSG_Parameter * Add_Grid_System(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_System *pInit=NULL)
virtual int _asInt(void) const
bool Serialize(const CSG_String &File, bool bSave)
virtual TSG_Parameter_Type Get_Type(void) const
virtual TSG_Parameter_Type Get_Type(void) const
CSG_Parameter * Add_Range(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min=0.0, double Range_Max=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
bool Serialize(const CSG_String &File) const
virtual bool is_Default(void) const
CSG_Parameter_Double * Get_Max_Parameter(void) const
virtual TSG_Parameter_Type Get_Type(void) const
CSG_Grids * Get_Grids(int Index) const
virtual TSG_Parameter_Type Get_Type(void) const
@ PARAMETER_TYPE_TIN_List
CSG_Shapes * Add_Shapes(void)
@ PARAMETER_TYPE_Parameters
class CSG_Parameter_List * asList(void) const
CSG_Parameter * Add_Info_String(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText=false)
virtual bool Restore_Default(void)
class CSG_Parameter_Choices * asChoices(void) const
bool is_Information(void) const
CSG_Parameter * Add_Grid(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent=true, TSG_Data_Type Preferred_Type=SG_DATATYPE_Undefined)
CSG_Parameter * Add_Table_Field(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone=false)