SAGA API
v9.6
|
#include <parameters.h>
Public Member Functions | |
CSG_Parameters * | Get_Parameters (void) const |
CSG_Parameter * | Get_Parent (void) const |
class CSG_Data_Manager * | Get_Manager (void) const |
virtual TSG_Parameter_Type | Get_Type (void) const =0 |
CSG_String | Get_Type_Identifier (void) const |
CSG_String | Get_Type_Name (void) const |
const SG_Char * | Get_Identifier (void) const |
bool | Cmp_Identifier (const CSG_String &Identifier) const |
CSG_String | Get_CmdID (void) const |
bool | Set_Name (const CSG_String &Name) |
const SG_Char * | Get_Name (void) const |
const SG_Char * | Get_Description (void) const |
bool | Set_Description (const CSG_String &Description) |
CSG_String | Get_Description (int Flags) const |
CSG_String | Get_Description (int Flags, const SG_Char *Separator) const |
bool | Set_Enabled (bool bEnabled=true) |
bool | is_Enabled (bool bCheckEnv=true) const |
virtual bool | is_Valid (void) const |
bool | is_Input (void) const |
bool | is_Output (void) const |
bool | is_Optional (void) const |
bool | is_Information (void) const |
bool | is_Option (void) const |
bool | is_DataObject (void) const |
bool | is_DataObject_List (void) const |
bool | is_Parameters (void) const |
bool | is_Serializable (void) const |
bool | is_Compatible (CSG_Parameter *pParameter) const |
bool | is_Value_Equal (CSG_Parameter *pParameter) const |
void | Set_UseInGUI (bool bDoUse=false) |
void | Set_UseInCMD (bool bDoUse=false) |
bool | do_UseInGUI (void) const |
bool | do_UseInCMD (void) const |
void | ignore_Projection (bool bIgnore) |
bool | ignore_Projection (void) const |
TSG_Data_Object_Type | Get_DataObject_Type (void) const |
int | Get_Children_Count (void) const |
CSG_Parameter * | Get_Child (int iChild) const |
bool | Set_Children_Enabled (bool bEnabled=true) |
virtual bool | Set_Value (int Value) |
virtual bool | Set_Value (double Value) |
virtual bool | Set_Value (const CSG_String &Value) |
virtual bool | Set_Value (const char *Value) |
virtual bool | Set_Value (const wchar_t *Value) |
virtual bool | Set_Value (void *Value) |
virtual bool | Set_Value (CSG_Parameter *Value) |
virtual bool | Toggle_Value (void) |
bool | Set_Default (int Value) |
bool | Set_Default (double Value) |
bool | Set_Default (const CSG_String &Value) |
const CSG_String & | Get_Default (void) const |
virtual bool | is_Default (void) const |
virtual bool | Restore_Default (void) |
bool | Check (bool bSilent=true) |
bool | has_Changed (int Check_Flags=PARAMETER_CHECK_ALL) |
bool | asBool (void) const |
int | asInt (void) const |
long | asColor (void) const |
double | asDouble (void) const |
const SG_Char * | asString (void) const |
void * | asPointer (void) const |
CSG_Colors * | asColors (void) const |
const SG_Char * | asFont (void) const |
CSG_Grid_System * | asGrid_System (void) const |
CSG_Data_Object * | asDataObject (void) const |
CSG_Grid * | asGrid (void) const |
CSG_Grids * | asGrids (void) const |
CSG_Table * | asTable (void) const |
CSG_Shapes * | asShapes (void) const |
CSG_TIN * | asTIN (void) const |
CSG_PointCloud * | asPointCloud (void) const |
class CSG_Parameter_Value * | asValue (void) const |
class CSG_Parameter_Date * | asDate (void) const |
class CSG_Parameter_Data_Type * | asDataType (void) const |
class CSG_Parameter_Choice * | asChoice (void) const |
class CSG_Parameter_Choices * | asChoices (void) const |
class CSG_Parameter_Range * | asRange (void) const |
class CSG_Parameter_File_Name * | asFilePath (void) const |
class CSG_Parameter_Table_Fields * | asTableFields (void) const |
class CSG_Parameters * | asParameters (void) const |
class CSG_Parameter_List * | asList (void) const |
class CSG_Parameter_Grid_List * | asGridList (void) const |
class CSG_Parameter_Grids_List * | asGridsList (void) const |
class CSG_Parameter_Table_List * | asTableList (void) const |
class CSG_Parameter_Shapes_List * | asShapesList (void) const |
class CSG_Parameter_TIN_List * | asTINList (void) const |
class CSG_Parameter_PointCloud_List * | asPointCloudList (void) const |
bool | Assign (CSG_Parameter *pSource) |
bool | Serialize (CSG_MetaData &MetaData, bool bSave) |
Protected Member Functions | |
CSG_Parameter (CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint) | |
virtual | ~CSG_Parameter (void) |
virtual int | _Set_Value (int Value) |
virtual int | _Set_Value (double Value) |
virtual int | _Set_Value (const CSG_String &Value) |
virtual int | _Set_Value (void *Value) |
virtual void | _Set_String (void) |
virtual int | _asInt (void) const |
virtual double | _asDouble (void) const |
virtual void * | _asPointer (void) const |
virtual const SG_Char * | _asString (void) const |
virtual bool | _Assign (CSG_Parameter *pSource) |
virtual bool | _Serialize (CSG_MetaData &MetaData, bool bSave) |
Protected Attributes | |
CSG_String | m_String |
Friends | |
class | CSG_Parameters |
Definition at line 206 of file parameters.h.
|
protected |
Definition at line 64 of file parameter.cpp.
|
protectedvirtual |
Definition at line 86 of file parameter.cpp.
References SG_Free().
|
protectedvirtual |
Reimplemented in CSG_Parameter_Grid, CSG_Parameter_Table_Field, CSG_Parameter_Choice, CSG_Parameter_Date, CSG_Parameter_Double, and CSG_Parameter_Int.
Definition at line 1030 of file parameter.cpp.
|
protectedvirtual |
Reimplemented in CSG_Parameter_List, CSG_Parameter_Grid, CSG_Parameter_Table_Fields, CSG_Parameter_Colors, CSG_Parameter_Font, CSG_Parameter_Choice, CSG_Parameter_Date, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 1029 of file parameter.cpp.
|
protectedvirtual |
Reimplemented in CSG_Parameter_Parameters, CSG_Parameter_List, CSG_Parameter_Data_Object, CSG_Parameter_Table_Fields, CSG_Parameter_Grid_System, CSG_Parameter_Fixed_Table, CSG_Parameter_Colors, and CSG_Parameter_Font.
Definition at line 1031 of file parameter.cpp.
|
protectedvirtual |
Reimplemented in CSG_Parameter_Parameters, CSG_Parameter_Shapes_List, CSG_Parameter_List, CSG_Parameter_PointCloud, CSG_Parameter_Shapes, CSG_Parameter_Grid, CSG_Parameter_Data_Object, CSG_Parameter_Table_Fields, CSG_Parameter_Table_Field, CSG_Parameter_Grid_System, CSG_Parameter_Fixed_Table, CSG_Parameter_Colors, CSG_Parameter_Font, CSG_Parameter_File_Name, CSG_Parameter_String, CSG_Parameter_Choices, CSG_Parameter_Data_Type, CSG_Parameter_Choice, CSG_Parameter_Range, CSG_Parameter_Date, CSG_Parameter_Double, CSG_Parameter_Int, CSG_Parameter_Value, and CSG_Parameter_Bool.
Definition at line 1159 of file parameter.cpp.
Referenced by Assign().
|
protectedvirtual |
Definition at line 1032 of file parameter.cpp.
References m_String.
|
protectedvirtual |
Reimplemented in CSG_Parameter_Parameters, CSG_Parameter_List, CSG_Parameter_Data_Object, CSG_Parameter_Table_Fields, CSG_Parameter_Table_Field, CSG_Parameter_Grid_System, CSG_Parameter_Fixed_Table, CSG_Parameter_Colors, CSG_Parameter_Color, CSG_Parameter_Font, CSG_Parameter_String, CSG_Parameter_Choices, CSG_Parameter_Data_Type, CSG_Parameter_Choice, CSG_Parameter_Range, CSG_Parameter_Date, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 1201 of file parameter.cpp.
References CSG_MetaData::Set_Content().
Referenced by Serialize().
|
protectedvirtual |
Reimplemented in CSG_Parameter_Parameters, CSG_Parameter_List, CSG_Parameter_Data_Object, CSG_Parameter_Table_Field, CSG_Parameter_Grid_System, CSG_Parameter_Fixed_Table, CSG_Parameter_Colors, CSG_Parameter_Choices, CSG_Parameter_Choice, CSG_Parameter_Range, CSG_Parameter_Date, CSG_Parameter_Degree, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 894 of file parameter.cpp.
Referenced by Assign(), Check(), CSG_Parameters::Get_String(), has_Changed(), and Serialize().
|
protectedvirtual |
Reimplemented in CSG_Parameter_Table_Fields, CSG_Parameter_Table_Field, CSG_Parameter_Color, CSG_Parameter_Font, CSG_Parameter_String, CSG_Parameter_Choices, CSG_Parameter_Choice, CSG_Parameter_Range, CSG_Parameter_Date, CSG_Parameter_Degree, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 795 of file parameter.cpp.
References SG_PARAMETER_DATA_SET_FALSE.
|
protectedvirtual |
Reimplemented in CSG_Parameter_Choice, CSG_Parameter_Date, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 794 of file parameter.cpp.
References SG_PARAMETER_DATA_SET_FALSE.
|
protectedvirtual |
Reimplemented in CSG_Parameter_Table_Field, CSG_Parameter_Colors, CSG_Parameter_Font, CSG_Parameter_Choice, CSG_Parameter_Date, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 793 of file parameter.cpp.
References SG_PARAMETER_DATA_SET_FALSE.
Referenced by CSG_Parameter_Value::Set_Valid_Range(), and Set_Value().
|
protectedvirtual |
Reimplemented in CSG_Parameter_List, CSG_Parameter_PointCloud, CSG_Parameter_TIN, CSG_Parameter_Shapes, CSG_Parameter_Table, CSG_Parameter_Grid, CSG_Parameter_Data_Object_Output, CSG_Parameter_Data_Object, CSG_Parameter_Grid_System, and CSG_Parameter_Fixed_Table.
Definition at line 796 of file parameter.cpp.
References SG_PARAMETER_DATA_SET_FALSE.
|
inline |
Definition at line 281 of file parameters.h.
Referenced by CSG_Parameter_Bool::_Assign(), is_Value_Equal(), SG_XML_Add_Parameter(), and CSG_Parameter_Bool::Toggle_Value().
CSG_Parameter_Choice * CSG_Parameter::asChoice | ( | void | ) | const |
Definition at line 1107 of file parameter.cpp.
References Get_Type(), PARAMETER_TYPE_Choice, and PARAMETER_TYPE_Data_Type.
Referenced by CSG_Parameter_Choice::_Assign(), CSG_Parameters::Add_Choice(), Get_Description(), is_Compatible(), and SG_XML_Add_Parameter().
CSG_Parameter_Choices * CSG_Parameter::asChoices | ( | void | ) | const |
Definition at line 1109 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Choices.
Referenced by CSG_Parameter_Choices::_Assign(), CSG_Parameters::Add_Choices(), Get_Description(), is_Compatible(), is_Value_Equal(), and SG_XML_Add_Parameter().
|
inline |
Definition at line 283 of file parameters.h.
CSG_Colors * CSG_Parameter::asColors | ( | void | ) | const |
Definition at line 1035 of file parameter.cpp.
References asPointer(), Get_Type(), and PARAMETER_TYPE_Colors.
Referenced by CSG_Parameter_Colors::_Assign(), CSG_Parameters::Add_Colors(), is_Value_Equal(), and CSG_Parameters::Serialize_Compatibility().
CSG_Data_Object * CSG_Parameter::asDataObject | ( | void | ) | const |
Definition at line 1041 of file parameter.cpp.
References asPointer(), and is_DataObject().
Referenced by CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), asGrid(), asGrids(), asPointCloud(), asShapes(), asTable(), asTIN(), Check(), CSG_Tool::DataObject_Set_History(), CSG_Parameters_Grid_Target::Get_Grid(), is_Value_Equal(), and CSG_Parameters::Set_History().
CSG_Parameter_Data_Type * CSG_Parameter::asDataType | ( | void | ) | const |
Definition at line 1106 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Data_Type.
Referenced by CSG_Parameters::Add_Data_Type().
CSG_Parameter_Date * CSG_Parameter::asDate | ( | void | ) | const |
Definition at line 1105 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Date.
|
inline |
Definition at line 284 of file parameters.h.
Referenced by CSG_Parameter_Table_Field::_asDouble(), CSG_Parameter_Grid::_asDouble(), CSG_Parameter_Date::_asInt(), CSG_Parameter_Double::_Assign(), CSG_Parameter_Grid_System::_Serialize(), CSG_Parameter_Degree::_Set_String(), CSG_Parameter_Date::_Set_Value(), CSG_Parameter_Range::Get_Max(), CSG_Parameter_Range::Get_Min(), CSG_Parameter_Double::is_Default(), is_Value_Equal(), CSG_Parameters_Grid_Target::On_Parameter_Changed(), CSG_Parameter_Value::Set_Valid_Range(), and SG_Get_Projected().
CSG_Parameter_File_Name * CSG_Parameter::asFilePath | ( | void | ) | const |
Definition at line 1111 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_FilePath.
Referenced by CSG_Parameter_File_Name::_Assign(), and CSG_Parameters::Add_FilePath().
const SG_Char * CSG_Parameter::asFont | ( | void | ) | const |
Definition at line 1036 of file parameter.cpp.
References asPointer(), Get_Type(), PARAMETER_TYPE_Font, and SG_Char.
CSG_Grid * CSG_Parameter::asGrid | ( | void | ) | const |
Definition at line 1042 of file parameter.cpp.
References asDataObject(), DATAOBJECT_CREATE, CSG_Data_Object::Get_ObjectType(), and SG_DATAOBJECT_TYPE_Grid.
Referenced by CSG_Parameters_Grid_Target::Get_Grid().
CSG_Grid_System * CSG_Parameter::asGrid_System | ( | void | ) | const |
Definition at line 1037 of file parameter.cpp.
References asPointer(), Get_Type(), and PARAMETER_TYPE_Grid_System.
Referenced by CSG_Parameters::Add_Grid_System(), Check(), CSG_Parameters::Get_String(), CSG_Parameters_Grid_Target::Get_System(), CSG_Parameter_Grid::Get_System(), CSG_Parameter_Grid_List::Get_System(), CSG_Parameter_Grids_List::Get_System(), is_Value_Equal(), CSG_Parameters::Serialize_Compatibility(), CSG_Parameters::Set_Grid_System(), and CSG_Parameter_Grid_List::Update_Data().
CSG_Parameter_Grid_List * CSG_Parameter::asGridList | ( | void | ) | const |
Definition at line 1116 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Grid_List.
Referenced by CSG_Parameter_Grid::_Set_Value(), and CSG_Parameter_Grid_List::Add_Item().
CSG_Grids * CSG_Parameter::asGrids | ( | void | ) | const |
Definition at line 1043 of file parameter.cpp.
References asDataObject(), DATAOBJECT_CREATE, CSG_Data_Object::Get_ObjectType(), and SG_DATAOBJECT_TYPE_Grids.
Referenced by asTable(), and CSG_Parameters_Grid_Target::Get_Grids().
CSG_Parameter_Grids_List * CSG_Parameter::asGridsList | ( | void | ) | const |
Definition at line 1117 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Grids_List.
Referenced by CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Grid_List::Add_Item(), and CSG_Parameter_Grids_List::Add_Item().
|
inline |
Definition at line 282 of file parameters.h.
Referenced by CSG_Parameter_Grid::_asInt(), CSG_Parameter_Int::_Assign(), CSG_Parameter_Font::_Serialize(), CSG_Parameter_Table_Field::_Serialize(), CSG_Parameter_Bool::is_Default(), CSG_Parameter_Int::is_Default(), CSG_Parameter_Choice::is_Default(), is_Value_Equal(), CSG_Parameters_Point_Search::On_Parameters_Enable(), CSG_Parameters_Grid_Target::On_Parameters_Enable(), CSG_Parameter_Value::Set_Valid_Range(), Set_Value(), and CSG_Parameter_Choice::Toggle_Value().
CSG_Parameter_List * CSG_Parameter::asList | ( | void | ) | const |
Definition at line 1115 of file parameter.cpp.
References is_DataObject_List().
Referenced by CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), Check(), CSG_Tool::DataObject_Set_History(), is_Value_Equal(), CSG_Parameters::Restore_Defaults(), CSG_Parameters::Serialize_Compatibility(), and CSG_Parameters::Set_History().
CSG_Parameters * CSG_Parameter::asParameters | ( | void | ) | const |
Definition at line 1038 of file parameter.cpp.
References asPointer(), Get_Type(), and PARAMETER_TYPE_Parameters.
Referenced by CSG_Parameter_Parameters::_Assign(), CSG_Parameters_CRSPicker::Activate_GUI(), CSG_Parameters::Add_Parameters(), CSG_Parameters::Assign_Parameters(), Check(), Get_Description(), CSG_Parameters::Get_Parameter(), is_Compatible(), is_Value_Equal(), CSG_Parameters_CRSPicker::On_Parameter_Changed(), CSG_Parameters::Serialize_Compatibility(), CSG_Parameters::Set_Callback(), CSG_Parameters::Set_Callback_On_Parameter_Changed(), CSG_Parameters::Set_History(), CSG_Parameters::Set_Manager(), CSG_Parameters::Set_Tool(), and SG_XML_Add_Parameter().
CSG_PointCloud * CSG_Parameter::asPointCloud | ( | void | ) | const |
Definition at line 1045 of file parameter.cpp.
References asDataObject(), DATAOBJECT_CREATE, CSG_Data_Object::Get_ObjectType(), and SG_DATAOBJECT_TYPE_PointCloud.
CSG_Parameter_PointCloud_List * CSG_Parameter::asPointCloudList | ( | void | ) | const |
Definition at line 1121 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_PointCloud_List.
|
inline |
Definition at line 286 of file parameters.h.
Referenced by CSG_Parameter_Grid::_Assign(), asColors(), asDataObject(), asFont(), asGrid_System(), asParameters(), asTable(), and CSG_Parameters_Grid_Target::Get_Grids().
CSG_Parameter_Range * CSG_Parameter::asRange | ( | void | ) | const |
Definition at line 1110 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Range.
Referenced by CSG_Parameter_Range::_Assign(), CSG_Parameters::Get_Parameter(), is_Value_Equal(), and CSG_Parameters::Serialize_Compatibility().
CSG_Shapes * CSG_Parameter::asShapes | ( | void | ) | const |
Definition at line 1048 of file parameter.cpp.
References asDataObject(), DATAOBJECT_CREATE, CSG_Data_Object::Get_ObjectType(), SG_DATAOBJECT_TYPE_PointCloud, and SG_DATAOBJECT_TYPE_Shapes.
Referenced by CSG_Parameters_Point_Search::On_Parameter_Changed().
CSG_Parameter_Shapes_List * CSG_Parameter::asShapesList | ( | void | ) | const |
Definition at line 1119 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Shapes_List.
bool CSG_Parameter::Assign | ( | CSG_Parameter * | pSource | ) |
Definition at line 1141 of file parameter.cpp.
References _Assign(), _Set_String(), and Get_Type().
Referenced by CSG_Parameter_Range::_Assign(), CSG_Parameters::Assign_Values(), CSG_Parameters::Set_Parameter(), and Set_Value().
|
inline |
Definition at line 285 of file parameters.h.
References SG_Char.
Referenced by CSG_Parameter_Table_Fields::_Assign(), CSG_Parameter_Int::_Serialize(), CSG_Parameter_Date::_Serialize(), CSG_Parameter_Choice::_Serialize(), CSG_Parameter_Choices::_Serialize(), CSG_Parameter_Table_Field::_Serialize(), CSG_Parameters::Get_String(), is_Default(), is_Value_Equal(), and CSG_Projections::Parse().
CSG_Table * CSG_Parameter::asTable | ( | void | ) | const |
Definition at line 1063 of file parameter.cpp.
References asDataObject(), asGrids(), asPointer(), DATAOBJECT_CREATE, CSG_Data_Object::Get_ObjectType(), Get_Type(), PARAMETER_TYPE_FixedTable, PARAMETER_TYPE_Grids, SG_DATAOBJECT_TYPE_PointCloud, SG_DATAOBJECT_TYPE_Shapes, SG_DATAOBJECT_TYPE_Table, and SG_DATAOBJECT_TYPE_TIN.
Referenced by CSG_Parameter_Fixed_Table::_Assign(), CSG_Parameters::Add_FixedTable(), Get_Description(), CSG_Parameter_Table_Field::Get_Table(), CSG_Parameter_Table_Fields::Get_Table(), is_Compatible(), is_Value_Equal(), CSG_Parameters::Serialize_Compatibility(), and SG_XML_Add_Parameter().
CSG_Parameter_Table_Fields * CSG_Parameter::asTableFields | ( | void | ) | const |
Definition at line 1112 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Table_Fields.
CSG_Parameter_Table_List * CSG_Parameter::asTableList | ( | void | ) | const |
Definition at line 1118 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Table_List.
CSG_TIN * CSG_Parameter::asTIN | ( | void | ) | const |
Definition at line 1044 of file parameter.cpp.
References asDataObject(), DATAOBJECT_CREATE, CSG_Data_Object::Get_ObjectType(), and SG_DATAOBJECT_TYPE_TIN.
CSG_Parameter_TIN_List * CSG_Parameter::asTINList | ( | void | ) | const |
Definition at line 1120 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_TIN_List.
CSG_Parameter_Value * CSG_Parameter::asValue | ( | void | ) | const |
Definition at line 1091 of file parameter.cpp.
References Get_Type(), PARAMETER_TYPE_Color, PARAMETER_TYPE_Degree, PARAMETER_TYPE_Double, PARAMETER_TYPE_Int, and PARAMETER_TYPE_Table_Field.
Referenced by CSG_Parameter_Value::_Assign(), Get_Description(), and SG_XML_Add_Parameter().
bool CSG_Parameter::Check | ( | bool | bSilent = true | ) |
Definition at line 952 of file parameter.cpp.
References _Set_String(), asDataObject(), asGrid_System(), asList(), asParameters(), DATAOBJECT_CREATE, DATAOBJECT_NOTSET, CSG_Parameter_List::Del_Item(), CSG_Data_Manager::Exists(), CSG_Parameter_List::Get_Item(), CSG_Parameters::Get_Manager(), Get_Type(), CSG_Data_Manager::Grid(), CSG_Data_Manager::Grids(), is_DataObject(), is_DataObject_List(), is_Enabled(), is_Input(), is_Optional(), is_Output(), PARAMETER_TYPE_Grid_System, PARAMETER_TYPE_Parameters, Set_Value(), and CSG_Parameter_List::Update_Data().
bool CSG_Parameter::Cmp_Identifier | ( | const CSG_String & | Identifier | ) | const |
Definition at line 553 of file parameter.cpp.
References CSG_String::Cmp().
Referenced by CSG_Parameters_CRSPicker::On_Parameter_Changed(), CSG_Parameters_Grid_Target::On_Parameter_Changed(), and CSG_Parameters_Point_Search::On_Parameters_Enable().
bool CSG_Parameter::do_UseInCMD | ( | void | ) | const |
Definition at line 172 of file parameter.cpp.
References Get_Parent(), and PARAMETER_NOT_FOR_CMD.
Referenced by Get_Description(), CSG_Tool::Get_Summary(), is_Enabled(), and SG_XML_Add_Parameter().
bool CSG_Parameter::do_UseInGUI | ( | void | ) | const |
Definition at line 166 of file parameter.cpp.
References Get_Parent(), and PARAMETER_NOT_FOR_GUI.
Referenced by Get_Description(), is_Enabled(), and SG_XML_Add_Parameter().
|
inline |
Definition at line 256 of file parameters.h.
Referenced by CSG_Parameter_Table_Field::_asDouble(), CSG_Parameter_Grid::_asDouble(), CSG_Parameter_Grid::_asInt(), CSG_Parameter_Table_Field::_Set_Value(), CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Table::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_TIN::_Set_Value(), CSG_Parameter_PointCloud::_Set_Value(), CSG_Parameters_Grid_Target::Add_Grid(), CSG_Parameters_Grid_Target::Add_Grids(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), CSG_Parameters::Del_Parameter(), and Set_Children_Enabled().
|
inline |
Definition at line 255 of file parameters.h.
Referenced by CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Table::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_TIN::_Set_Value(), CSG_Parameter_PointCloud::_Set_Value(), CSG_Parameter_Table_Field::Add_Default(), CSG_Parameter_Grid::Add_Default(), CSG_Parameters_Grid_Target::Add_Grid(), CSG_Parameters_Grid_Target::Add_Grids(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), CSG_Parameters::Del_Parameter(), Set_Children_Enabled(), and CSG_Parameter_Grid_List::Update_Data().
CSG_String CSG_Parameter::Get_CmdID | ( | void | ) | const |
Constructs a command line parser conform identifier.
Definition at line 563 of file parameter.cpp.
References Get_Identifier(), Get_Parameters(), CSG_String::Length(), and CSG_String::Replace().
TSG_Data_Object_Type CSG_Parameter::Get_DataObject_Type | ( | void | ) | const |
Definition at line 519 of file parameter.cpp.
References Get_Type(), PARAMETER_TYPE_DataObject_Output, PARAMETER_TYPE_Grid, PARAMETER_TYPE_Grid_List, PARAMETER_TYPE_Grids, PARAMETER_TYPE_Grids_List, PARAMETER_TYPE_PointCloud, PARAMETER_TYPE_PointCloud_List, PARAMETER_TYPE_Shapes, PARAMETER_TYPE_Shapes_List, PARAMETER_TYPE_Table, PARAMETER_TYPE_Table_List, PARAMETER_TYPE_TIN, PARAMETER_TYPE_TIN_List, SG_DATAOBJECT_TYPE_Grid, SG_DATAOBJECT_TYPE_Grids, SG_DATAOBJECT_TYPE_PointCloud, SG_DATAOBJECT_TYPE_Shapes, SG_DATAOBJECT_TYPE_Table, SG_DATAOBJECT_TYPE_TIN, and SG_DATAOBJECT_TYPE_Undefined.
Referenced by Get_Description(), and SG_XML_Add_Parameter().
const CSG_String & CSG_Parameter::Get_Default | ( | void | ) | const |
Definition at line 929 of file parameter.cpp.
Referenced by CSG_Parameter_Bool::is_Default(), CSG_Parameter_Int::is_Default(), CSG_Parameter_Double::is_Default(), CSG_Parameter_Choice::is_Default(), and SG_XML_Add_Parameter().
CSG_String CSG_Parameter::Get_Description | ( | int | Flags | ) | const |
Definition at line 608 of file parameter.cpp.
References Get_Description(), and SG_T.
CSG_String CSG_Parameter::Get_Description | ( | int | Flags, |
const SG_Char * | Separator | ||
) | const |
Definition at line 614 of file parameter.cpp.
References _TL, asChoice(), asChoices(), asParameters(), asTable(), asValue(), CSG_String::c_str(), do_UseInCMD(), do_UseInGUI(), CSG_String::Format(), CSG_Parameter_Choice::Get_Count(), CSG_Parameters::Get_Count(), Get_DataObject_Type(), Get_Description(), CSG_Table::Get_Field_Count(), CSG_Parameter_Choices::Get_Item_Count(), Get_Name(), Get_Type(), Get_Type_Name(), CSG_Parameters::has_GUI(), is_DataObject(), is_DataObject_List(), CSG_String::is_Empty(), is_Input(), is_Optional(), CSG_String::Length(), PARAMETER_DESCRIPTION_NAME, PARAMETER_DESCRIPTION_OPTIONAL, PARAMETER_DESCRIPTION_PROPERTIES, PARAMETER_DESCRIPTION_TEXT, PARAMETER_DESCRIPTION_TYPE, PARAMETER_TYPE_Choice, PARAMETER_TYPE_Choices, PARAMETER_TYPE_Data_Type, PARAMETER_TYPE_DataObject_Output, PARAMETER_TYPE_Degree, PARAMETER_TYPE_Double, PARAMETER_TYPE_FixedTable, PARAMETER_TYPE_Int, PARAMETER_TYPE_Parameters, SEPARATE, SG_Data_Type_Get_Name(), SG_Get_DataObject_Name(), and SG_T.
const SG_Char * CSG_Parameter::Get_Description | ( | void | ) | const |
Definition at line 602 of file parameter.cpp.
Referenced by Get_Description(), CSG_Tool::Get_Summary(), and SG_XML_Add_Parameter().
const SG_Char * CSG_Parameter::Get_Identifier | ( | void | ) | const |
Definition at line 547 of file parameter.cpp.
Referenced by CSG_Parameter_Parameters::_Serialize(), CSG_Parameters::Add_Bool(), CSG_Parameters::Add_Choice(), CSG_Parameters::Add_Color(), CSG_Parameters::Add_Colors(), CSG_Parameters::Add_Date(), CSG_Parameter_Table_Field::Add_Default(), CSG_Parameter_Grid::Add_Default(), CSG_Parameters::Add_Degree(), CSG_Parameters::Add_Double(), CSG_Parameters::Add_FilePath(), CSG_Parameters::Add_FixedTable(), CSG_Parameters::Add_Font(), CSG_Parameters_Grid_Target::Add_Grid(), CSG_Parameters::Add_Grid(), CSG_Parameters::Add_Grid_List(), CSG_Parameters::Add_Grid_or_Const(), CSG_Parameters::Add_Grid_Output(), CSG_Parameters::Add_Grid_System(), CSG_Parameters_Grid_Target::Add_Grids(), CSG_Parameters::Add_Grids(), CSG_Parameters::Add_Grids_List(), CSG_Parameters::Add_Info_Range(), CSG_Parameters::Add_Info_String(), CSG_Parameters::Add_Info_Value(), CSG_Parameters::Add_Int(), CSG_Parameters::Add_Node(), CSG_Parameters::Add_Parameters(), CSG_Parameters::Add_PointCloud(), CSG_Parameters::Add_PointCloud_List(), CSG_Parameters::Add_PointCloud_Output(), CSG_Parameters::Add_Range(), CSG_Parameters::Add_Shapes(), CSG_Parameters::Add_Shapes_List(), CSG_Parameters::Add_Shapes_Output(), CSG_Parameters::Add_String(), CSG_Parameters::Add_Table(), CSG_Parameters::Add_Table_Field(), CSG_Parameters::Add_Table_Field_or_Const(), CSG_Parameters::Add_Table_Fields(), CSG_Parameters::Add_Table_List(), CSG_Parameters::Add_Table_Output(), CSG_Parameters::Add_TIN(), CSG_Parameters::Add_TIN_List(), CSG_Parameters::Add_TIN_Output(), CSG_Parameters::Add_Value(), CSG_Parameters::Assign_Parameters(), CSG_Parameters::Assign_Values(), CSG_Tool_Chain::Create(), CSG_Parameters::Create(), CSG_Parameters_Grid_Target::Create(), CSG_Tool::DataObject_Set_History(), CSG_Parameters::Del_Parameter(), Get_CmdID(), CSG_Tool::Get_Summary(), CSG_Parameters_Grid_Target::On_Parameter_Changed(), Serialize(), CSG_Parameters::Set_History(), and SG_XML_Add_Parameter().
CSG_Data_Manager * CSG_Parameter::Get_Manager | ( | void | ) | const |
Definition at line 112 of file parameter.cpp.
References CSG_Parameters::Get_Manager().
Referenced by CSG_Parameter_List::_Assign(), CSG_Parameter_Data_Object::_Serialize(), CSG_Parameter_List::_Serialize(), CSG_Parameter_Grid_System::_Set_Value(), and CSG_Parameter_Data_Object_Output::_Set_Value().
const SG_Char * CSG_Parameter::Get_Name | ( | void | ) | const |
Definition at line 589 of file parameter.cpp.
Referenced by CSG_Tool::DataObject_Set_History(), Get_Description(), CSG_Parameters::Get_String(), CSG_Tool::Get_Summary(), Serialize(), CSG_Parameters::Set_History(), and SG_XML_Add_Parameter().
CSG_Parameters * CSG_Parameter::Get_Parameters | ( | void | ) | const |
Definition at line 100 of file parameter.cpp.
Referenced by CSG_Tool::_On_Parameter_Changed(), CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_Table_Field::Add_Default(), CSG_Parameter_Grid::Add_Default(), Get_CmdID(), Serialize(), and CSG_Parameter_Grid_List::Update_Data().
CSG_Parameter * CSG_Parameter::Get_Parent | ( | void | ) | const |
Definition at line 106 of file parameter.cpp.
Referenced by CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), CSG_Parameters::Del_Parameter(), do_UseInCMD(), do_UseInGUI(), CSG_Parameter_Grid::Get_System(), CSG_Parameter_Grid_List::Get_System(), CSG_Parameter_Grids_List::Get_System(), CSG_Parameter_Table_Field::Get_Table(), CSG_Parameter_Table_Fields::Get_Table(), CSG_Parameters::Set_History(), SG_XML_Add_Parameter(), and CSG_Parameter_Grid_List::Update_Data().
|
pure virtual |
Implemented in CSG_Parameter_Parameters, CSG_Parameter_PointCloud_List, CSG_Parameter_TIN_List, CSG_Parameter_Shapes_List, CSG_Parameter_Table_List, CSG_Parameter_Grids_List, CSG_Parameter_Grid_List, CSG_Parameter_PointCloud, CSG_Parameter_TIN, CSG_Parameter_Shapes, CSG_Parameter_Table, CSG_Parameter_Grids, CSG_Parameter_Grid, CSG_Parameter_Data_Object_Output, CSG_Parameter_Table_Fields, CSG_Parameter_Table_Field, CSG_Parameter_Grid_System, CSG_Parameter_Fixed_Table, CSG_Parameter_Colors, CSG_Parameter_Color, CSG_Parameter_Font, CSG_Parameter_File_Name, CSG_Parameter_Text, CSG_Parameter_String, CSG_Parameter_Choices, CSG_Parameter_Data_Type, CSG_Parameter_Choice, CSG_Parameter_Range, CSG_Parameter_Date, CSG_Parameter_Degree, CSG_Parameter_Double, CSG_Parameter_Int, CSG_Parameter_Bool, and CSG_Parameter_Node.
Referenced by CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Table::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_TIN::_Set_Value(), CSG_Parameter_PointCloud::_Set_Value(), CSG_Parameters_Grid_Target::Add_Grid(), CSG_Parameters::Add_Grid(), CSG_Parameters::Add_Grid_List(), CSG_Parameters_Grid_Target::Add_Grids(), CSG_Parameters::Add_Grids(), CSG_Parameters::Add_Grids_List(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), CSG_Parameters::Add_Table_Field(), CSG_Parameters::Add_Table_Fields(), asChoice(), asChoices(), asColors(), asDataType(), asDate(), asFilePath(), asFont(), asGrid_System(), asGridList(), asGridsList(), asParameters(), asPointCloudList(), asRange(), asShapesList(), Assign(), CSG_Parameters::Assign_Values(), asTable(), asTableFields(), asTableList(), asTINList(), asValue(), Check(), Get_DataObject_Type(), Get_Description(), CSG_Parameters_Grid_Target::Get_Grid(), CSG_Parameters_Grid_Target::Get_Grids(), CSG_Parameters::Get_Parameter(), CSG_Parameters::Get_String(), CSG_Tool::Get_Summary(), Get_Type_Identifier(), Get_Type_Name(), is_Compatible(), is_DataObject(), is_DataObject_List(), is_Option(), is_Parameters(), is_Serializable(), is_Value_Equal(), Serialize(), CSG_Parameters::Set_History(), CSG_Parameters::Set_Parameter(), CSG_Parameter_Value::Set_Valid_Range(), Set_Value(), SG_XML_Add_Parameter(), and CSG_Parameter_Grid_List::Update_Data().
CSG_String CSG_Parameter::Get_Type_Identifier | ( | void | ) | const |
Definition at line 123 of file parameter.cpp.
References Get_Type(), and SG_Parameter_Type_Get_Identifier().
Referenced by CSG_Parameter_Parameters::_Serialize(), CSG_Tool::DataObject_Set_History(), Serialize(), and CSG_Parameters::Set_History().
CSG_String CSG_Parameter::Get_Type_Name | ( | void | ) | const |
Definition at line 129 of file parameter.cpp.
References Get_Type(), and SG_Parameter_Type_Get_Name().
Referenced by Get_Description(), and SG_XML_Add_Parameter().
bool CSG_Parameter::has_Changed | ( | int | Check_Flags = PARAMETER_CHECK_ALL | ) |
Definition at line 886 of file parameter.cpp.
References _Set_String().
Referenced by CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameters::Load(), CSG_Parameter_Range::Set_Max(), CSG_Parameter_Range::Set_Min(), CSG_Parameter_Value::Set_Valid_Range(), and Set_Value().
void CSG_Parameter::ignore_Projection | ( | bool | bIgnore | ) |
Definition at line 178 of file parameter.cpp.
References PARAMETER_IGNORE_PROJECTION.
|
inline |
Definition at line 251 of file parameters.h.
References PARAMETER_IGNORE_PROJECTION.
bool CSG_Parameter::is_Compatible | ( | CSG_Parameter * | pParameter | ) | const |
Definition at line 337 of file parameter.cpp.
References asChoice(), asChoices(), asParameters(), asTable(), CSG_Parameter_Choice::Get_Count(), CSG_Parameters::Get_Count(), CSG_Parameter_Choices::Get_Item(), CSG_Parameter_Choice::Get_Item(), CSG_Parameter_Choices::Get_Item_Count(), CSG_Parameters::Get_Parameter(), Get_Type(), CSG_Table::is_Compatible(), is_Compatible(), PARAMETER_TYPE_Choice, PARAMETER_TYPE_Choices, PARAMETER_TYPE_Data_Type, PARAMETER_TYPE_FixedTable, PARAMETER_TYPE_Parameters, and SG_STR_CMP.
Referenced by is_Compatible().
bool CSG_Parameter::is_DataObject | ( | void | ) | const |
Definition at line 276 of file parameter.cpp.
References Get_Type(), PARAMETER_TYPE_DataObject_Output, PARAMETER_TYPE_Grid, PARAMETER_TYPE_Grids, PARAMETER_TYPE_PointCloud, PARAMETER_TYPE_Shapes, PARAMETER_TYPE_Table, and PARAMETER_TYPE_TIN.
Referenced by CSG_Parameter_Grid_System::_Set_Value(), asDataObject(), Check(), CSG_Tool::DataObject_Set_History(), Get_Description(), Serialize(), and CSG_Parameters::Set_History().
bool CSG_Parameter::is_DataObject_List | ( | void | ) | const |
Definition at line 295 of file parameter.cpp.
References Get_Type(), PARAMETER_TYPE_Grid_List, PARAMETER_TYPE_Grids_List, PARAMETER_TYPE_PointCloud_List, PARAMETER_TYPE_Shapes_List, PARAMETER_TYPE_Table_List, and PARAMETER_TYPE_TIN_List.
Referenced by CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), asList(), Check(), CSG_Tool::DataObject_Set_History(), Get_Description(), Serialize(), and CSG_Parameters::Set_History().
|
virtual |
Reimplemented in CSG_Parameter_Choice, CSG_Parameter_Range, CSG_Parameter_Double, CSG_Parameter_Int, and CSG_Parameter_Bool.
Definition at line 935 of file parameter.cpp.
References asString(), and CSG_String::Cmp().
bool CSG_Parameter::is_Enabled | ( | bool | bCheckEnv = true | ) | const |
Definition at line 209 of file parameter.cpp.
References do_UseInCMD(), do_UseInGUI(), CSG_Parameters::has_GUI(), and is_Enabled().
Referenced by Check(), CSG_Parameters::Get_String(), is_Enabled(), and CSG_Parameters::Set_History().
|
inline |
Definition at line 235 of file parameters.h.
References PARAMETER_INFORMATION.
Referenced by CSG_Parameter_Range::CSG_Parameter_Range(), CSG_Parameters::Get_String(), is_Option(), is_Serializable(), Serialize(), and CSG_Parameters::Set_History().
|
inline |
Definition at line 232 of file parameters.h.
References PARAMETER_INPUT.
Referenced by CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_Grid::Add_Default(), CSG_Parameter_Grid_List::Add_Item(), Check(), Get_Description(), CSG_Tool::Get_Summary(), CSG_Parameters::Set_History(), and SG_XML_Add_Parameter().
bool CSG_Parameter::is_Option | ( | void | ) | const |
Definition at line 239 of file parameter.cpp.
References Get_Type(), is_Information(), PARAMETER_TYPE_Bool, PARAMETER_TYPE_Choice, PARAMETER_TYPE_Choices, PARAMETER_TYPE_Color, PARAMETER_TYPE_Colors, PARAMETER_TYPE_Data_Type, PARAMETER_TYPE_Date, PARAMETER_TYPE_Degree, PARAMETER_TYPE_Double, PARAMETER_TYPE_FilePath, PARAMETER_TYPE_FixedTable, PARAMETER_TYPE_Font, PARAMETER_TYPE_Grid_System, PARAMETER_TYPE_Int, PARAMETER_TYPE_Parameters, PARAMETER_TYPE_Range, PARAMETER_TYPE_String, PARAMETER_TYPE_Table_Field, PARAMETER_TYPE_Table_Fields, and PARAMETER_TYPE_Text.
Referenced by CSG_Parameters::Get_String(), CSG_Tool::Get_Summary(), Serialize(), CSG_Parameters::Set_History(), and SG_XML_Add_Parameter().
|
inline |
Definition at line 234 of file parameters.h.
References PARAMETER_OPTIONAL.
Referenced by CSG_Parameter_Data_Object::_Set_String(), CSG_Parameter_Table_Field::_Set_Value(), CSG_Parameter_Table::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_TIN::_Set_Value(), CSG_Parameter_PointCloud::_Set_Value(), CSG_Parameter_Table_Field::Add_Default(), CSG_Parameter_Grid::Add_Default(), Check(), Get_Description(), CSG_Parameters_Grid_Target::Get_Grid(), CSG_Parameters_Grid_Target::Get_Grids(), CSG_Parameter_Data_Object::is_Valid(), and SG_XML_Add_Parameter().
|
inline |
Definition at line 233 of file parameters.h.
References PARAMETER_OUTPUT.
Referenced by CSG_Parameter_Data_Object::_Set_String(), CSG_Parameter_Grid::_Set_Value(), Check(), CSG_Tool::Get_Summary(), and SG_XML_Add_Parameter().
bool CSG_Parameter::is_Parameters | ( | void | ) | const |
Definition at line 313 of file parameter.cpp.
References Get_Type(), and PARAMETER_TYPE_Parameters.
Referenced by CSG_Parameters::Set_History().
bool CSG_Parameter::is_Serializable | ( | void | ) | const |
Definition at line 319 of file parameter.cpp.
References Get_Type(), is_Information(), PARAMETER_TYPE_DataObject_Output, PARAMETER_TYPE_Node, PARAMETER_TYPE_String, and PARAMETER_TYPE_Undefined.
|
inlinevirtual |
Reimplemented in CSG_Parameter_Data_Object, and CSG_Parameter_String.
Definition at line 231 of file parameters.h.
bool CSG_Parameter::is_Value_Equal | ( | CSG_Parameter * | pParameter | ) | const |
Definition at line 396 of file parameter.cpp.
References asBool(), asChoices(), asColors(), asDataObject(), asDouble(), asGrid_System(), asInt(), asList(), asParameters(), asRange(), CSG_Table_Record::asString(), asString(), asTable(), CSG_Colors::Get_Color(), CSG_Colors::Get_Count(), CSG_Parameters::Get_Count(), CSG_Table::Get_Count(), CSG_Table::Get_Field_Count(), CSG_Parameter_List::Get_Item(), CSG_Parameter_List::Get_Item_Count(), CSG_Parameter_Range::Get_Max(), CSG_Parameter_Range::Get_Min(), CSG_Parameters::Get_Parameter(), CSG_Table::Get_Record(), CSG_Parameter_Choices::Get_Selection_Count(), CSG_Parameter_Choices::Get_Selection_Index(), Get_Type(), CSG_Table::is_Compatible(), CSG_Grid_System::is_Equal(), is_Value_Equal(), PARAMETER_TYPE_Bool, PARAMETER_TYPE_Choice, PARAMETER_TYPE_Choices, PARAMETER_TYPE_Color, PARAMETER_TYPE_Colors, PARAMETER_TYPE_Data_Type, PARAMETER_TYPE_DataObject_Output, PARAMETER_TYPE_Date, PARAMETER_TYPE_Degree, PARAMETER_TYPE_Double, PARAMETER_TYPE_FilePath, PARAMETER_TYPE_FixedTable, PARAMETER_TYPE_Font, PARAMETER_TYPE_Grid, PARAMETER_TYPE_Grid_List, PARAMETER_TYPE_Grid_System, PARAMETER_TYPE_Grids, PARAMETER_TYPE_Grids_List, PARAMETER_TYPE_Int, PARAMETER_TYPE_Node, PARAMETER_TYPE_Parameters, PARAMETER_TYPE_PointCloud, PARAMETER_TYPE_PointCloud_List, PARAMETER_TYPE_Range, PARAMETER_TYPE_Shapes, PARAMETER_TYPE_Shapes_List, PARAMETER_TYPE_String, PARAMETER_TYPE_Table, PARAMETER_TYPE_Table_Field, PARAMETER_TYPE_Table_Fields, PARAMETER_TYPE_Table_List, PARAMETER_TYPE_Text, PARAMETER_TYPE_TIN, PARAMETER_TYPE_TIN_List, and SG_STR_CMP.
Referenced by is_Value_Equal().
|
virtual |
Reimplemented in CSG_Parameter_Parameters, CSG_Parameter_Font, and CSG_Parameter_Range.
Definition at line 941 of file parameter.cpp.
References Set_Value().
Referenced by CSG_Parameter_Range::Restore_Default(), and CSG_Parameters::Restore_Defaults().
bool CSG_Parameter::Serialize | ( | CSG_MetaData & | MetaData, |
bool | bSave | ||
) |
Definition at line 1165 of file parameter.cpp.
References _Serialize(), _Set_String(), CSG_MetaData::Add_Child(), CSG_MetaData::Add_Property(), CSG_MetaData::Cmp_Property(), Get_Identifier(), Get_Name(), Get_Parameters(), Get_Type(), Get_Type_Identifier(), is_DataObject(), is_DataObject_List(), is_Information(), is_Option(), PARAMETER_TYPE_Node, and PARAMETER_TYPE_Undefined.
Referenced by CSG_Tool_Chain::Create(), CSG_Parameters::Load(), CSG_Parameters::Save(), and CSG_Parameters::Set_History().
bool CSG_Parameter::Set_Children_Enabled | ( | bool | bEnabled = true | ) |
Definition at line 228 of file parameter.cpp.
References Get_Child(), Get_Children_Count(), and Set_Enabled().
bool CSG_Parameter::Set_Default | ( | const CSG_String & | Value | ) |
Definition at line 921 of file parameter.cpp.
bool CSG_Parameter::Set_Default | ( | double | Value | ) |
Definition at line 913 of file parameter.cpp.
References CSG_String::Printf().
bool CSG_Parameter::Set_Default | ( | int | Value | ) |
Definition at line 905 of file parameter.cpp.
References CSG_String::Printf().
Referenced by CSG_Parameters::Add_Choice(), CSG_Parameters::Add_FilePath(), CSG_Parameters::Add_Font(), and CSG_Parameter_Data_Type::Set_Data_Types().
bool CSG_Parameter::Set_Description | ( | const CSG_String & | Description | ) |
Definition at line 595 of file parameter.cpp.
bool CSG_Parameter::Set_Enabled | ( | bool | bEnabled = true | ) |
Definition at line 196 of file parameter.cpp.
Referenced by CSG_Parameter_Table_Field::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), Set_Children_Enabled(), and CSG_Parameters::Set_Enabled().
bool CSG_Parameter::Set_Name | ( | const CSG_String & | Name | ) |
Definition at line 582 of file parameter.cpp.
void CSG_Parameter::Set_UseInCMD | ( | bool | bDoUse = false | ) |
Definition at line 153 of file parameter.cpp.
References PARAMETER_NOT_FOR_CMD.
void CSG_Parameter::Set_UseInGUI | ( | bool | bDoUse = false | ) |
Definition at line 140 of file parameter.cpp.
References PARAMETER_NOT_FOR_GUI.
Referenced by CSG_Parameters_CRSPicker::Create(), and CSG_Parameters_Grid_Target::Create().
|
virtual |
Definition at line 829 of file parameter.cpp.
References Set_Value().
|
virtual |
Definition at line 831 of file parameter.cpp.
References _Set_Value(), has_Changed(), SG_PARAMETER_DATA_SET_CHANGED, and SG_PARAMETER_DATA_SET_FALSE.
|
virtual |
Definition at line 830 of file parameter.cpp.
References Set_Value().
|
virtual |
Definition at line 861 of file parameter.cpp.
References asInt(), Assign(), Get_Type(), PARAMETER_TYPE_Choice, PARAMETER_TYPE_Data_Type, and Set_Value().
|
virtual |
Definition at line 814 of file parameter.cpp.
References _Set_Value(), has_Changed(), SG_PARAMETER_DATA_SET_CHANGED, and SG_PARAMETER_DATA_SET_FALSE.
|
virtual |
Definition at line 799 of file parameter.cpp.
References _Set_Value(), has_Changed(), SG_PARAMETER_DATA_SET_CHANGED, and SG_PARAMETER_DATA_SET_FALSE.
Referenced by CSG_Parameter_Grid_System::_Set_Value(), CSG_Parameter_Grid::_Set_Value(), CSG_Parameter_Table::_Set_Value(), CSG_Parameter_Shapes::_Set_Value(), CSG_Parameter_TIN::_Set_Value(), CSG_Parameter_PointCloud::_Set_Value(), CSG_Parameters::Add_Choice(), CSG_Parameters::Add_FilePath(), CSG_Parameters::Add_Font(), CSG_Parameter_Grid_List::Add_Item(), CSG_Parameter_Grids_List::Add_Item(), Check(), CSG_Tool_Chain::Create(), CSG_Parameters_Grid_Target::Get_Grid(), CSG_Parameters_Grid_Target::Get_Grids(), Restore_Default(), CSG_Parameters::Restore_Defaults(), CSG_Parameters::Serialize_Compatibility(), CSG_Parameter_Data_Type::Set_Data_Type(), CSG_Parameter_Data_Type::Set_Data_Types(), CSG_Parameters::Set_Grid_System(), CSG_Parameter_Range::Set_Max(), CSG_Parameter_Range::Set_Min(), CSG_Parameters::Set_Parameter(), CSG_Parameter_Range::Set_Range(), Set_Value(), CSG_Parameter_Bool::Toggle_Value(), and CSG_Parameter_Choice::Toggle_Value().
|
virtual |
Definition at line 846 of file parameter.cpp.
References _Set_Value(), has_Changed(), SG_PARAMETER_DATA_SET_CHANGED, and SG_PARAMETER_DATA_SET_FALSE.
|
virtual |
Reimplemented in CSG_Parameter_Choice, and CSG_Parameter_Bool.
Definition at line 880 of file parameter.cpp.
|
friend |
Definition at line 326 of file parameters.h.
|
protected |
Definition at line 331 of file parameters.h.
Referenced by CSG_Parameter_Font::_asPointer(), CSG_Parameter_String::_Assign(), CSG_Parameter_Font::_Assign(), _asString(), CSG_Parameter_String::_Serialize(), CSG_Parameter_Font::_Serialize(), CSG_Parameter_Table_Fields::_Serialize(), CSG_Parameter_Bool::_Set_String(), CSG_Parameter_Int::_Set_String(), CSG_Parameter_Double::_Set_String(), CSG_Parameter_Degree::_Set_String(), CSG_Parameter_Date::_Set_String(), CSG_Parameter_Range::_Set_String(), CSG_Parameter_Choice::_Set_String(), CSG_Parameter_Choices::_Set_String(), CSG_Parameter_Colors::_Set_String(), CSG_Parameter_Fixed_Table::_Set_String(), CSG_Parameter_Grid_System::_Set_String(), CSG_Parameter_Table_Field::_Set_String(), CSG_Parameter_Data_Object::_Set_String(), CSG_Parameter_List::_Set_String(), CSG_Parameter_Parameters::_Set_String(), CSG_Parameter_String::_Set_Value(), CSG_Parameter_Font::_Set_Value(), CSG_Parameter_Table_Fields::_Set_Value(), CSG_Parameter_File_Name::Get_FilePaths(), CSG_Parameter_String::is_Valid(), and CSG_Parameter_Font::Restore_Default().