![]() |
SAGA API v9.10
|
#include <parameters.h>
Public Member Functions | |
CSG_Parameters (void) | |
virtual | ~CSG_Parameters (void) |
CSG_Parameters (const CSG_Parameters &Parameters) | |
bool | Create (const CSG_Parameters &Parameters) |
CSG_Parameters (const SG_Char *Name, const SG_Char *Description=NULL, const SG_Char *Identifier=NULL, bool bGrid_System=false) | |
bool | Create (const SG_Char *Name, const SG_Char *Description=NULL, const SG_Char *Identifier=NULL, bool bGrid_System=false) |
CSG_Parameters (void *pOwner, const SG_Char *Name, const SG_Char *Description=NULL, const SG_Char *Identifier=NULL, bool bGrid_System=false) | |
bool | Create (void *pOwner, const SG_Char *Name, const SG_Char *Description=NULL, const SG_Char *Identifier=NULL, bool bGrid_System=false) |
void | Destroy (void) |
void * | Get_Owner (void) const |
class CSG_Tool * | Get_Tool (void) const |
void | Set_Tool (class CSG_Tool *pTool) |
class CSG_Data_Manager * | Get_Manager (void) const |
void | Set_Manager (class CSG_Data_Manager *pManager) |
bool | Push (class CSG_Data_Manager *pManager=NULL, bool bRestoreDefaults=true) |
bool | Pop (void) |
bool | Use_Grid_System (void) |
bool | has_GUI (void) const |
int | Get_Count (void) const |
void | Set_Identifier (const CSG_String &Identifier) |
bool | Cmp_Identifier (const CSG_String &Identifier) const |
const CSG_String & | Get_Identifier (void) const |
void | Set_Name (const CSG_String &Name) |
const CSG_String & | Get_Name (void) const |
void | Set_Description (const CSG_String &Description) |
const CSG_String & | Get_Description (void) 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_Strings & | Get_References (void) const |
void | Set_Enabled (bool bEnabled=true) |
void | Set_Enabled (const CSG_String &Identifier, bool bEnabled=true) |
TSG_PFNC_Parameter_Changed | Set_Callback_On_Parameter_Changed (TSG_PFNC_Parameter_Changed pCallback) |
bool | Set_Callback (bool bActive=true) |
CSG_Parameters & | operator= (const CSG_Parameters &Parameters) |
CSG_Parameter * | Get_Parameter (int i) const |
CSG_Parameter * | Get_Parameter (int i, bool MsgOnError) const |
CSG_Parameter * | Get_Parameter (const CSG_String &ID, bool MsgOnError=false) const |
CSG_Parameter * | Get_Parameter (const char *ID, bool MsgOnError=false) const |
CSG_Parameter * | Get_Parameter (const wchar_t *ID, bool MsgOnError=false) const |
CSG_Parameter * | operator() (int i) const |
CSG_Parameter * | operator() (const CSG_String &ID) const |
CSG_Parameter * | operator() (const char *ID) const |
CSG_Parameter * | operator() (const wchar_t *ID) const |
CSG_Parameter & | operator[] (int i) const |
CSG_Parameter & | operator[] (const CSG_String &ID) const |
CSG_Parameter & | operator[] (const char *ID) const |
CSG_Parameter & | operator[] (const wchar_t *ID) const |
bool | Del_Parameter (int i) |
bool | Del_Parameter (const CSG_String &ID) |
bool | Del_Parameters (void) |
CSG_Parameter * | Add_Parameter (CSG_Parameter *pParameter) |
CSG_Parameter * | Add_Node (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bCollapsed=false) |
CSG_Parameter * | Add_Value (const CSG_String &ParentID, 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) |
CSG_Parameter * | Add_Info_Value (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value=0.0) |
CSG_Parameter * | Add_Bool (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value=false) |
CSG_Parameter * | Add_Int (const CSG_String &ParentID, 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) |
CSG_Parameter * | Add_Double (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) |
CSG_Parameter * | Add_Degree (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) |
CSG_Parameter * | Add_Date (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0) |
CSG_Parameter * | Add_Color (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0) |
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) |
CSG_Parameter * | Add_Info_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) |
CSG_Parameter * | Add_Data_Type (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Data_Types, TSG_Data_Type Default=SG_DATATYPE_Undefined, const CSG_String &User="") |
CSG_Parameter * | Add_Choice (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items, int Default=0) |
CSG_Parameter * | Add_Choices (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items) |
CSG_Parameter * | Add_String (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText=false, bool bPassword=false) |
CSG_Parameter * | Add_Info_String (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText=false) |
CSG_Parameter * | Add_FilePath (const CSG_String &ParentID, 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_Parameter * | Add_Colors (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Palette=0, int nColors=11, bool bRevert=false) |
CSG_Parameter * | Add_Colors (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit) |
CSG_Parameter * | Add_Font (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit=NULL) |
CSG_Parameter * | Add_FixedTable (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit=NULL) |
CSG_Parameter * | Add_Grid_Resampling (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_Resampling Methods=CSG_Grid_Resampling::Interpolations, CSG_Grid_Resampling Default=CSG_Grid_Resampling::Bicubic_2) |
CSG_Parameter * | Add_Grid_System (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_System *pInit=NULL) |
CSG_Parameter * | Add_Grid (const CSG_String &ParentID, 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_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) |
CSG_Parameter * | Add_Grid_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Grid_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent=true) |
CSG_Parameter * | Add_Grids (const CSG_String &ParentID, 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_Grids_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Grids_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent=true) |
CSG_Parameter * | Add_Table_Field (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone=false) |
CSG_Parameter * | Add_Table_Field_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) |
CSG_Parameter * | Add_Table_Fields (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Table (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_Table_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Table_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_Shapes (const CSG_String &ParentID, 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_Shapes_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Shapes_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type=SHAPE_TYPE_Undefined) |
CSG_Parameter * | Add_TIN (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_TIN_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_TIN_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_PointCloud (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_PointCloud_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_PointCloud_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_Parameters (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
bool | Set_Parameter (const CSG_String &ID, CSG_Parameter *pValue) |
bool | Set_Parameter (const char *ID, CSG_Parameter *pValue) |
bool | Set_Parameter (const wchar_t *ID, CSG_Parameter *pValue) |
bool | Set_Parameter (const CSG_String &ID, void *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, void *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, void *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const CSG_String &ID, CSG_Data_Object *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, CSG_Data_Object *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, CSG_Data_Object *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const CSG_String &ID, int Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, int Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, int Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const CSG_String &ID, double Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, double Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, double Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const CSG_String &ID, const CSG_String &Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, const CSG_String &Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, const CSG_String &Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const CSG_String &ID, const char *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, const char *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, const char *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const CSG_String &ID, const wchar_t *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const char *ID, const wchar_t *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Set_Parameter (const wchar_t *ID, const wchar_t *Value, int Type=PARAMETER_TYPE_Undefined) |
bool | Restore_Defaults (bool bClearData=false) |
bool | Assign (CSG_Parameters *pSource) |
bool | Assign_Values (CSG_Parameters *pSource) |
bool | Assign_Parameters (CSG_Parameters *pSource) |
bool | Load (const CSG_MetaData &Data) |
bool | Save (CSG_MetaData &Data) const |
bool | Load (const CSG_String &File) |
bool | Save (const CSG_String &File) const |
bool | Serialize (CSG_MetaData &Data, bool bSave) |
bool | Serialize (CSG_MetaData &Data) const |
bool | Serialize (const CSG_String &File, bool bSave) |
bool | Serialize (const CSG_String &File) const |
bool | Serialize_Compatibility (CSG_File &Stream) |
bool | DataObjects_Check (bool bSilent=false) |
bool | Get_String (CSG_String &String, bool bOptionsOnly) |
bool | Msg_String (bool bOptionsOnly) |
bool | Set_History (CSG_MetaData &History, bool bOptions=true, bool bDataObjects=true) |
bool | is_Managed (void) const |
CSG_Parameter * | Get_Grid_System_Parameter (void) const |
CSG_Grid_System * | Get_Grid_System (void) const |
bool | Set_Grid_System (const CSG_Grid_System &System) |
bool | Reset_Grid_System (void) |
CSG_Parameter * | Add_Node (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
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) |
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) |
CSG_Parameter * | Add_Bool (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value=false) |
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) |
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) |
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 * | Add_Date (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0) |
CSG_Parameter * | Add_Color (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0) |
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) |
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_Choice (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items, int Default=0) |
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) |
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) |
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_Parameter * | Add_Font (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit=NULL) |
CSG_Parameter * | Add_Colors (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit=NULL) |
CSG_Parameter * | Add_FixedTable (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit=NULL) |
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) |
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_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) |
CSG_Parameter * | Add_Grid_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
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) |
CSG_Parameter * | Add_Table_Field (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone=false) |
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) |
CSG_Parameter * | Add_Table_Fields (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Table (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_Table_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_Table_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
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) |
CSG_Parameter * | Add_Shapes_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
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_TIN (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_TIN_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_TIN_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_PointCloud (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_PointCloud_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
CSG_Parameter * | Add_PointCloud_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) |
CSG_Parameter * | Add_Parameters (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description) |
Friends | |
class | CSG_Parameter |
class | CSG_Tool |
Definition at line 1700 of file parameters.h.
CSG_Parameters::CSG_Parameters | ( | void | ) |
Definition at line 65 of file parameters.cpp.
Referenced by Assign(), Assign_Parameters(), Assign_Values(), Create(), CSG_Parameters(), CSG_Tool, operator=(), Pop(), and Push().
|
virtual |
Definition at line 95 of file parameters.cpp.
References Destroy().
CSG_Parameters::CSG_Parameters | ( | const CSG_Parameters & | Parameters | ) |
Definition at line 71 of file parameters.cpp.
References Create(), and CSG_Parameters().
CSG_Parameters::CSG_Parameters | ( | const SG_Char * | Name, |
const SG_Char * | Description = NULL, | ||
const SG_Char * | Identifier = NULL, | ||
bool | bGrid_System = false ) |
Definition at line 79 of file parameters.cpp.
CSG_Parameters::CSG_Parameters | ( | void * | pOwner, |
const SG_Char * | Name, | ||
const SG_Char * | Description = NULL, | ||
const SG_Char * | Identifier = NULL, | ||
bool | bGrid_System = false ) |
Definition at line 87 of file parameters.cpp.
CSG_Parameter * CSG_Parameters::Add_Bool | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
bool | Value = false ) |
Definition at line 465 of file parameters.cpp.
References Add_Value(), CSG_Parameter, and PARAMETER_TYPE_Bool.
Referenced by Add_Bool(), and CSG_Distance_Weighting::Add_Parameters().
|
inline |
Definition at line 1962 of file parameters.h.
References Add_Bool(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Choice | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
const CSG_String & | Items, | ||
int | Default = 0 ) |
Definition at line 533 of file parameters.cpp.
References CSG_Parameter::asChoice(), CSG_Parameter, PARAMETER_TYPE_Choice, Set_Callback(), CSG_Parameter::Set_Default(), CSG_Parameter_Choice::Set_Items(), and CSG_Parameter::Set_Value().
Referenced by Add_Choice(), CSG_Distance_Weighting::Add_Parameters(), and CSG_Grid_Cell_Addressor::Add_Parameters().
|
inline |
Definition at line 1978 of file parameters.h.
References Add_Choice(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Choices | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
const CSG_String & | Items ) |
Definition at line 548 of file parameters.cpp.
References CSG_Parameter::asChoices(), CSG_Parameter, PARAMETER_TYPE_Choices, and CSG_Parameter_Choices::Set_Items().
CSG_Parameter * CSG_Parameters::Add_Color | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Value = 0 ) |
Definition at line 495 of file parameters.cpp.
References Add_Value(), CSG_Parameter, and PARAMETER_TYPE_Color.
Referenced by Add_Color().
|
inline |
Definition at line 1972 of file parameters.h.
References Add_Color(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Colors | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
CSG_Colors * | pInit ) |
Definition at line 596 of file parameters.cpp.
References CSG_Parameter::asColors(), CSG_Colors::Create(), CSG_Parameter, and PARAMETER_TYPE_Colors.
CSG_Parameter * CSG_Parameters::Add_Colors | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Palette = 0, | ||
int | nColors = 11, | ||
bool | bRevert = false ) |
Definition at line 587 of file parameters.cpp.
References CSG_Parameter::asColors(), CSG_Colors::Create(), CSG_Parameter, and PARAMETER_TYPE_Colors.
Referenced by Add_Colors().
|
inline |
Definition at line 1988 of file parameters.h.
References Add_Colors(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Data_Type | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Data_Types, | ||
TSG_Data_Type | Default = SG_DATATYPE_Undefined, | ||
const CSG_String & | User = "" ) |
Add a parameter for selecting a data type from a list of choices. The Data_Types argument expects a combination of data type flags as defined in <api_core.h>, e.g. SG_DATATYPES_Integer or SG_DATATYPES_Numeric. You can add an additional choice with the User argument, e.g. to offer a type related to an selected input data set.
Definition at line 521 of file parameters.cpp.
References CSG_Parameter::asDataType(), CSG_Parameter, PARAMETER_TYPE_Data_Type, Set_Callback(), and CSG_Parameter_Data_Type::Set_Data_Types().
CSG_Parameter * CSG_Parameters::Add_Date | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
double | Value = 0.0 ) |
Definition at line 485 of file parameters.cpp.
References Add_Value(), CSG_Parameter, CSG_DateTime::Get_JDN(), CSG_DateTime::Now(), and PARAMETER_TYPE_Date.
Referenced by Add_Date().
|
inline |
Definition at line 1970 of file parameters.h.
References Add_Date(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Degree | ( | 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 ) |
Definition at line 480 of file parameters.cpp.
References Add_Value(), CSG_Parameter, Maximum, Minimum, and PARAMETER_TYPE_Degree.
Referenced by Add_Degree().
|
inline |
Definition at line 1968 of file parameters.h.
References Add_Degree(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Double | ( | 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 ) |
Definition at line 475 of file parameters.cpp.
References Add_Value(), CSG_Parameter, Maximum, Minimum, and PARAMETER_TYPE_Double.
Referenced by CSG_Parameter_Grid::Add_Default(), CSG_Parameter_Table_Field::Add_Default(), Add_Double(), CSG_Distance_Weighting::Add_Parameters(), and CSG_Grid_Cell_Addressor::Add_Parameters().
|
inline |
Definition at line 1966 of file parameters.h.
References Add_Double(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
CSG_Parameter * CSG_Parameters::Add_FilePath | ( | const CSG_String & | ParentID, |
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 ) |
Definition at line 569 of file parameters.cpp.
References CSG_Parameter::asFilePath(), CSG_Parameter, PARAMETER_TYPE_FilePath, Set_Callback(), CSG_Parameter::Set_Default(), CSG_Parameter_File_Name::Set_Filter(), CSG_Parameter_File_Name::Set_Flag_Directory(), CSG_Parameter_File_Name::Set_Flag_Multiple(), CSG_Parameter_File_Name::Set_Flag_Save(), CSG_Parameter::Set_Value(), and SG_Char.
Referenced by Add_FilePath().
|
inline |
Definition at line 1984 of file parameters.h.
References Add_FilePath(), CSG_Parameter, CSG_Parameter::Get_Identifier(), SG_Char, and SG_T.
CSG_Parameter * CSG_Parameters::Add_FixedTable | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
CSG_Table * | pInit = NULL ) |
Definition at line 625 of file parameters.cpp.
References CSG_Table::Assign_Values(), CSG_Parameter::asTable(), CSG_Table::Create(), CSG_Parameter, PARAMETER_TYPE_FixedTable, and CSG_Data_Object::Set_Name().
Referenced by Add_FixedTable().
|
inline |
Definition at line 1990 of file parameters.h.
References Add_FixedTable(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Font | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
const SG_Char * | pInit = NULL ) |
Definition at line 609 of file parameters.cpp.
References CSG_Parameter, PARAMETER_TYPE_Font, Set_Callback(), CSG_Parameter::Set_Default(), CSG_Parameter::Set_Value(), and SG_Char.
Referenced by Add_Font().
|
inline |
Definition at line 1986 of file parameters.h.
References Add_Font(), CSG_Parameter, CSG_Parameter::Get_Identifier(), SG_Char, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Grid | ( | const CSG_String & | ParentID, |
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 ) |
Definition at line 690 of file parameters.cpp.
References _TL, Add_Grid_System(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Grid, PARAMETER_TYPE_Grid_System, and SG_T.
Referenced by Add_Grid(), and Add_Grid_or_Const().
|
inline |
Definition at line 1994 of file parameters.h.
References Add_Grid(), CSG_Parameter, CSG_Parameter::Get_Identifier(), SG_DATATYPE_Undefined, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Grid_List | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint, | ||
bool | bSystem_Dependent = true ) |
Definition at line 736 of file parameters.cpp.
References CSG_Parameter, CSG_Parameter::Get_Identifier(), Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_OPTIONAL, PARAMETER_OUTPUT, PARAMETER_TYPE_Grid_List, and PARAMETER_TYPE_Grid_System.
Referenced by Add_Grid_List().
|
inline |
Definition at line 2000 of file parameters.h.
References Add_Grid_List(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::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 ) |
Definition at line 716 of file parameters.cpp.
References Add_Grid(), CSG_Parameter, Maximum, Minimum, and PARAMETER_INPUT_OPTIONAL.
Referenced by Add_Grid_or_Const().
|
inline |
Definition at line 1996 of file parameters.h.
References Add_Grid_or_Const(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Grid_Output | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 726 of file parameters.cpp.
References CSG_Parameter, PARAMETER_OUTPUT_OPTIONAL, PARAMETER_TYPE_DataObject_Output, and SG_DATAOBJECT_TYPE_Grid.
Referenced by Add_Grid_Output().
|
inline |
Definition at line 1998 of file parameters.h.
References Add_Grid_Output(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Grid_Resampling | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
CSG_Grid_Resampling | Methods = CSG_Grid_Resampling::Interpolations, | ||
CSG_Grid_Resampling | Default = CSG_Grid_Resampling::Bicubic_2 ) |
Definition at line 642 of file parameters.cpp.
References _TL, ADD_METHOD, CSG_Parameter::asChoice(), Bicubic_1, Bicubic_2, Bilinear, CSG_Parameter, CSG_String::Format(), Majority, Maximum, Mean_Cells, Mean_Nodes, Minimum, NearestNeighbour, PARAMETER_TYPE_Choice, Set_Callback(), CSG_Parameter::Set_Default(), CSG_Parameter_Choice::Set_Items(), and CSG_Parameter::Set_Value().
CSG_Parameter * CSG_Parameters::Add_Grid_System | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
CSG_Grid_System * | pInit = NULL ) |
Definition at line 677 of file parameters.cpp.
References CSG_Parameter::asGrid_System(), CSG_Grid_System::Assign(), CSG_Parameter, and PARAMETER_TYPE_Grid_System.
Referenced by Add_Grid(), Add_Grid_System(), Add_Grids(), and Use_Grid_System().
|
inline |
Definition at line 1992 of file parameters.h.
References Add_Grid_System(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Grids | ( | const CSG_String & | ParentID, |
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 ) |
Definition at line 760 of file parameters.cpp.
References _TL, Add_Grid_System(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Grid_System, PARAMETER_TYPE_Grids, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Grids_List | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint, | ||
bool | bSystem_Dependent = true ) |
Definition at line 796 of file parameters.cpp.
References CSG_Parameter, CSG_Parameter::Get_Identifier(), Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_OPTIONAL, PARAMETER_OUTPUT, PARAMETER_TYPE_Grid_System, and PARAMETER_TYPE_Grids_List.
CSG_Parameter * CSG_Parameters::Add_Grids_Output | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 786 of file parameters.cpp.
References CSG_Parameter, PARAMETER_OUTPUT_OPTIONAL, PARAMETER_TYPE_DataObject_Output, and SG_DATAOBJECT_TYPE_Grids.
CSG_Parameter * CSG_Parameters::Add_Info_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 ) |
Definition at line 506 of file parameters.cpp.
References CSG_Parameter.
Referenced by Add_Info_Range().
|
inline |
Definition at line 1976 of file parameters.h.
References Add_Info_Range(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Info_String | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
const CSG_String & | String, | ||
bool | bLongText = false ) |
Definition at line 563 of file parameters.cpp.
References CSG_Parameter.
Referenced by Add_Info_String().
|
inline |
Definition at line 1982 of file parameters.h.
References Add_Info_String(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Info_Value | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
TSG_Parameter_Type | Type, | ||
double | Value = 0.0 ) |
Definition at line 459 of file parameters.cpp.
References CSG_Parameter.
Referenced by Add_Info_Value().
|
inline |
Definition at line 1960 of file parameters.h.
References Add_Info_Value(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Int | ( | const CSG_String & | ParentID, |
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 ) |
Definition at line 470 of file parameters.cpp.
References Add_Value(), CSG_Parameter, Maximum, Minimum, and PARAMETER_TYPE_Int.
Referenced by Add_Int(), and CSG_Grid_Cell_Addressor::Add_Parameters().
|
inline |
Definition at line 1964 of file parameters.h.
References Add_Int(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Node | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
bool | bCollapsed = false ) |
Definition at line 440 of file parameters.cpp.
References CSG_Parameter, PARAMETER_GUI_COLLAPSED, PARAMETER_INFORMATION, and PARAMETER_TYPE_Node.
Referenced by Add_Node().
|
inline |
Definition at line 1956 of file parameters.h.
References Add_Node(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Parameter | ( | CSG_Parameter * | pParameter | ) |
Definition at line 434 of file parameters.cpp.
References CSG_Parameter.
CSG_Parameter * CSG_Parameters::Add_Parameters | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 995 of file parameters.cpp.
References CSG_Parameter::asParameters(), CSG_Parameter, and PARAMETER_TYPE_Parameters.
Referenced by Add_Parameters().
|
inline |
Definition at line 2032 of file parameters.h.
References Add_Parameters(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_PointCloud | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint ) |
Definition at line 964 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_PointCloud.
Referenced by Add_PointCloud().
|
inline |
Definition at line 2026 of file parameters.h.
References Add_PointCloud(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_PointCloud_List | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint ) |
Definition at line 982 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_PointCloud_List.
Referenced by Add_PointCloud_List().
|
inline |
Definition at line 2030 of file parameters.h.
References Add_PointCloud_List(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_PointCloud_Output | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 972 of file parameters.cpp.
References CSG_Parameter, PARAMETER_OUTPUT_OPTIONAL, PARAMETER_TYPE_DataObject_Output, and SG_DATAOBJECT_TYPE_PointCloud.
Referenced by Add_PointCloud_Output().
|
inline |
Definition at line 2028 of file parameters.h.
References Add_PointCloud_Output(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::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 ) |
Definition at line 501 of file parameters.cpp.
References CSG_Parameter, Maximum, and Minimum.
Referenced by Add_Range().
|
inline |
Definition at line 1974 of file parameters.h.
References Add_Range(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
void CSG_Parameters::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 ) |
Add a reference to the list of references.
Definition at line 361 of file parameters.cpp.
References CSG_String::Format(), CSG_String::is_Empty(), and SG_Char.
void CSG_Parameters::Add_Reference | ( | const CSG_String & | Link, |
const SG_Char * | Link_Text = NULL ) |
Add a reference to the list of references.
Definition at line 383 of file parameters.cpp.
References CSG_String::c_str(), CSG_String::Format(), and SG_Char.
CSG_Parameter * CSG_Parameters::Add_Shapes | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint, | ||
TSG_Shape_Type | Shape_Type = SHAPE_TYPE_Undefined ) |
Definition at line 898 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_Shapes.
Referenced by Add_Shapes().
|
inline |
Definition at line 2014 of file parameters.h.
References Add_Shapes(), CSG_Parameter, CSG_Parameter::Get_Identifier(), SG_T, and SHAPE_TYPE_Undefined.
CSG_Parameter * CSG_Parameters::Add_Shapes_List | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint, | ||
TSG_Shape_Type | Type = SHAPE_TYPE_Undefined ) |
Definition at line 918 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_Shapes_List.
Referenced by Add_Shapes_List().
|
inline |
Definition at line 2018 of file parameters.h.
References Add_Shapes_List(), CSG_Parameter, CSG_Parameter::Get_Identifier(), SG_T, and SHAPE_TYPE_Undefined.
CSG_Parameter * CSG_Parameters::Add_Shapes_Output | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 908 of file parameters.cpp.
References CSG_Parameter, PARAMETER_OUTPUT_OPTIONAL, PARAMETER_TYPE_DataObject_Output, and SG_DATAOBJECT_TYPE_Shapes.
Referenced by Add_Shapes_Output().
|
inline |
Definition at line 2016 of file parameters.h.
References Add_Shapes_Output(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_String | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
const CSG_String & | String, | ||
bool | bLongText = false, | ||
bool | bPassword = false ) |
Definition at line 558 of file parameters.cpp.
References CSG_Parameter.
Referenced by Add_String(), and CSG_Parameters_CRSPicker::Create().
|
inline |
Definition at line 1980 of file parameters.h.
References Add_String(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Table | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint ) |
Definition at line 867 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_Table.
Referenced by Add_Table().
|
inline |
Definition at line 2008 of file parameters.h.
References Add_Table(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Table_Field | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
bool | bAllowNone = false ) |
Definition at line 820 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_OPTIONAL, PARAMETER_TYPE_PointCloud, PARAMETER_TYPE_Shapes, PARAMETER_TYPE_Table, PARAMETER_TYPE_Table_Field, and PARAMETER_TYPE_TIN.
Referenced by Add_Table_Field(), and Add_Table_Field_or_Const().
|
inline |
Definition at line 2002 of file parameters.h.
References Add_Table_Field(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Table_Field_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 ) |
Definition at line 837 of file parameters.cpp.
References Add_Table_Field(), CSG_Parameter, Maximum, and Minimum.
Referenced by Add_Table_Field_or_Const().
|
inline |
Definition at line 2004 of file parameters.h.
References Add_Table_Field_or_Const(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
CSG_Parameter * CSG_Parameters::Add_Table_Fields | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 850 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_PointCloud, PARAMETER_TYPE_Shapes, PARAMETER_TYPE_Table, PARAMETER_TYPE_Table_Fields, and PARAMETER_TYPE_TIN.
Referenced by Add_Table_Fields().
|
inline |
Definition at line 2006 of file parameters.h.
References Add_Table_Fields(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Table_List | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint ) |
Definition at line 885 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_Table_List.
Referenced by Add_Table_List().
|
inline |
Definition at line 2012 of file parameters.h.
References Add_Table_List(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Table_Output | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 875 of file parameters.cpp.
References CSG_Parameter, PARAMETER_OUTPUT_OPTIONAL, PARAMETER_TYPE_DataObject_Output, and SG_DATAOBJECT_TYPE_Table.
Referenced by Add_Table_Output().
|
inline |
Definition at line 2010 of file parameters.h.
References Add_Table_Output(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_TIN | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint ) |
Definition at line 933 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_TIN.
Referenced by Add_TIN().
|
inline |
Definition at line 2020 of file parameters.h.
References Add_TIN(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_TIN_List | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description, | ||
int | Constraint ) |
Definition at line 951 of file parameters.cpp.
References CSG_Parameter, and PARAMETER_TYPE_TIN_List.
Referenced by Add_TIN_List().
|
inline |
Definition at line 2024 of file parameters.h.
References Add_TIN_List(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_TIN_Output | ( | const CSG_String & | ParentID, |
const CSG_String & | ID, | ||
const CSG_String & | Name, | ||
const CSG_String & | Description ) |
Definition at line 941 of file parameters.cpp.
References CSG_Parameter, PARAMETER_OUTPUT_OPTIONAL, PARAMETER_TYPE_DataObject_Output, and SG_DATAOBJECT_TYPE_TIN.
Referenced by Add_TIN_Output().
|
inline |
Definition at line 2022 of file parameters.h.
References Add_TIN_Output(), CSG_Parameter, CSG_Parameter::Get_Identifier(), and SG_T.
CSG_Parameter * CSG_Parameters::Add_Value | ( | const CSG_String & | ParentID, |
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 ) |
Following parameter types can be used: PARAMETER_TYPE_Bool PARAMETER_TYPE_Int PARAMETER_TYPE_Double PARAMETER_TYPE_Degree PARAMETER_TYPE_Color
Definition at line 454 of file parameters.cpp.
References CSG_Parameter, Maximum, and Minimum.
Referenced by Add_Bool(), Add_Color(), Add_Date(), Add_Degree(), Add_Double(), Add_Int(), and Add_Value().
|
inline |
Definition at line 1958 of file parameters.h.
References Add_Value(), CSG_Parameter, CSG_Parameter::Get_Identifier(), Maximum, Minimum, and SG_T.
bool CSG_Parameters::Assign | ( | CSG_Parameters * | pSource | ) |
Definition at line 1545 of file parameters.cpp.
References Create(), and CSG_Parameters().
bool CSG_Parameters::Assign_Parameters | ( | CSG_Parameters * | pSource | ) |
Definition at line 1575 of file parameters.cpp.
References CSG_Parameters(), Del_Parameters(), CSG_Parameter::Get_Identifier(), and Get_Parameter().
bool CSG_Parameters::Assign_Values | ( | CSG_Parameters * | pSource | ) |
Definition at line 1551 of file parameters.cpp.
References CSG_Parameter::Assign(), CSG_Parameter, CSG_Parameters(), Get_Count(), CSG_Parameter::Get_Identifier(), Get_Parameter(), and CSG_Parameter::Get_Type().
Referenced by Pop().
bool CSG_Parameters::Cmp_Identifier | ( | const CSG_String & | Identifier | ) | const |
Change the identifier of this parameter list after construction.
Definition at line 331 of file parameters.cpp.
Referenced by Get_Parameter(), and CSG_Parameters_Grid_Target::On_Parameter_Changed().
bool CSG_Parameters::Create | ( | const CSG_Parameters & | Parameters | ) |
Definition at line 124 of file parameters.cpp.
References CSG_Parameters(), Destroy(), Get_Description(), CSG_Parameter::Get_Identifier(), Get_Identifier(), Get_Name(), Get_Parameter(), Set_Description(), Set_Identifier(), and Set_Name().
Referenced by CSG_Tool::Add_Parameters(), Assign(), Create(), CSG_Parameters(), CSG_Parameters(), CSG_Parameters(), CSG_Tool, and operator=().
bool CSG_Parameters::Create | ( | const SG_Char * | Name, |
const SG_Char * | Description = NULL, | ||
const SG_Char * | Identifier = NULL, | ||
bool | bGrid_System = false ) |
Definition at line 153 of file parameters.cpp.
References Destroy(), Set_Description(), Set_Identifier(), Set_Name(), SG_Char, SG_T, and Use_Grid_System().
bool CSG_Parameters::Create | ( | void * | pOwner, |
const SG_Char * | Name, | ||
const SG_Char * | Description = NULL, | ||
const SG_Char * | Identifier = NULL, | ||
bool | bGrid_System = false ) |
Definition at line 170 of file parameters.cpp.
bool CSG_Parameters::DataObjects_Check | ( | bool | bSilent = false | ) |
Definition at line 1609 of file parameters.cpp.
References _TL, CSG_String::Append(), CSG_String::c_str(), CSG_String::Format(), Get_Count(), Get_Name(), and SG_UI_Dlg_Message().
bool CSG_Parameters::Del_Parameter | ( | const CSG_String & | ID | ) |
Definition at line 1330 of file parameters.cpp.
References Del_Parameter(), and CSG_String::Length().
bool CSG_Parameters::Del_Parameter | ( | int | i | ) |
Definition at line 1283 of file parameters.cpp.
References CSG_Parameter, Del_Parameter(), CSG_Parameter::Get_Child(), CSG_Parameter::Get_Children_Count(), CSG_Parameter::Get_Identifier(), CSG_Parameter::Get_Parent(), and SG_Realloc().
Referenced by CSG_Tool::DataObject_Set_Parameters(), Del_Parameter(), and Del_Parameter().
bool CSG_Parameters::Del_Parameters | ( | void | ) |
Definition at line 1347 of file parameters.cpp.
References SG_Free().
Referenced by Assign_Parameters(), and Destroy().
void CSG_Parameters::Del_References | ( | void | ) |
Delete all references.
Definition at line 395 of file parameters.cpp.
void CSG_Parameters::Destroy | ( | void | ) |
Definition at line 183 of file parameters.cpp.
References Del_Parameters(), and Pop().
Referenced by Create(), Create(), CSG_Tool, and ~CSG_Parameters().
|
inline |
Definition at line 1736 of file parameters.h.
Referenced by Assign_Values(), DataObjects_Check(), CSG_Parameter::Get_Description(), Get_String(), CSG_Parameter::is_Compatible(), CSG_Parameter::is_Value_Equal(), Restore_Defaults(), Save(), Set_History(), Set_Manager(), and Set_Tool().
|
inline |
Definition at line 1746 of file parameters.h.
Referenced by Create().
|
inline |
Definition at line 1907 of file parameters.h.
|
inline |
Definition at line 1906 of file parameters.h.
References CSG_Parameter.
|
inline |
Definition at line 1740 of file parameters.h.
Referenced by Create(), CSG_Tool_Chain::Get_Script(), CSG_Parameters_Grid_Target::On_Parameter_Changed(), CSG_Parameters_Point_Search::On_Parameter_Changed(), CSG_Parameters_Grid_Target::On_Parameters_Enable(), CSG_Parameters_Point_Search::On_Parameters_Enable(), Set_History(), CSG_Parameters_Grid_Target::Set_User_Defined(), and CSG_Parameters_Grid_Target::Set_User_Defined_ZLevels().
|
inline |
Definition at line 1726 of file parameters.h.
|
inline |
Definition at line 1743 of file parameters.h.
Referenced by Create(), DataObjects_Check(), and SG_UI_Dlg_Parameters().
|
inline |
Definition at line 1721 of file parameters.h.
Referenced by CSG_Parameter_Parameters::CSG_Parameter_Parameters(), and has_GUI().
CSG_Parameter * CSG_Parameters::Get_Parameter | ( | const char * | ID, |
bool | MsgOnError = false ) const |
Definition at line 1228 of file parameters.cpp.
References CSG_Parameter, and Get_Parameter().
CSG_Parameter * CSG_Parameters::Get_Parameter | ( | const CSG_String & | ID, |
bool | MsgOnError = false ) const |
Definition at line 1230 of file parameters.cpp.
References _TL, CSG_String::AfterFirst(), CSG_Parameter::asParameters(), CSG_Parameter::asRange(), CSG_String::BeforeFirst(), CSG_String::c_str(), Cmp_Identifier(), CSG_String::CmpNoCase(), CSG_Parameter, CSG_String::Find(), CSG_String::Format(), CSG_Parameter_Range::Get_Max_Parameter(), CSG_Parameter_Range::Get_Min_Parameter(), Get_Parameter(), CSG_Parameter::Get_Type(), CSG_String::is_Empty(), PARAMETER_TYPE_Parameters, PARAMETER_TYPE_Range, and SG_UI_Msg_Add_Error().
CSG_Parameter * CSG_Parameters::Get_Parameter | ( | const wchar_t * | ID, |
bool | MsgOnError = false ) const |
Definition at line 1229 of file parameters.cpp.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1763 of file parameters.h.
References CSG_Parameter.
Referenced by Add_Grid(), Add_Grid_List(), Add_Grids(), Add_Grids_List(), Add_Table_Field(), Add_Table_Fields(), Assign_Parameters(), Assign_Values(), Create(), Get_Parameter(), Get_Parameter(), Get_Parameter(), CSG_Parameter::is_Compatible(), CSG_Parameter::is_Value_Equal(), Load(), operator()(), operator()(), operator()(), operator()(), operator[](), operator[](), operator[](), operator[](), Serialize_Compatibility(), Set_Enabled(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), and SG_XML_Add_Parameter().
CSG_Parameter * CSG_Parameters::Get_Parameter | ( | int | i, |
bool | MsgOnError ) const |
Definition at line 1212 of file parameters.cpp.
References _TL, CSG_Parameter, CSG_String::Format(), and SG_UI_Msg_Add_Error().
|
inline |
Definition at line 1751 of file parameters.h.
bool CSG_Parameters::Get_String | ( | CSG_String & | String, |
bool | bOptionsOnly ) |
Definition at line 1943 of file parameters.cpp.
References CSG_Parameter::_Set_String(), CSG_Parameter::asGrid_System(), CSG_Parameter::asString(), CSG_String::c_str(), CSG_Parameter, CSG_String::Format(), Get_Count(), CSG_Parameter::Get_Name(), CSG_Parameter::Get_Type(), CSG_Parameter::is_Enabled(), CSG_Parameter::is_Information(), CSG_Parameter::is_Option(), CSG_String::Left(), CSG_String::Length(), and PARAMETER_TYPE_String.
Referenced by Msg_String().
|
inline |
Definition at line 1723 of file parameters.h.
References CSG_Tool.
Referenced by CSG_Tool::_On_Parameter_Changed(), and has_GUI().
bool CSG_Parameters::has_GUI | ( | void | ) | const |
If parameters are owned by a tool the function returns the tool's GUI mode, or the presence of a GUI frame otherwise.
Definition at line 311 of file parameters.cpp.
References Get_Owner(), Get_Tool(), has_GUI(), and SG_UI_Get_Window_Main().
Referenced by has_GUI().
|
inline |
Definition at line 1904 of file parameters.h.
Referenced by CSG_Tool::Dlg_Parameters().
bool CSG_Parameters::Load | ( | const CSG_MetaData & | Data | ) |
Definition at line 2142 of file parameters.cpp.
References CSG_MetaData::Cmp_Name(), CSG_Parameter, CSG_MetaData::Get_Children_Count(), Get_Parameter(), CSG_MetaData::Get_Property(), CSG_Parameter::has_Changed(), and CSG_Parameter::Serialize().
Referenced by Load(), Serialize(), and Serialize().
bool CSG_Parameters::Load | ( | const CSG_String & | File | ) |
Definition at line 2181 of file parameters.cpp.
References CSG_MetaData::Load(), and Load().
bool CSG_Parameters::Msg_String | ( | bool | bOptionsOnly | ) |
Definition at line 1977 of file parameters.cpp.
References _TL, CSG_String::Format(), Get_String(), SG_UI_Msg_Add_Execution(), SG_UI_MSG_STYLE_01, and SG_UI_MSG_STYLE_NORMAL.
|
inline |
Definition at line 1771 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1770 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1772 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1769 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1761 of file parameters.h.
References Create(), and CSG_Parameters().
|
inline |
Definition at line 1776 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1775 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1777 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
|
inline |
Definition at line 1774 of file parameters.h.
References CSG_Parameter, and Get_Parameter().
bool CSG_Parameters::Pop | ( | void | ) |
Restores previously pushed parameter settings and data manager.
Definition at line 285 of file parameters.cpp.
References Assign_Values(), and CSG_Parameters().
Referenced by Destroy(), and CSG_Tool::Settings_Pop().
bool CSG_Parameters::Push | ( | class CSG_Data_Manager * | pManager = NULL, |
bool | bRestoreDefaults = true ) |
Stores the current parameter settings including the data manager to an internal CSG_Parameters copy. Settings and data manager can be restored by a subsequent call to Pop().
Definition at line 262 of file parameters.cpp.
References CSG_Parameters(), and Restore_Defaults().
Referenced by CSG_Tool::Settings_Push().
bool CSG_Parameters::Reset_Grid_System | ( | void | ) |
Resets the parameters' grid system if it has one. This is typically the case, if it represents the parameters list of a CSG_Tool_Grid object.
Definition at line 2127 of file parameters.cpp.
References Set_Grid_System().
Referenced by CSG_Tool::Reset_Grid_System().
bool CSG_Parameters::Restore_Defaults | ( | bool | bClearData = false | ) |
Definition at line 1513 of file parameters.cpp.
References DATAOBJECT_NOTSET, Get_Count(), and Set_Callback().
Referenced by Push(), and CSG_Tool::Reset().
bool CSG_Parameters::Save | ( | const CSG_String & | File | ) | const |
Definition at line 2187 of file parameters.cpp.
References CSG_MetaData::Save(), and Save().
bool CSG_Parameters::Save | ( | CSG_MetaData & | Data | ) | const |
Definition at line 2165 of file parameters.cpp.
References CSG_MetaData::Destroy(), Get_Count(), CSG_MetaData::Set_Name(), and CSG_MetaData::Set_Property().
Referenced by Save(), Serialize(), Serialize(), Serialize(), and Serialize().
|
inline |
Definition at line 1891 of file parameters.h.
References Save().
|
inline |
Definition at line 1890 of file parameters.h.
|
inline |
Definition at line 1889 of file parameters.h.
References Save().
|
inline |
Definition at line 1888 of file parameters.h.
bool CSG_Parameters::Serialize_Compatibility | ( | CSG_File & | Stream | ) |
Definition at line 2194 of file parameters.cpp.
References CSG_Parameter_List::Add_Item(), CSG_Parameter::asColors(), CSG_Parameter::asGrid_System(), CSG_String::asInt(), CSG_Parameter::asList(), CSG_Parameter::asParameters(), CSG_Parameter::asRange(), CSG_Grid_System::Assign(), CSG_Table::Assign_Values(), CSG_Parameter::asTable(), CSG_String::Clear(), CSG_String::Cmp(), CSG_Parameter, DATAOBJECT_CREATE, Get_Parameter(), CSG_File::is_Open(), CSG_File::Read(), CSG_File::Read_Line(), CSG_File::Scan_Double(), CSG_File::Scan_Int(), CSG_Colors::Serialize(), CSG_Table::Serialize(), Serialize_Compatibility(), CSG_Parameter_Range::Set_Range(), and CSG_Parameter::Set_Value().
Referenced by Serialize_Compatibility().
bool CSG_Parameters::Set_Callback | ( | bool | bActive = true | ) |
Definition at line 1398 of file parameters.cpp.
References PARAMETER_TYPE_Parameters.
Referenced by CSG_Parameter_Grid_System::_Set_Value(), Add_Choice(), Add_Data_Type(), Add_FilePath(), Add_Font(), Add_Grid_Resampling(), Restore_Defaults(), CSG_Tool::Set_Callback(), CSG_Parameters_Grid_Target::Set_User_Defined(), and CSG_Parameters_Grid_Target::Set_User_Defined_ZLevels().
TSG_PFNC_Parameter_Changed CSG_Parameters::Set_Callback_On_Parameter_Changed | ( | TSG_PFNC_Parameter_Changed | pCallback | ) |
Definition at line 1377 of file parameters.cpp.
References PARAMETER_TYPE_Parameters.
Referenced by CSG_Tool::Add_Parameters().
void CSG_Parameters::Set_Description | ( | const CSG_String & | Description | ) |
Change the description for this parameter list after construction.
Definition at line 351 of file parameters.cpp.
void CSG_Parameters::Set_Enabled | ( | bool | bEnabled = true | ) |
Enable or disable all parameters.
Definition at line 405 of file parameters.cpp.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters(), CSG_Distance_Weighting::Enable_Parameters(), CSG_Grid_Cell_Addressor::Enable_Parameters(), CSG_Parameters_Grid_Target::On_Parameters_Enable(), and CSG_Parameters_Point_Search::On_Parameters_Enable().
void CSG_Parameters::Set_Enabled | ( | const CSG_String & | Identifier, |
bool | bEnabled = true ) |
Enable or disable parameter with given identifier.
Definition at line 418 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), and CSG_Parameter::Set_Enabled().
bool CSG_Parameters::Set_Grid_System | ( | const CSG_Grid_System & | System | ) |
Sets the parameters' grid system if it has one. This is typically the case, if it represents the parameters list of a CSG_Tool_Grid object.
Definition at line 2116 of file parameters.cpp.
Referenced by Reset_Grid_System().
bool CSG_Parameters::Set_History | ( | CSG_MetaData & | History, |
bool | bOptions = true, | ||
bool | bDataObjects = true ) |
Definition at line 2002 of file parameters.cpp.
References CSG_MetaData::Add_Child(), CSG_MetaData::Add_Children(), CSG_MetaData::Add_Property(), CSG_Parameter::asDataObject(), CSG_Parameter::asList(), CSG_Parameter::asParameters(), CSG_Parameter, CSG_MetaData::Get_Children_Count(), Get_Count(), CSG_Data_Object::Get_File_Name(), CSG_Data_Object::Get_History(), CSG_Parameter::Get_Identifier(), Get_Identifier(), CSG_Parameter_List::Get_Item(), CSG_Parameter_List::Get_Item_Count(), CSG_Parameter::Get_Name(), CSG_Parameter::Get_Parent(), CSG_Parameter::Get_Type(), CSG_Parameter::Get_Type_Identifier(), CSG_Parameter::is_DataObject(), CSG_Parameter::is_DataObject_List(), CSG_Parameter::is_Enabled(), CSG_Parameter::is_Information(), CSG_Parameter::is_Input(), CSG_Parameter::is_Option(), CSG_Parameter::is_Parameters(), PARAMETER_TYPE_Grid, PARAMETER_TYPE_Grid_List, PARAMETER_TYPE_Grid_System, PARAMETER_TYPE_Grids, PARAMETER_TYPE_Grids_List, PARAMETER_TYPE_String, CSG_Parameter::Serialize(), Set_History(), CSG_MetaData::Set_Name(), and SG_Get_History_Ignore_Lists().
Referenced by CSG_Tool::Dlg_Parameters(), and Set_History().
void CSG_Parameters::Set_Identifier | ( | const CSG_String & | Identifier | ) |
Change the identifier of this parameter list after construction.
Definition at line 321 of file parameters.cpp.
void CSG_Parameters::Set_Manager | ( | class CSG_Data_Manager * | pManager | ) |
Set the responsible data manager for this parameter list. If it is not NULL, the parameter list will perform checks beforehand tool executions, e.g. check if all data sets in its parameter list are really loaded.
Definition at line 223 of file parameters.cpp.
References Get_Count(), and PARAMETER_TYPE_Parameters.
Referenced by CSG_Tool::Set_Manager().
void CSG_Parameters::Set_Name | ( | const CSG_String & | Name | ) |
Change the name of this parameter list after construction.
Definition at line 341 of file parameters.cpp.
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
const char * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1499 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
const CSG_String & | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1488 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
const wchar_t * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1504 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
CSG_Data_Object * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1458 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
CSG_Parameter * | pValue ) |
Definition at line 1438 of file parameters.cpp.
References CSG_Parameter, and Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
double | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1478 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
int | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1468 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const char * | ID, |
void * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1448 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
const char * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1498 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
const CSG_String & | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1490 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Undefined, and CSG_Parameter::Set_Value().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
const wchar_t * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1503 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
CSG_Data_Object * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1460 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Undefined, and CSG_Parameter::Set_Value().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
CSG_Parameter * | pValue ) |
Definition at line 1440 of file parameters.cpp.
References CSG_Parameter::Assign(), CSG_Parameter, Get_Parameter(), and CSG_Parameter::Get_Type().
Referenced by CSG_Tool::DataObject_Update(), CSG_Parameters_CRSPicker::On_Parameter_Changed(), CSG_Parameters_Point_Search::On_Parameter_Changed(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), CSG_Parameters_Grid_Target::Set_User_Defined(), and CSG_Parameters_Grid_Target::Set_User_Defined_ZLevels().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
double | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1480 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Undefined, and CSG_Parameter::Set_Value().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
int | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1470 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Undefined, and CSG_Parameter::Set_Value().
bool CSG_Parameters::Set_Parameter | ( | const CSG_String & | ID, |
void * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1450 of file parameters.cpp.
References CSG_Parameter, Get_Parameter(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Undefined, and CSG_Parameter::Set_Value().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
const char * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1500 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
const CSG_String & | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1489 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
const wchar_t * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1505 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
CSG_Data_Object * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1459 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
CSG_Parameter * | pValue ) |
Definition at line 1439 of file parameters.cpp.
References CSG_Parameter, and Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
double | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1479 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
int | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1469 of file parameters.cpp.
References Set_Parameter().
bool CSG_Parameters::Set_Parameter | ( | const wchar_t * | ID, |
void * | Value, | ||
int | Type = PARAMETER_TYPE_Undefined ) |
Definition at line 1449 of file parameters.cpp.
References Set_Parameter().
void CSG_Parameters::Set_Tool | ( | class CSG_Tool * | pTool | ) |
Definition at line 202 of file parameters.cpp.
References CSG_Tool, Get_Count(), and PARAMETER_TYPE_Parameters.
bool CSG_Parameters::Use_Grid_System | ( | void | ) |
Let parameters list provide a default grid system after construction.
Definition at line 241 of file parameters.cpp.
References _TL, and Add_Grid_System().
Referenced by Create().
|
friend |
Definition at line 1702 of file parameters.h.
References CSG_Parameter.
Referenced by Add_Bool(), Add_Bool(), Add_Choice(), Add_Choice(), Add_Choices(), Add_Color(), Add_Color(), Add_Colors(), Add_Colors(), Add_Colors(), Add_Data_Type(), Add_Date(), Add_Date(), Add_Degree(), Add_Degree(), Add_Double(), Add_Double(), Add_FilePath(), Add_FilePath(), Add_FixedTable(), Add_FixedTable(), Add_Font(), Add_Font(), Add_Grid(), Add_Grid(), Add_Grid_List(), Add_Grid_List(), Add_Grid_or_Const(), Add_Grid_or_Const(), Add_Grid_Output(), Add_Grid_Output(), Add_Grid_Resampling(), Add_Grid_System(), Add_Grid_System(), Add_Grids(), Add_Grids_List(), Add_Grids_Output(), Add_Info_Range(), Add_Info_Range(), Add_Info_String(), Add_Info_String(), Add_Info_Value(), Add_Info_Value(), Add_Int(), Add_Int(), Add_Node(), Add_Node(), Add_Parameter(), Add_Parameters(), Add_Parameters(), Add_PointCloud(), Add_PointCloud(), Add_PointCloud_List(), Add_PointCloud_List(), Add_PointCloud_Output(), Add_PointCloud_Output(), Add_Range(), Add_Range(), Add_Shapes(), Add_Shapes(), Add_Shapes_List(), Add_Shapes_List(), Add_Shapes_Output(), Add_Shapes_Output(), Add_String(), Add_String(), Add_Table(), Add_Table(), Add_Table_Field(), Add_Table_Field(), Add_Table_Field_or_Const(), Add_Table_Field_or_Const(), Add_Table_Fields(), Add_Table_Fields(), Add_Table_List(), Add_Table_List(), Add_Table_Output(), Add_Table_Output(), Add_TIN(), Add_TIN(), Add_TIN_List(), Add_TIN_List(), Add_TIN_Output(), Add_TIN_Output(), Add_Value(), Add_Value(), Assign_Values(), CSG_Parameter, Del_Parameter(), Get_Grid_System_Parameter(), Get_Parameter(), Get_Parameter(), Get_Parameter(), Get_Parameter(), Get_Parameter(), Get_String(), Load(), operator()(), operator()(), operator()(), operator()(), operator[](), operator[](), operator[](), operator[](), Serialize_Compatibility(), Set_Enabled(), Set_History(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), Set_Parameter(), and Set_Parameter().
|
friend |
Definition at line 1703 of file parameters.h.
References Create(), CSG_Parameters(), CSG_Tool, Destroy(), and SG_Char.
Referenced by CSG_Tool, Get_Tool(), and Set_Tool().