SAGA API  v9.6
parameters.h
Go to the documentation of this file.
1 
3 // //
4 // SAGA //
5 // //
6 // System for Automated Geoscientific Analyses //
7 // //
8 // Application Programming Interface //
9 // //
10 // Library: SAGA_API //
11 // //
12 //-------------------------------------------------------//
13 // //
14 // parameters.h //
15 // //
16 // Copyright (C) 2005 by Olaf Conrad //
17 // //
18 //-------------------------------------------------------//
19 // //
20 // This file is part of 'SAGA - System for Automated //
21 // Geoscientific Analyses'. //
22 // //
23 // This library is free software; you can redistribute //
24 // it and/or modify it under the terms of the GNU Lesser //
25 // General Public License as published by the Free //
26 // Software Foundation, either version 2.1 of the //
27 // License, or (at your option) any later version. //
28 // //
29 // This library is distributed in the hope that it will //
30 // be useful, but WITHOUT ANY WARRANTY; without even the //
31 // implied warranty of MERCHANTABILITY or FITNESS FOR A //
32 // PARTICULAR PURPOSE. See the GNU Lesser General Public //
33 // License for more details. //
34 // //
35 // You should have received a copy of the GNU Lesser //
36 // General Public License along with this program; if //
37 // not, see <http://www.gnu.org/licenses/>. //
38 // //
39 //-------------------------------------------------------//
40 // //
41 // contact: Olaf Conrad //
42 // Institute of Geography //
43 // University of Goettingen //
44 // Goldschmidtstr. 5 //
45 // 37077 Goettingen //
46 // Germany //
47 // //
48 // e-mail: oconrad@saga-gis.org //
49 // //
51 
52 //---------------------------------------------------------
53 #ifndef HEADER_INCLUDED__SAGA_API__parameters_H
54 #define HEADER_INCLUDED__SAGA_API__parameters_H
55 
56 
58 // //
59 // //
60 // //
62 
63 //---------------------------------------------------------
72 // //
74 // //
75 // //
77 
78 //---------------------------------------------------------
79 #include "grids.h"
80 #include "table.h"
81 #include "shapes.h"
82 #include "tin.h"
83 #include "pointcloud.h"
84 #include "datetime.h"
85 
86 
88 // //
89 // //
90 // //
92 
93 //---------------------------------------------------------
94 #define PARAMETER_INPUT 0x01
95 #define PARAMETER_OUTPUT 0x02
96 #define PARAMETER_OPTIONAL 0x04
97 #define PARAMETER_INFORMATION 0x08
98 #define PARAMETER_IGNORE_PROJECTION 0x10
99 #define PARAMETER_NOT_FOR_GUI 0x20
100 #define PARAMETER_NOT_FOR_CMD 0x40
101 
102 #define PARAMETER_INPUT_OPTIONAL (PARAMETER_INPUT | PARAMETER_OPTIONAL)
103 #define PARAMETER_OUTPUT_OPTIONAL (PARAMETER_OUTPUT | PARAMETER_OPTIONAL)
104 
105 //---------------------------------------------------------
106 #define PARAMETER_DESCRIPTION_NAME 0x01
107 #define PARAMETER_DESCRIPTION_TYPE 0x02
108 #define PARAMETER_DESCRIPTION_OPTIONAL 0x04
109 #define PARAMETER_DESCRIPTION_PROPERTIES 0x08
110 #define PARAMETER_DESCRIPTION_TEXT 0x10
111 #define PARAMETER_DESCRIPTION_ALL (PARAMETER_DESCRIPTION_NAME | PARAMETER_DESCRIPTION_TYPE | PARAMETER_DESCRIPTION_OPTIONAL | PARAMETER_DESCRIPTION_PROPERTIES | PARAMETER_DESCRIPTION_TEXT)
112 
113 
115 // //
116 // //
117 // //
119 
120 //---------------------------------------------------------
121 typedef enum
122 {
124 
137 
142 
146 
153 
160 
162 
164 
166 }
168 
169 
171 // //
172 // //
173 // //
175 
176 //---------------------------------------------------------
180 
181 
183 // //
184 // //
185 // //
187 
188 //---------------------------------------------------------
189 #define PARAMETER_CHECK_VALUES 0x01
190 #define PARAMETER_CHECK_ENABLE 0x02
191 #define PARAMETER_CHECK_ALL (PARAMETER_CHECK_VALUES | PARAMETER_CHECK_ENABLE)
192 
193 //---------------------------------------------------------
194 #define SG_PARAMETER_DATA_SET_FALSE 0
195 #define SG_PARAMETER_DATA_SET_TRUE 1
196 #define SG_PARAMETER_DATA_SET_CHANGED 2
197 
198 
200 // //
201 // CSG_Parameter //
202 // //
204 
205 //---------------------------------------------------------
207 {
208 public:
209 
210  CSG_Parameters * Get_Parameters (void) const;
211  CSG_Parameter * Get_Parent (void) const;
212  class CSG_Data_Manager * Get_Manager (void) const;
213 
214  virtual TSG_Parameter_Type Get_Type (void) const = 0;
215  CSG_String Get_Type_Identifier (void) const;
216  CSG_String Get_Type_Name (void) const;
217 
218  const SG_Char * Get_Identifier (void) const;
219  bool Cmp_Identifier (const CSG_String &Identifier) const;
220  CSG_String Get_CmdID (void) const;
221  bool Set_Name (const CSG_String &Name);
222  const SG_Char * Get_Name (void) const;
223  const SG_Char * Get_Description (void) const;
224  bool Set_Description (const CSG_String &Description);
225  CSG_String Get_Description (int Flags) const;
226  CSG_String Get_Description (int Flags, const SG_Char *Separator) const;
227 
228  bool Set_Enabled (bool bEnabled = true);
229  bool is_Enabled (bool bCheckEnv = true) const;
230 
231  virtual bool is_Valid (void) const { return( true ); }
232  bool is_Input (void) const { return( !!(m_Constraint & PARAMETER_INPUT ) ); }
233  bool is_Output (void) const { return( !!(m_Constraint & PARAMETER_OUTPUT ) ); }
234  bool is_Optional (void) const { return( !!(m_Constraint & PARAMETER_OPTIONAL ) ); }
235  bool is_Information (void) const { return( !!(m_Constraint & PARAMETER_INFORMATION) ); }
236  bool is_Option (void) const;
237  bool is_DataObject (void) const;
238  bool is_DataObject_List (void) const;
239  bool is_Parameters (void) const;
240  bool is_Serializable (void) const;
241  bool is_Compatible (CSG_Parameter *pParameter) const;
242  bool is_Value_Equal (CSG_Parameter *pParameter) const;
243 
244  void Set_UseInGUI (bool bDoUse = false);
245  void Set_UseInCMD (bool bDoUse = false);
246 
247  bool do_UseInGUI (void) const;
248  bool do_UseInCMD (void) const;
249 
250  void ignore_Projection (bool bIgnore);
251  bool ignore_Projection (void) const { return( !!(m_Constraint & PARAMETER_IGNORE_PROJECTION) ); }
252 
253  TSG_Data_Object_Type Get_DataObject_Type (void) const;
254 
255  int Get_Children_Count (void) const { return( m_nChildren ); }
256  CSG_Parameter * Get_Child (int iChild) const { return( iChild >= 0 && iChild < m_nChildren ? m_Children[iChild] : NULL ); }
257  bool Set_Children_Enabled (bool bEnabled = true);
258 
259  //-----------------------------------------------------
260  virtual bool Set_Value (int Value);
261  virtual bool Set_Value (double Value);
262  virtual bool Set_Value (const CSG_String &Value);
263  virtual bool Set_Value (const char *Value);
264  virtual bool Set_Value (const wchar_t *Value);
265  virtual bool Set_Value (void *Value);
266  virtual bool Set_Value (CSG_Parameter *Value);
267 
268  virtual bool Toggle_Value (void);
269 
270  bool Set_Default (int Value);
271  bool Set_Default (double Value);
272  bool Set_Default (const CSG_String &Value);
273  const CSG_String & Get_Default (void) const;
274  virtual bool is_Default (void) const;
275  virtual bool Restore_Default (void);
276 
277  bool Check (bool bSilent = true);
278 
279  bool has_Changed (int Check_Flags = PARAMETER_CHECK_ALL);
280 
281  bool asBool (void) const { return( (bool )!!_asInt () ); }
282  int asInt (void) const { return( (int )_asInt () ); }
283  long asColor (void) const { return( (long )_asInt () ); }
284  double asDouble (void) const { return( (double )_asDouble () ); }
285  const SG_Char * asString (void) const { return( (const SG_Char *)_asString () ); }
286  void * asPointer (void) const { return( (void *)_asPointer() ); }
287 
288  CSG_Colors * asColors (void) const;
289  const SG_Char * asFont (void) const;
290  CSG_Grid_System * asGrid_System (void) const;
291 
292  CSG_Data_Object * asDataObject (void) const;
293  CSG_Grid * asGrid (void) const;
294  CSG_Grids * asGrids (void) const;
295  CSG_Table * asTable (void) const;
296  CSG_Shapes * asShapes (void) const;
297  CSG_TIN * asTIN (void) const;
298  CSG_PointCloud * asPointCloud (void) const;
299 
300  //-----------------------------------------------------
301  class CSG_Parameter_Value * asValue (void) const;
302  class CSG_Parameter_Date * asDate (void) const;
303  class CSG_Parameter_Data_Type * asDataType (void) const;
304  class CSG_Parameter_Choice * asChoice (void) const;
305  class CSG_Parameter_Choices * asChoices (void) const;
306  class CSG_Parameter_Range * asRange (void) const;
307  class CSG_Parameter_File_Name * asFilePath (void) const;
308  class CSG_Parameter_Table_Fields * asTableFields (void) const;
309  class CSG_Parameters * asParameters (void) const;
310 
311  class CSG_Parameter_List * asList (void) const;
312  class CSG_Parameter_Grid_List * asGridList (void) const;
313  class CSG_Parameter_Grids_List * asGridsList (void) const;
314  class CSG_Parameter_Table_List * asTableList (void) const;
315  class CSG_Parameter_Shapes_List * asShapesList (void) const;
316  class CSG_Parameter_TIN_List * asTINList (void) const;
318 
319  //-----------------------------------------------------
320  bool Assign (CSG_Parameter *pSource);
321  bool Serialize (CSG_MetaData &MetaData, bool bSave);
322 
323 
324 protected:
325 
326  friend class CSG_Parameters;
327 
328  CSG_Parameter(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
329  virtual ~CSG_Parameter(void);
330 
332 
333 
334  virtual int _Set_Value (int Value);
335  virtual int _Set_Value (double Value);
336  virtual int _Set_Value (const CSG_String &Value);
337  virtual int _Set_Value (void *Value);
338 
339  virtual void _Set_String (void);
340 
341  virtual int _asInt (void) const;
342  virtual double _asDouble (void) const;
343  virtual void * _asPointer (void) const;
344  virtual const SG_Char * _asString (void) const;
345 
346  virtual bool _Assign (CSG_Parameter *pSource);
347  virtual bool _Serialize (CSG_MetaData &MetaData, bool bSave);
348 
349 
350 private:
351 
352  void _Add_Child (CSG_Parameter *pChild);
353 
354 
355  bool m_bEnabled;
356 
357  int m_Constraint, m_nChildren;
358 
359  CSG_Parameter **m_Children;
360 
361  CSG_String m_Identifier, m_Name, m_Description, m_Default;
362 
363  CSG_Parameter *m_pParent;
364 
365  CSG_Parameters *m_pParameters;
366 
367 };
368 
369 
371 // //
373 
374 //---------------------------------------------------------
376 {
377 public:
378 
379  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Node ); }
380 
381 
382 protected:
383 
384  CSG_Parameter_Node(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
385 
386  friend class CSG_Parameters;
387 };
388 
389 
391 // //
393 
394 //---------------------------------------------------------
396 {
397 public:
398 
399  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Bool ); }
400 
401  virtual bool is_Default (void) const;
402 
403  virtual bool Toggle_Value (void);
404 
405 
406 protected:
407 
408  CSG_Parameter_Bool(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
409 
410  bool m_Value;
411 
412 
413  virtual int _Set_Value (int Value);
414  virtual int _Set_Value (double Value);
415  virtual int _Set_Value (const CSG_String &Value);
416 
417  virtual void _Set_String (void);
418 
419  virtual int _asInt (void) const { return( m_Value ); }
420 
421  virtual bool _Assign (CSG_Parameter *pSource);
422  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
423 
424 
425  friend class CSG_Parameters;
426 };
427 
428 
430 // //
432 
433 //---------------------------------------------------------
435 {
436 public:
437 
438  bool Set_Valid_Range (double Minimum, double Maximum);
439 
440  void Set_Minimum (double Minimum, bool bOn = true);
441  double Get_Minimum (void) const { return( m_Minimum ); }
442  bool has_Minimum (void) const { return( m_bMinimum ); }
443 
444  void Set_Maximum (double Maximum, bool bOn = true);
445  double Get_Maximum (void) const { return( m_Maximum ); }
446  bool has_Maximum (void) const { return( m_bMaximum ); }
447 
448 
449 protected:
450 
451  CSG_Parameter_Value(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
452 
453  bool m_bMinimum, m_bMaximum;
454 
455  double m_Minimum, m_Maximum;
456 
457 
458  virtual bool _Assign (CSG_Parameter *pSource);
459 
460 
461  friend class CSG_Parameters;
462 };
463 
464 
466 // //
468 
469 //---------------------------------------------------------
471 {
472 public:
473 
474  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Int ); }
475 
476  virtual bool is_Default (void) const;
477 
478 
479 protected:
480 
481  CSG_Parameter_Int(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
482 
483  int m_Value;
484 
485 
486  virtual int _Set_Value (int Value);
487  virtual int _Set_Value (double Value);
488  virtual int _Set_Value (const CSG_String &Value);
489 
490  virtual void _Set_String (void);
491 
492  virtual int _asInt (void) const { return( m_Value ); }
493  virtual double _asDouble (void) const { return( m_Value ); }
494 
495  virtual bool _Assign (CSG_Parameter *pSource);
496  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
497 
498 
499  friend class CSG_Parameters;
500 };
501 
502 
504 // //
506 
507 //---------------------------------------------------------
509 {
510 public:
511 
512  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Double ); }
513 
514  virtual bool is_Default (void) const;
515 
516 
517 protected:
518 
519  CSG_Parameter_Double(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
520 
521  double m_Value;
522 
523 
524  virtual int _Set_Value (int Value);
525  virtual int _Set_Value (double Value);
526  virtual int _Set_Value (const CSG_String &Value);
527 
528  virtual void _Set_String (void);
529 
530  virtual int _asInt (void) const { return( (int)m_Value ); }
531  virtual double _asDouble (void) const { return( m_Value ); }
532 
533  virtual bool _Assign (CSG_Parameter *pSource);
534  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
535 
536 
537  friend class CSG_Parameters;
538 };
539 
540 
542 // //
544 
545 //---------------------------------------------------------
547 {
548 public:
549 
550  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Degree ); }
551 
552 
553 protected:
554 
555  CSG_Parameter_Degree(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
556 
557  virtual int _Set_Value (const CSG_String &Value);
558 
559  virtual void _Set_String (void);
560 
561 
562  friend class CSG_Parameters;
563 };
564 
565 
567 // //
569 
570 //---------------------------------------------------------
572 {
573 public:
574 
575  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Date ); }
576 
577  void Set_Date (const CSG_DateTime &Date);
578  const CSG_DateTime & Get_Date (void) const { return( m_Date ); }
579 
580 
581 protected:
582 
583  CSG_Parameter_Date(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
584 
586 
587 
588  virtual int _Set_Value (int Value);
589  virtual int _Set_Value (double Value);
590  virtual int _Set_Value (const CSG_String &Value);
591 
592  virtual void _Set_String (void);
593 
594  virtual int _asInt (void) const;
595  virtual double _asDouble (void) const;
596 
597  virtual bool _Assign (CSG_Parameter *pSource);
598  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
599 
600 
601  friend class CSG_Parameters;
602 };
603 
604 
606 // //
608 
609 //---------------------------------------------------------
611 {
612 public:
613 
614  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Range ); }
615 
616  bool Set_Range (double Min, double Max);
617  double Get_Range (void) const { return( Get_Max() - Get_Min() ); }
618 
619  bool Set_Min (double Min);
620  double Get_Min (void) const;
621  CSG_Parameter_Double * Get_Min_Parameter (void) const { return( m_pMin ); }
622 
623  bool Set_Max (double Max);
624  double Get_Max (void) const;
625  CSG_Parameter_Double * Get_Max_Parameter (void) const { return( m_pMax ); }
626 
627  virtual bool is_Default (void) const;
628 
629  virtual bool Restore_Default (void);
630 
631 
632 protected:
633 
634  CSG_Parameter_Range(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
635  virtual ~CSG_Parameter_Range(void);
636 
638 
640 
641 
642  virtual int _Set_Value (const CSG_String &Value);
643 
644  virtual void _Set_String (void);
645 
646  virtual bool _Assign (CSG_Parameter *pSource);
647  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
648 
649 
650  friend class CSG_Parameters;
651 };
652 
653 
655 // //
657 
658 //---------------------------------------------------------
660 {
661 public:
662 
663  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Choice ); }
664 
665  virtual bool is_Default (void) const;
666 
667  virtual bool Toggle_Value (void);
668 
669  bool Del_Items (void);
670  bool Add_Item (const CSG_String &Item, const CSG_String &Data = "");
671 
672  bool Set_Items (const SG_Char *String);
673  CSG_String Get_Items (void) const;
674 
675  const SG_Char * Get_Item (int Index) const;
676  CSG_String Get_Item_Data (int Index) const;
677 
678  CSG_String Get_Data (void) const;
679  bool Get_Data (CSG_String &Value) const;
680  bool Get_Data (int &Value) const;
681  bool Get_Data (double &Value) const;
682 
683  int Get_Count (void) const { return( m_Items.Get_Count() ); }
684 
685 
686 protected:
687 
688  CSG_Parameter_Choice(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
689 
690  int m_Value;
691 
693 
694 
695  virtual int _Set_Value (int Value);
696  virtual int _Set_Value (double Value);
697  virtual int _Set_Value (const CSG_String &Value);
698 
699  virtual void _Set_String (void);
700 
701  virtual int _asInt (void) const { return( m_Value ); }
702  virtual double _asDouble (void) const { return( m_Value ); }
703 
704  virtual bool _Assign (CSG_Parameter *pSource);
705  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
706 
707 
708  friend class CSG_Parameters;
709 };
710 
711 
713 // //
715 
716 //---------------------------------------------------------
718 {
719 public:
720 
721  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Data_Type ); }
722 
723  bool Set_Data_Types (int Data_Types, TSG_Data_Type Default = SG_DATATYPE_Undefined, const CSG_String &User = "");
724 
725  bool Set_Data_Type (TSG_Data_Type Value);
726  TSG_Data_Type Get_Data_Type (TSG_Data_Type Default = SG_DATATYPE_Undefined) const;
727 
728 
729 protected:
730 
731  CSG_Parameter_Data_Type(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
732 
733 
734  virtual bool _Assign (CSG_Parameter *pSource);
735  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
736 
737 
738  friend class CSG_Parameters;
739 };
740 
741 
743 // //
745 
746 //---------------------------------------------------------
748 {
749 public:
750 
751  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Choices ); }
752 
753  void Set_Items (const CSG_String &Items);
754  void Set_Items (const CSG_Strings &Items);
755  CSG_String Get_Items (void) const;
756  void Del_Items (void);
757  void Add_Item (const CSG_String &Item, const CSG_String &Data = "");
758 
759  int Get_Item_Count (void) const { return( m_Items[0].Get_Count() ); }
760  const CSG_String & Get_Item (int i) const { return( m_Items[0][i] ); }
761  const CSG_String & Get_Item_Data (int i) const { return( m_Items[1][i] ); }
762 
763  int Get_Selection_Count (void) const { return( (int)m_Selection.Get_Size() ); }
764  const CSG_String & Get_Selection (int i) const { return( Get_Item (Get_Selection_Index(i)) ); }
765  const CSG_String & Get_Selection_Data (int i) const { return( Get_Item_Data(Get_Selection_Index(i)) ); }
766  int Get_Selection_Index (int i) const { return( i >= 0 && i < Get_Selection_Count() ? m_Selection[i] : -1 ); }
767 
768  bool is_Selected (int Index);
769  bool Select (int Index, bool bSelect = true);
770  bool Clr_Selection (void);
771 
772 
773 protected:
774 
775  CSG_Parameter_Choices(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
776 
777  CSG_Strings m_Items[2];
778 
780 
781 
782  virtual int _Set_Value (const CSG_String &Value);
783 
784  virtual void _Set_String (void);
785 
786  virtual bool _Assign (CSG_Parameter *pSource);
787  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
788 
789 
790  friend class CSG_Parameters;
791 };
792 
793 
795 // //
797 
798 //---------------------------------------------------------
800 {
801 public:
802 
803  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_String ); }
804 
805  virtual bool is_Valid (void) const;
806 
807  void Set_Password (bool bOn);
808  bool is_Password (void) const;
809 
810 
811 protected:
812 
813  CSG_Parameter_String(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
814 
816 
817 
818  virtual int _Set_Value (const CSG_String &Value);
819 
820  virtual bool _Assign (CSG_Parameter *pSource);
821  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
822 
823 
824  friend class CSG_Parameters;
825 };
826 
827 
829 // //
831 
832 //---------------------------------------------------------
834 {
835 public:
836  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Text ); }
837 
838 
839 protected:
840 
841  CSG_Parameter_Text(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
842 
843 
844  friend class CSG_Parameters;
845 };
846 
847 
849 // //
851 
852 //---------------------------------------------------------
854 {
855 public:
856 
857  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_FilePath ); }
858 
859  void Set_Filter (const SG_Char *Filter);
860  const SG_Char * Get_Filter (void) const;
861 
862  void Set_Flag_Save (bool bFlag);
863  bool is_Save (void) const { return( m_bSave ); }
864 
865  void Set_Flag_Multiple (bool bFlag);
866  bool is_Multiple (void) const { return( m_bMultiple ); }
867 
868  void Set_Flag_Directory (bool bFlag);
869  bool is_Directory (void) const { return( m_bDirectory ); }
870 
871  bool Get_FilePaths (CSG_Strings &FilePaths) const;
872 
873 
874 protected:
875 
876  CSG_Parameter_File_Name(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
877 
878  bool m_bSave, m_bMultiple, m_bDirectory;
879 
881 
882 
883  virtual bool _Assign (CSG_Parameter *pSource);
884 
885 
886  friend class CSG_Parameters;
887 };
888 
889 
891 // //
893 
894 //---------------------------------------------------------
896 {
897 public:
898 
899  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Font ); }
900 
901  virtual bool Restore_Default (void);
902 
903 
904 protected:
905 
906  CSG_Parameter_Font(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
907 
908  int m_Color;
909 
910 
911  virtual int _Set_Value (int Value);
912  virtual int _Set_Value (const CSG_String &Value);
913 
914  virtual int _asInt (void) const;
915  virtual void * _asPointer (void) const;
916 
917  virtual bool _Assign (CSG_Parameter *pSource);
918  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
919 
920 
921  friend class CSG_Parameters;
922 };
923 
924 
926 // //
928 
929 //---------------------------------------------------------
931 {
932 public:
933 
934  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Color ); }
935 
936  virtual int _Set_Value (const CSG_String &Value);
937 
938 
939 protected:
940 
941  CSG_Parameter_Color(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
942 
943 
944  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
945 
946 
947  friend class CSG_Parameters;
948 };
949 
950 
952 // //
954 
955 //---------------------------------------------------------
957 {
958 public:
959 
960  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Colors ); }
961 
962 
963 protected:
964 
965  CSG_Parameter_Colors(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
966 
968 
969 
970  virtual int _Set_Value (int Value);
971 
972  virtual void _Set_String (void);
973 
974  virtual int _asInt (void) const;
975  virtual void * _asPointer (void) const;
976 
977  virtual bool _Assign (CSG_Parameter *pSource);
978  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
979 
980 
981  friend class CSG_Parameters;
982 };
983 
984 
986 // //
988 
989 //---------------------------------------------------------
991 {
992 public:
993 
994  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_FixedTable ); }
995 
996 
997 protected:
998 
999  CSG_Parameter_Fixed_Table(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1000 
1002 
1003 
1004  virtual int _Set_Value (void *Value);
1005 
1006  virtual void _Set_String (void);
1007 
1008  virtual void * _asPointer (void) const;
1009 
1010  virtual bool _Assign (CSG_Parameter *pSource);
1011  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1012 
1013 
1014  friend class CSG_Parameters;
1015 };
1016 
1017 
1019 // //
1021 
1022 //---------------------------------------------------------
1024 {
1025 public:
1026 
1027  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grid_System ); }
1028 
1029 
1030 protected:
1031 
1032  CSG_Parameter_Grid_System(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1033 
1035 
1036 
1037  virtual int _Set_Value (void *Value);
1038 
1039  virtual void _Set_String (void);
1040 
1041  virtual void * _asPointer (void) const;
1042 
1043  virtual bool _Assign (CSG_Parameter *pSource);
1044  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1045 
1046 
1047  friend class CSG_Parameters;
1048 };
1049 
1050 
1052 // //
1054 
1055 //---------------------------------------------------------
1057 {
1058 public:
1059 
1060  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table_Field ); }
1061 
1062  bool Add_Default (double Value, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1063 
1064  CSG_Table * Get_Table (void) const;
1065 
1066  static CSG_String Get_Choices (const class CSG_Table &Table, bool bAllowNone = false);
1067 
1068 
1069 protected:
1070 
1071  CSG_Parameter_Table_Field(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1072 
1074 
1075 
1076  virtual int _Set_Value (int Value);
1077  virtual int _Set_Value (const CSG_String &Value);
1078 
1079  virtual void _Set_String (void);
1080 
1081  virtual double _asDouble (void) const;
1082 
1083  virtual bool _Assign (CSG_Parameter *pSource);
1084  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1085 
1086 
1087  friend class CSG_Parameters;
1088 };
1089 
1090 
1092 // //
1094 
1095 //---------------------------------------------------------
1097 {
1098 public:
1099 
1100  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table_Fields ); }
1101 
1102  int Get_Count (void) const { return( m_nFields ); }
1103  int Get_Index (int i) const { return( i >= 0 && i < m_nFields ? m_Fields[i] : -1 ); }
1104 
1105  int operator [] (int i) const { return( i >= 0 && i < m_nFields ? m_Fields[i] : -1 ); }
1106 
1107  CSG_Table * Get_Table (void) const;
1108 
1109 
1110 protected:
1111 
1112  CSG_Parameter_Table_Fields(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1113  virtual ~CSG_Parameter_Table_Fields(void);
1114 
1115  int m_nFields, *m_Fields;
1116 
1117 
1118  virtual int _Set_Value (const CSG_String &Value);
1119 
1120  virtual int _asInt (void) const;
1121  virtual void * _asPointer (void) const;
1122 
1123  virtual bool _Assign (CSG_Parameter *pSource);
1124  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1125 
1126 
1127  friend class CSG_Parameters;
1128 };
1129 
1130 
1132 // //
1134 
1135 //---------------------------------------------------------
1137 {
1138 public:
1139 
1140  virtual bool is_Valid (void) const;
1141 
1142 
1143 protected:
1144 
1145  CSG_Parameter_Data_Object(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1146 
1148 
1149 
1150  virtual int _Set_Value (void *Value);
1151 
1152  virtual void _Set_String (void);
1153 
1154  virtual void * _asPointer (void) const;
1155 
1156  virtual bool _Assign (CSG_Parameter *pSource);
1157  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1158 
1159 
1160  friend class CSG_Parameters;
1161 };
1162 
1163 
1165 // //
1167 
1168 //---------------------------------------------------------
1170 {
1171 public:
1172 
1174 
1175  bool Set_DataObject_Type (TSG_Data_Object_Type Type);
1176  TSG_Data_Object_Type Get_DataObject_Type (void) const { return( m_Type ); }
1177 
1178 
1179 protected:
1180 
1181  CSG_Parameter_Data_Object_Output(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1182 
1184 
1185 
1186  virtual int _Set_Value (void *Value);
1187 
1188 
1189  friend class CSG_Parameters;
1190 };
1191 
1192 
1194 // //
1196 
1197 //---------------------------------------------------------
1199 {
1200 public:
1201 
1202  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grid ); }
1203 
1204  void Set_Preferred_Type (TSG_Data_Type Type);
1205  TSG_Data_Type Get_Preferred_Type (void) const { return( m_Type ); }
1206 
1207  CSG_Grid_System * Get_System (void) const;
1208 
1209  bool Add_Default (double Value, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1210 
1211 
1212 protected:
1213 
1214  CSG_Parameter_Grid(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1215 
1217 
1219 
1220 
1221  virtual int _Set_Value (void *Value);
1222 
1223  virtual int _asInt (void) const;
1224  virtual double _asDouble (void) const;
1225 
1226  virtual bool _Assign (CSG_Parameter *pSource);
1227 
1228 
1229  friend class CSG_Parameters;
1230 };
1231 
1232 
1234 // //
1236 
1237 //---------------------------------------------------------
1239 {
1240 public:
1241 
1242  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grids ); }
1243 
1244 
1245 protected:
1246 
1247  CSG_Parameter_Grids(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1248 
1249 
1250  friend class CSG_Parameters;
1251 };
1252 
1253 
1255 // //
1257 
1258 //---------------------------------------------------------
1260 {
1261 public:
1262 
1263  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table ); }
1264 
1265  CSG_Parameter_Table(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1266 
1267 
1268 protected:
1269 
1270  virtual int _Set_Value (void *Value);
1271 
1272 
1273  friend class CSG_Parameters;
1274 };
1275 
1276 
1278 // //
1280 
1281 //---------------------------------------------------------
1283 {
1284 public:
1285 
1286  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Shapes ); }
1287 
1288  void Set_Shape_Type (TSG_Shape_Type Type);
1289  TSG_Shape_Type Get_Shape_Type (void) const { return( m_Type ); }
1290 
1291 
1292 protected:
1293 
1294  CSG_Parameter_Shapes(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1295 
1297 
1298 
1299  virtual int _Set_Value (void *Value);
1300 
1301  virtual bool _Assign (CSG_Parameter *pSource);
1302 
1303 
1304  friend class CSG_Parameters;
1305 };
1306 
1307 
1309 // //
1311 
1312 //---------------------------------------------------------
1314 {
1315 public:
1316 
1317  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_TIN ); }
1318 
1319 
1320 protected:
1321 
1322  CSG_Parameter_TIN(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1323 
1324 
1325  virtual int _Set_Value (void *Value);
1326 
1327 
1328  friend class CSG_Parameters;
1329 };
1330 
1331 
1333 // //
1335 
1336 //---------------------------------------------------------
1338 {
1339 public:
1340 
1341  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_PointCloud ); }
1342 
1343 
1344 protected:
1345 
1346  CSG_Parameter_PointCloud(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1347 
1348 
1349  virtual int _Set_Value (void *Value);
1350 
1351  virtual bool _Assign (CSG_Parameter *pSource);
1352 
1353 
1354  friend class CSG_Parameters;
1355 };
1356 
1357 
1359 // //
1361 
1362 //---------------------------------------------------------
1364 {
1365 public:
1366 
1367  virtual bool Add_Item (CSG_Data_Object *pItem);
1368  virtual bool Del_Item (CSG_Data_Object *pItem, bool bUpdateData = true);
1369  virtual bool Del_Item (int Index , bool bUpdateData = true);
1370  virtual bool Del_Items (void);
1371 
1372  int Get_Item_Count (void) const { return( (int)m_Objects.Get_Size() ); }
1373  CSG_Data_Object * Get_Item (int Index) const { return( Index >= 0 && Index < Get_Item_Count() ? (CSG_Data_Object *)m_Objects[Index] : NULL ); }
1374 
1375  virtual bool Update_Data (void) { return( true ); }
1376 
1377 
1378 protected:
1379 
1380  CSG_Parameter_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1381 
1382 
1383  virtual int _Set_Value (void *Value);
1384 
1385  virtual void _Set_String (void);
1386 
1387  virtual int _asInt (void) const;
1388  virtual void * _asPointer (void) const;
1389 
1390  virtual bool _Assign (CSG_Parameter *pSource);
1391  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1392 
1393 
1394 private:
1395 
1396  CSG_Array_Pointer m_Objects;
1397 
1398 
1399  friend class CSG_Parameters;
1400 };
1401 
1402 
1404 // //
1406 
1407 //---------------------------------------------------------
1409 {
1410 public:
1411 
1412  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grid_List ); }
1413 
1414  CSG_Grid_System * Get_System (void) const;
1415 
1416  virtual bool Add_Item (CSG_Data_Object *pItem);
1417  virtual bool Del_Item (CSG_Data_Object *pItem, bool bUpdateData = true);
1418  virtual bool Del_Item (int Index , bool bUpdateData = true);
1419  virtual bool Del_Items (void);
1420 
1421  virtual bool Update_Data (void);
1422 
1423  int Get_Grid_Count (void) const { return( (int)m_Grids.Get_Size() ); }
1424  CSG_Grid * Get_Grid (int Index) const { return( Index >= 0 && Index < Get_Grid_Count() ? (CSG_Grid *)m_Grids[Index] : NULL ); }
1425 
1426 
1427 protected:
1428 
1429  CSG_Parameter_Grid_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1430 
1432 
1433 
1434  friend class CSG_Parameters;
1435 };
1436 
1437 
1439 // //
1441 
1442 //---------------------------------------------------------
1444 {
1445 public:
1446  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grids_List ); }
1447 
1448  CSG_Grid_System * Get_System (void) const;
1449 
1450  virtual bool Add_Item (CSG_Data_Object *pItem);
1451 
1452  CSG_Grids * Get_Grids (int Index) const { return( (CSG_Grids *)Get_Item(Index) ); }
1453 
1454 
1455 protected:
1456 
1457  CSG_Parameter_Grids_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1458 
1459 
1460  friend class CSG_Parameters;
1461 };
1462 
1463 
1465 // //
1467 
1468 //---------------------------------------------------------
1470 {
1471 public:
1472 
1473  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table_List ); }
1474 
1475  CSG_Table * Get_Table (int Index) const { return( (CSG_Table *)Get_Item(Index) ); }
1476 
1477 
1478 protected:
1479 
1480  CSG_Parameter_Table_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1481 
1482 
1483  friend class CSG_Parameters;
1484 };
1485 
1486 
1488 // //
1490 
1491 //---------------------------------------------------------
1493 {
1494 public:
1495 
1496  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Shapes_List ); }
1497 
1498  void Set_Shape_Type (TSG_Shape_Type Type);
1499  TSG_Shape_Type Get_Shape_Type (void) const { return( m_Type );}
1500 
1501  CSG_Shapes * Get_Shapes (int Index) const { return( (CSG_Shapes *)Get_Item(Index) ); }
1502 
1503 
1504 protected:
1505 
1506  CSG_Parameter_Shapes_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1507 
1509 
1510 
1511  virtual bool _Assign (CSG_Parameter *pSource);
1512 
1513 
1514  friend class CSG_Parameters;
1515 };
1516 
1517 
1519 // //
1521 
1522 //---------------------------------------------------------
1524 {
1525 public:
1526 
1527  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_TIN_List ); }
1528 
1529  CSG_TIN * asTIN (int Index) const { return( (CSG_TIN *)Get_Item(Index) ); }
1530 
1531 
1532 protected:
1533 
1534  CSG_Parameter_TIN_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1535 
1536 
1537  friend class CSG_Parameters;
1538 };
1539 
1540 
1542 // //
1544 
1545 //---------------------------------------------------------
1547 {
1548 public:
1549 
1550  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_PointCloud_List ); }
1551 
1552  CSG_PointCloud * Get_PointCloud (int Index) const { return( (CSG_PointCloud *)Get_Item(Index) ); }
1553 
1554 
1555 protected:
1556 
1557  CSG_Parameter_PointCloud_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1558 
1559 
1560  friend class CSG_Parameters;
1561 };
1562 
1563 
1565 // //
1567 
1568 //---------------------------------------------------------
1570 {
1571 public:
1572 
1573  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Parameters ); }
1574 
1575  virtual bool Restore_Default (void);
1576 
1577 
1578 protected:
1579 
1580  CSG_Parameter_Parameters(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1581  virtual ~CSG_Parameter_Parameters(void);
1582 
1584 
1585 
1586  virtual void _Set_String (void);
1587 
1588  virtual void * _asPointer (void) const;
1589 
1590  virtual bool _Assign (CSG_Parameter *pSource);
1591  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1592 
1593 
1594  friend class CSG_Parameters;
1595 };
1596 
1597 
1599 // //
1600 // Coordinate System Reference Picker //
1601 // //
1603 
1604 //---------------------------------------------------------
1606 {
1607 public:
1609 
1610  bool Create (CSG_Parameters &Parameters, const CSG_String &ParentID = "");
1611 
1612  bool Activate_GUI (bool bReset = false);
1613  bool Deactivate_GUI (void);
1614 
1615  static bool On_Parameter_Changed (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1616  static bool On_Parameters_Enable (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1617 
1618  bool Get_CRS (CSG_Projection &Projection, bool bMessage = false) const;
1619 
1620 
1621 private:
1622 
1623  CSG_Parameters *m_pParameters { NULL };
1624 
1625  class CSG_Tool *m_pCRS { NULL };
1626 
1627 };
1628 
1629 
1631 // //
1632 // Grid Target Selector //
1633 // //
1635 
1636 //---------------------------------------------------------
1638 {
1639 public:
1641 
1642  bool Create (CSG_Parameters *pParameters, bool bAddDefaultGrid , CSG_Parameter *pParent , const CSG_String &Prefix = "");
1643  bool Create (CSG_Parameters *pParameters, bool bAddDefaultGrid = true, const CSG_String &ParentID = "", const CSG_String &Prefix = "");
1644 
1645  bool Add_Grid (const CSG_String &ID, const CSG_String &Name, bool bOptional);
1646  bool Add_Grids (const CSG_String &ID, const CSG_String &Name, bool bOptional, bool bZLevels = false);
1647 
1648  bool On_Parameter_Changed (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1649  static bool On_Parameter_Changed (CSG_Parameters *pParameters, CSG_Parameter *pParameter, const CSG_String Prefix);
1650  bool On_Parameters_Enable (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1651  static bool On_Parameters_Enable (CSG_Parameters *pParameters, CSG_Parameter *pParameter, const CSG_String Prefix);
1652 
1653  bool Set_User_Defined (CSG_Parameters *pParameters, const TSG_Rect &Extent, int Rows = 0, int Rounding = 2);
1654  bool Set_User_Defined (CSG_Parameters *pParameters, CSG_Shapes *pPoints, int Scale = 4 , int Rounding = 2);
1655  bool Set_User_Defined (CSG_Parameters *pParameters, double xMin, double yMin, double Size, int nx, int ny);
1656  bool Set_User_Defined (CSG_Parameters *pParameters, const CSG_Grid_System &System);
1657 
1658  bool Set_User_Defined_ZLevels (CSG_Parameters *pParameters, double zMin, double zMax, int nLevels, int Rounding = 2);
1659 
1660  CSG_Grid_System Get_System (void) const;
1661  CSG_Grid_System Get_System (CSG_Parameters *pParameters) const;
1662 
1663  CSG_Grid * Get_Grid (const CSG_String &ID, TSG_Data_Type Type = SG_DATATYPE_Float);
1664  CSG_Grid * Get_Grid ( TSG_Data_Type Type = SG_DATATYPE_Float);
1665 
1666  CSG_Grids * Get_Grids (const CSG_String &ID, TSG_Data_Type Type = SG_DATATYPE_Float);
1667  CSG_Grids * Get_Grids ( TSG_Data_Type Type = SG_DATATYPE_Float);
1668 
1669 
1670 private:
1671 
1672  CSG_String m_Prefix;
1673 
1674  CSG_Parameters *m_pParameters;
1675 
1676 };
1677 
1678 
1680 // //
1681 // CSG_Parameters //
1682 // //
1684 
1685 //---------------------------------------------------------
1686 typedef int (* TSG_PFNC_Parameter_Changed) (CSG_Parameter *pParameter, int Flags);
1687 
1688 //---------------------------------------------------------
1690 {
1691  friend class CSG_Parameter;
1692  friend class CSG_Tool;
1693 
1694 public:
1695  CSG_Parameters(void);
1696  virtual ~CSG_Parameters(void);
1697 
1699  bool Create (const CSG_Parameters &Parameters);
1700 
1701  CSG_Parameters (const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1702  bool Create (const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1703 
1704  CSG_Parameters (void *pOwner, const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1705  bool Create (void *pOwner, const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1706 
1707  void Destroy (void);
1708 
1709  //-----------------------------------------------------
1710  void * Get_Owner (void) const { return( m_pOwner ); }
1711 
1712  class CSG_Tool * Get_Tool (void) const { return( m_pTool ); }
1713  void Set_Tool (class CSG_Tool *pTool);
1714 
1715  class CSG_Data_Manager * Get_Manager (void) const { return( m_pManager ); }
1716  void Set_Manager (class CSG_Data_Manager *pManager);
1717 
1718  bool Push (class CSG_Data_Manager *pManager = NULL, bool bRestoreDefaults = true);
1719  bool Pop (void);
1720 
1721  bool Use_Grid_System (void);
1722 
1723  bool has_GUI (void) const;
1724 
1725  int Get_Count (void) const { return( m_nParameters ); }
1726 
1727  void Set_Identifier (const CSG_String &Identifier);
1728  bool Cmp_Identifier (const CSG_String &Identifier) const;
1729  const CSG_String & Get_Identifier (void) const { return( m_Identifier ); }
1730 
1731  void Set_Name (const CSG_String &Name);
1732  const CSG_String & Get_Name (void) const { return( m_Name ); }
1733 
1734  void Set_Description (const CSG_String &Description);
1735  const CSG_String & Get_Description (void) const { return( m_Description ); }
1736 
1737  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);
1738  void Add_Reference (const CSG_String &Link, const SG_Char *Link_Text = NULL);
1739  void Del_References (void);
1740  const CSG_Strings & Get_References (void) const { return( m_References ); }
1741 
1742  void Set_Enabled (bool bEnabled = true);
1743  void Set_Enabled (const CSG_String &Identifier, bool bEnabled = true);
1744 
1745  //-----------------------------------------------------
1746  TSG_PFNC_Parameter_Changed Set_Callback_On_Parameter_Changed (TSG_PFNC_Parameter_Changed pCallback);
1747  bool Set_Callback (bool bActive = true);
1748 
1749  //-----------------------------------------------------
1750  CSG_Parameters & operator = (const CSG_Parameters &Parameters) { Create(Parameters); return( *this ); }
1751 
1752  CSG_Parameter * Get_Parameter (int i ) const { return( i >= 0 && i < m_nParameters ? m_Parameters[i] : NULL ); }
1753  CSG_Parameter * Get_Parameter (int i , bool MsgOnError ) const;
1754  CSG_Parameter * Get_Parameter (const CSG_String &ID, bool MsgOnError = false) const;
1755  CSG_Parameter * Get_Parameter (const char *ID, bool MsgOnError = false) const;
1756  CSG_Parameter * Get_Parameter (const wchar_t *ID, bool MsgOnError = false) const;
1757 
1758  CSG_Parameter * operator() (int i ) const { return( Get_Parameter(i ) ); }
1759  CSG_Parameter * operator() (const CSG_String &ID) const { return( Get_Parameter(ID) ); }
1760  CSG_Parameter * operator() (const char *ID) const { return( Get_Parameter(ID) ); }
1761  CSG_Parameter * operator() (const wchar_t *ID) const { return( Get_Parameter(ID) ); }
1762 
1763  CSG_Parameter & operator[] (int i ) const { return( *Get_Parameter(i ) ); }
1764  CSG_Parameter & operator[] (const CSG_String &ID) const { return( *Get_Parameter(ID) ); }
1765  CSG_Parameter & operator[] (const char *ID) const { return( *Get_Parameter(ID) ); }
1766  CSG_Parameter & operator[] (const wchar_t *ID) const { return( *Get_Parameter(ID) ); }
1767 
1768  //-----------------------------------------------------
1769  bool Del_Parameter (int i);
1770  bool Del_Parameter (const CSG_String &ID);
1771 
1772  bool Del_Parameters (void);
1773 
1774  //-----------------------------------------------------
1775  CSG_Parameter * Add_Parameter (CSG_Parameter *pParameter);
1776 
1777  CSG_Parameter * Add_Node (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1778 
1779  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);
1780  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);
1781 
1782  CSG_Parameter * Add_Bool (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value = false);
1783  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);
1784  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);
1785  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);
1786  CSG_Parameter * Add_Date (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0); // Julian Day Number
1787  CSG_Parameter * Add_Color (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value = 0);
1788 
1789  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);
1790  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);
1791 
1792  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 = "");
1793 
1794  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);
1795  CSG_Parameter * Add_Choices (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items);
1796 
1797  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);
1798  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);
1799 
1800  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);
1801 
1802  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);
1803  CSG_Parameter * Add_Colors (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit);
1804  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);
1805  CSG_Parameter * Add_FixedTable (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit = NULL);
1806 
1807  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);
1808  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);
1809  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);
1810  CSG_Parameter * Add_Grid_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1811  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);
1812 
1813  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);
1814  CSG_Parameter * Add_Grids_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1815  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);
1816 
1817  CSG_Parameter * Add_Table_Field (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone = false);
1818  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);
1819  CSG_Parameter * Add_Table_Fields (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1820  CSG_Parameter * Add_Table (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1821  CSG_Parameter * Add_Table_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1822  CSG_Parameter * Add_Table_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1823 
1824  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);
1825  CSG_Parameter * Add_Shapes_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1826  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);
1827 
1828  CSG_Parameter * Add_TIN (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1829  CSG_Parameter * Add_TIN_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1830  CSG_Parameter * Add_TIN_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1831 
1832  CSG_Parameter * Add_PointCloud (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1833  CSG_Parameter * Add_PointCloud_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1834  CSG_Parameter * Add_PointCloud_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1835 
1836  CSG_Parameter * Add_Parameters (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1837 
1838  //-----------------------------------------------------
1839  bool Set_Parameter (const CSG_String &ID, CSG_Parameter *pValue);
1840  bool Set_Parameter (const char *ID, CSG_Parameter *pValue);
1841  bool Set_Parameter (const wchar_t *ID, CSG_Parameter *pValue);
1842  bool Set_Parameter (const CSG_String &ID, void *Value, int Type = PARAMETER_TYPE_Undefined);
1843  bool Set_Parameter (const char *ID, void *Value, int Type = PARAMETER_TYPE_Undefined);
1844  bool Set_Parameter (const wchar_t *ID, void *Value, int Type = PARAMETER_TYPE_Undefined);
1845  bool Set_Parameter (const CSG_String &ID, CSG_Data_Object *Value, int Type = PARAMETER_TYPE_Undefined);
1846  bool Set_Parameter (const char *ID, CSG_Data_Object *Value, int Type = PARAMETER_TYPE_Undefined);
1847  bool Set_Parameter (const wchar_t *ID, CSG_Data_Object *Value, int Type = PARAMETER_TYPE_Undefined);
1848  bool Set_Parameter (const CSG_String &ID, int Value, int Type = PARAMETER_TYPE_Undefined);
1849  bool Set_Parameter (const char *ID, int Value, int Type = PARAMETER_TYPE_Undefined);
1850  bool Set_Parameter (const wchar_t *ID, int Value, int Type = PARAMETER_TYPE_Undefined);
1851  bool Set_Parameter (const CSG_String &ID, double Value, int Type = PARAMETER_TYPE_Undefined);
1852  bool Set_Parameter (const char *ID, double Value, int Type = PARAMETER_TYPE_Undefined);
1853  bool Set_Parameter (const wchar_t *ID, double Value, int Type = PARAMETER_TYPE_Undefined);
1854  bool Set_Parameter (const CSG_String &ID, const CSG_String &Value, int Type = PARAMETER_TYPE_Undefined);
1855  bool Set_Parameter (const char *ID, const CSG_String &Value, int Type = PARAMETER_TYPE_Undefined);
1856  bool Set_Parameter (const wchar_t *ID, const CSG_String &Value, int Type = PARAMETER_TYPE_Undefined);
1857  bool Set_Parameter (const CSG_String &ID, const char *Value, int Type = PARAMETER_TYPE_Undefined);
1858  bool Set_Parameter (const char *ID, const char *Value, int Type = PARAMETER_TYPE_Undefined);
1859  bool Set_Parameter (const wchar_t *ID, const char *Value, int Type = PARAMETER_TYPE_Undefined);
1860  bool Set_Parameter (const CSG_String &ID, const wchar_t *Value, int Type = PARAMETER_TYPE_Undefined);
1861  bool Set_Parameter (const char *ID, const wchar_t *Value, int Type = PARAMETER_TYPE_Undefined);
1862  bool Set_Parameter (const wchar_t *ID, const wchar_t *Value, int Type = PARAMETER_TYPE_Undefined);
1863 
1864  bool Restore_Defaults (bool bClearData = false);
1865 
1866  bool Assign (CSG_Parameters *pSource);
1867  bool Assign_Values (CSG_Parameters *pSource);
1868  bool Assign_Parameters (CSG_Parameters *pSource);
1869 
1870  bool Load (const CSG_MetaData &Data);
1871  bool Save ( CSG_MetaData &Data) const;
1872 
1873  bool Load (const CSG_String &File);
1874  bool Save (const CSG_String &File) const;
1875 
1876  bool Serialize ( CSG_MetaData &Data, bool bSave) { return( bSave ? Save(Data) : Load(Data) ); }
1877  bool Serialize ( CSG_MetaData &Data ) const { return( Save(Data) ); }
1878  bool Serialize (const CSG_String &File, bool bSave) { return( bSave ? Save(File) : Load(File) ); }
1879  bool Serialize (const CSG_String &File ) const { return( Save(File) ); }
1880 
1881  bool Serialize_Compatibility (CSG_File &Stream);
1882 
1883  //-----------------------------------------------------
1884  bool DataObjects_Check (bool bSilent = false);
1885 
1886  //-----------------------------------------------------
1887  bool Get_String (CSG_String &String, bool bOptionsOnly);
1888  bool Msg_String (bool bOptionsOnly);
1889 
1890  bool Set_History (CSG_MetaData &History, bool bOptions = true, bool bDataObjects = true);
1891 
1892  bool is_Managed (void) const { return( m_pManager != NULL ); }
1893 
1894  CSG_Parameter * Get_Grid_System_Parameter (void) const { return( m_pGrid_System ); }
1895  CSG_Grid_System * Get_Grid_System (void) const { return( m_pGrid_System ? m_pGrid_System->asGrid_System() : NULL ); }
1896  bool Set_Grid_System (const CSG_Grid_System &System);
1897  bool Reset_Grid_System (void);
1898 
1899 
1900 private:
1901 
1902  void *m_pOwner;
1903 
1904  class CSG_Tool *m_pTool;
1905 
1906  class CSG_Data_Manager *m_pManager;
1907 
1908  bool m_bCallback;
1909 
1910  CSG_String m_Identifier, m_Name, m_Description;
1911 
1912  CSG_Strings m_References;
1913 
1914  int m_nParameters;
1915 
1916  CSG_Parameter **m_Parameters, *m_pGrid_System;
1917 
1918  CSG_Parameters *m_pStack;
1919 
1920  TSG_PFNC_Parameter_Changed m_Callback;
1921 
1922 
1923  void _On_Construction (void);
1924 
1925  bool _On_Parameter_Changed (CSG_Parameter *pParameter, int Flags);
1926 
1927  CSG_Parameter * _Add_Value (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bInformation, TSG_Parameter_Type Type, double Value, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1928  CSG_Parameter * _Add_Range (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bInformation, double Range_Min, double Range_Max, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1929  CSG_Parameter * _Add_String (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bInformation, const SG_Char *String, bool bLongText, bool bPassword);
1930 
1931  CSG_Parameter * _Add (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, int Constraint);
1932  CSG_Parameter * _Add (CSG_Parameter *pSource);
1933 
1934  bool DataObjects_Create (void);
1935  bool DataObjects_Synchronize (void);
1936  bool DataObjects_Get_Projection (CSG_Projection &Projection) const;
1937  bool DataObjects_Set_Projection (const CSG_Projection &Projection);
1938 
1939 
1940 public: // DEPRECATED BEGIN
1941 
1942  // old style calls (parent as csg_parameter pointer instead of identifier)
1943 
1944  CSG_Parameter * Add_Node (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
1945  { return( Add_Node (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
1946  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)
1947  { return( Add_Value (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Type, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1948  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)
1949  { return( Add_Info_Value (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Type, Value) ); }
1950  CSG_Parameter * Add_Bool (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value = false)
1951  { return( Add_Bool (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value) ); }
1952  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)
1953  { return( Add_Int (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1954  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)
1955  { return( Add_Double (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1956  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)
1957  { return( Add_Degree (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1958  CSG_Parameter * Add_Date (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0)
1959  { return( Add_Date (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value) ); }
1960  CSG_Parameter * Add_Color (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value = 0)
1961  { return( Add_Color (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value) ); }
1962  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)
1963  { return( Add_Range (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Range_Min, Range_Max, Minimum, bMinimum, Maximum, bMaximum) ); }
1964  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)
1965  { return( Add_Info_Range (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Range_Min, Range_Max) ); }
1966  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)
1967  { return( Add_Choice (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Items, Default) ); }
1968  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)
1969  { return( Add_String (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, String, bLongText, bPassword) ); }
1970  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)
1971  { return( Add_Info_String (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, String, bLongText) ); }
1972  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)
1973  { return( Add_FilePath (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Filter, Default, bSave, bDirectory, bMultiple) ); }
1974  CSG_Parameter * Add_Font (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit = NULL)
1975  { return( Add_Font (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1976  CSG_Parameter * Add_Colors (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit = NULL)
1977  { return( Add_Colors (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1978  CSG_Parameter * Add_FixedTable (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit = NULL)
1979  { return( Add_FixedTable (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1980  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)
1981  { return( Add_Grid_System (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1982  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)
1983  { return( Add_Grid (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, bSystem_Dependent, Preferred_Type) ); }
1984  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)
1985  { return( Add_Grid_or_Const (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum, bSystem_Dependent) ); }
1986  CSG_Parameter * Add_Grid_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
1987  { return( Add_Grid_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
1988  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)
1989  { return( Add_Grid_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, bSystem_Dependent) ); }
1990  CSG_Parameter * Add_Table_Field (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone = false)
1991  { return( Add_Table_Field (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, bAllowNone) ); }
1992  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)
1993  { return( Add_Table_Field_or_Const(pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1994  CSG_Parameter * Add_Table_Fields (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
1995  { return( Add_Table_Fields (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
1996  CSG_Parameter * Add_Table (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
1997  { return( Add_Table (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
1998  CSG_Parameter * Add_Table_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
1999  { return( Add_Table_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2000  CSG_Parameter * Add_Table_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2001  { return( Add_Table_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2002  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)
2003  { return( Add_Shapes (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, Shape_Type) ); }
2004  CSG_Parameter * Add_Shapes_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2005  { return( Add_Shapes_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2006  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)
2007  { return( Add_Shapes_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, Shape_Type) ); }
2008  CSG_Parameter * Add_TIN (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2009  { return( Add_TIN (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2010  CSG_Parameter * Add_TIN_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2011  { return( Add_TIN_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2012  CSG_Parameter * Add_TIN_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2013  { return( Add_TIN_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2014  CSG_Parameter * Add_PointCloud (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2015  { return( Add_PointCloud (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2016  CSG_Parameter * Add_PointCloud_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2017  { return( Add_PointCloud_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2018  CSG_Parameter * Add_PointCloud_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2019  { return( Add_PointCloud_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2020  CSG_Parameter * Add_Parameters (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2021  { return( Add_Parameters (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2022 
2023  // DEPRECATED END
2024 
2025 };
2026 
2027 
2029 // //
2030 // //
2031 // //
2033 
2034 //---------------------------------------------------------
2035 #endif // #ifndef HEADER_INCLUDED__SAGA_API__parameters_H
CSG_Parameter::asGridsList
class CSG_Parameter_Grids_List * asGridsList(void) const
Definition: parameter.cpp:1117
CSG_Parameter_Colors::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:960
CSG_Parameter_Data_Object
Definition: parameters.h:1137
CSG_Parameter_Date
Definition: parameters.h:572
CSG_Parameter_Bool::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:399
CSG_Parameter_Shapes_List::Get_Shape_Type
TSG_Shape_Type Get_Shape_Type(void) const
Definition: parameters.h:1499
CSG_Parameters::Get_Description
const CSG_String & Get_Description(void) const
Definition: parameters.h:1735
CSG_Parameter_Grid::m_Type
TSG_Data_Type m_Type
Definition: parameters.h:1218
CSG_Parameter::asPointer
void * asPointer(void) const
Definition: parameters.h:286
PARAMETER_TYPE_Double
@ PARAMETER_TYPE_Double
Definition: parameters.h:127
CSG_Parameter_Choices::Get_Selection_Count
int Get_Selection_Count(void) const
Definition: parameters.h:763
CSG_Parameters::Add_Degree
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)
Definition: parameters.h:1956
CSG_Parameters::Get_Parameter
CSG_Parameter * Get_Parameter(int i) const
Definition: parameters.h:1752
PARAMETER_TYPE_FilePath
@ PARAMETER_TYPE_FilePath
Definition: parameters.h:136
CSG_Parameters::Get_Grid_System
CSG_Grid_System * Get_Grid_System(void) const
Definition: parameters.h:1895
SG_DATATYPE_Undefined
@ SG_DATATYPE_Undefined
Definition: api_core.h:1009
PARAMETER_TYPE_Degree
@ PARAMETER_TYPE_Degree
Definition: parameters.h:128
CSG_Parameter_Grid_System::m_System
CSG_Grid_System m_System
Definition: parameters.h:1034
CSG_Tool::Parameters
CSG_Parameters Parameters
Definition: tool.h:257
CSG_Parameter_Grid
Definition: parameters.h:1199
CSG_Parameters::Add_Shapes_Output
CSG_Parameter * Add_Shapes_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2004
SG_T
#define SG_T(s)
Definition: api_core.h:537
CSG_Parameters::Add_FixedTable
CSG_Parameter * Add_FixedTable(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit=NULL)
Definition: parameters.h:1978
CSG_Parameter::asShapesList
class CSG_Parameter_Shapes_List * asShapesList(void) const
Definition: parameter.cpp:1119
CSG_Parameters::Add_Table
CSG_Parameter * Add_Table(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:1996
CSG_Parameter_List::Add_Item
virtual bool Add_Item(CSG_Data_Object *pItem)
Definition: parameter_data.cpp:3032
CSG_Parameter_Degree
Definition: parameters.h:547
CSG_Parameter_Choice::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:1095
CSG_Parameter_Parameters
Definition: parameters.h:1570
PARAMETER_TYPE_Table_Fields
@ PARAMETER_TYPE_Table_Fields
Definition: parameters.h:145
CSG_Parameter::m_String
CSG_String m_String
Definition: parameters.h:331
CSG_Parameter_Data_Object::_Set_Value
virtual int _Set_Value(void *Value)
Definition: parameter_data.cpp:2484
CSG_Parameter_Int::_Set_String
virtual void _Set_String(void)
Definition: parameter_data.cpp:483
CSG_Parameter_Table_Fields::m_nFields
int m_nFields
Definition: parameters.h:1115
CSG_Parameter_Data_Object_Output::m_Type
TSG_Data_Object_Type m_Type
Definition: parameters.h:1183
CSG_Parameter_Int::_asInt
virtual int _asInt(void) const
Definition: parameters.h:492
CSG_Parameter_Grids_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1446
CSG_Parameter::Get_Identifier
const SG_Char * Get_Identifier(void) const
Definition: parameter.cpp:547
CSG_Parameter::asInt
int asInt(void) const
Definition: parameters.h:282
CSG_Parameter_Int::_Set_Value
virtual int _Set_Value(int Value)
Definition: parameter_data.cpp:443
CSG_Parameters::Add_PointCloud
CSG_Parameter * Add_PointCloud(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2014
CSG_Parameters::Get_Manager
class CSG_Data_Manager * Get_Manager(void) const
Definition: parameters.h:1715
PARAMETER_TYPE_Node
@ PARAMETER_TYPE_Node
Definition: parameters.h:123
CSG_Parameter::asString
const SG_Char * asString(void) const
Definition: parameters.h:285
PARAMETER_OPTIONAL
#define PARAMETER_OPTIONAL
Definition: parameters.h:96
CSG_Parameters::Get_Grid_System_Parameter
CSG_Parameter * Get_Grid_System_Parameter(void) const
Definition: parameters.h:1894
CSG_Parameters::Get_Owner
void * Get_Owner(void) const
Definition: parameters.h:1710
CSG_Parameter_TIN
Definition: parameters.h:1314
CSG_Parameter_Table_Fields::Get_Index
int Get_Index(int i) const
Definition: parameters.h:1103
CSG_Parameter_Table_List
Definition: parameters.h:1470
CSG_Parameter_Grid_List::Get_Grid_Count
int Get_Grid_Count(void) const
Definition: parameters.h:1423
CSG_Parameter_Value::Get_Maximum
double Get_Maximum(void) const
Definition: parameters.h:445
CSG_Parameter::is_Valid
virtual bool is_Valid(void) const
Definition: parameters.h:231
TSG_Shape_Type
TSG_Shape_Type
Definition: shapes.h:100
CSG_Parameter_Value::has_Minimum
bool has_Minimum(void) const
Definition: parameters.h:442
CSG_Parameter_Table_Field::m_Default
int m_Default
Definition: parameters.h:1073
PARAMETER_TYPE_Grids_List
@ PARAMETER_TYPE_Grids_List
Definition: parameters.h:155
CSG_Parameter::asTINList
class CSG_Parameter_TIN_List * asTINList(void) const
Definition: parameter.cpp:1120
PARAMETER_TYPE_String
@ PARAMETER_TYPE_String
Definition: parameters.h:134
CSG_Parameter::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter.cpp:1159
CSG_Grid_System
Definition: grid.h:200
CSG_Parameters::Add_TIN_List
CSG_Parameter * Add_TIN_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2012
CSG_Parameter::asDate
class CSG_Parameter_Date * asDate(void) const
Definition: parameter.cpp:1105
PARAMETER_TYPE_Int
@ PARAMETER_TYPE_Int
Definition: parameters.h:126
CSG_Parameter_Shapes_List::m_Type
TSG_Shape_Type m_Type
Definition: parameters.h:1508
CSG_Parameter_List::Get_Item
CSG_Data_Object * Get_Item(int Index) const
Definition: parameters.h:1373
CSG_Parameter_PointCloud_List::Get_PointCloud
CSG_PointCloud * Get_PointCloud(int Index) const
Definition: parameters.h:1552
CSG_Parameter::asColor
long asColor(void) const
Definition: parameters.h:283
CSG_Parameter_String::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:803
CSG_Parameters::CSG_Parameter
friend class CSG_Parameter
Definition: parameters.h:1691
CSG_Data_Manager::Add_PointCloud
CSG_PointCloud * Add_PointCloud(void)
Definition: data_manager.cpp:557
CSG_Parameters::Add_Grid_Output
CSG_Parameter * Add_Grid_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:1986
CSG_Parameter_Range::m_pMin
CSG_Parameter_Double * m_pMin
Definition: parameters.h:639
CSG_Parameter::is_Input
bool is_Input(void) const
Definition: parameters.h:232
CSG_Parameter_Choice::_asInt
virtual int _asInt(void) const
Definition: parameters.h:701
CSG_Parameter_Int::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:489
CSG_Parameters::is_Managed
bool is_Managed(void) const
Definition: parameters.h:1892
CSG_Parameters::Add_Info_Range
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)
Definition: parameters.h:1964
CSG_Parameter_Colors
Definition: parameters.h:957
CSG_Parameter_Choices
Definition: parameters.h:748
PARAMETER_TYPE_TIN
@ PARAMETER_TYPE_TIN
Definition: parameters.h:152
CSG_Parameter_Data_Object_Output
Definition: parameters.h:1170
CSG_Tool
Definition: tool.h:151
CSG_Parameter_Colors::m_Colors
CSG_Colors m_Colors
Definition: parameters.h:967
CSG_Parameters::Add_Color
CSG_Parameter * Add_Color(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0)
Definition: parameters.h:1960
SG_Parameter_Type_Get_Name
SAGA_API_DLL_EXPORT CSG_String SG_Parameter_Type_Get_Name(TSG_Parameter_Type Type)
Definition: parameter_data.cpp:64
CSG_Parameter_Data_Object::m_pDataObject
CSG_Data_Object * m_pDataObject
Definition: parameters.h:1147
CSG_Parameter_Choices::Get_Item_Count
int Get_Item_Count(void) const
Definition: parameters.h:759
CSG_Parameters::Add_Shapes
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)
Definition: parameters.h:2002
CSG_Parameter_Double::_Set_String
virtual void _Set_String(void)
Definition: parameter_data.cpp:572
PARAMETER_TYPE_FixedTable
@ PARAMETER_TYPE_FixedTable
Definition: parameters.h:141
CSG_Parameter_Table_Field
Definition: parameters.h:1057
CSG_Parameter_Choice::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:663
CSG_Parameters::Add_Shapes_List
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)
Definition: parameters.h:2006
CSG_Parameters::Add_PointCloud_Output
CSG_Parameter * Add_PointCloud_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2016
CSG_Parameter_File_Name::m_Filter
CSG_String m_Filter
Definition: parameters.h:880
CSG_Parameter_Grid::Get_Preferred_Type
TSG_Data_Type Get_Preferred_Type(void) const
Definition: parameters.h:1205
CSG_Parameter_TIN_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1527
CSG_Parameter::_asDouble
virtual double _asDouble(void) const
Definition: parameter.cpp:1030
CSG_Parameter_Node
Definition: parameters.h:376
CSG_Parameter::Assign
bool Assign(CSG_Parameter *pSource)
Definition: parameter.cpp:1141
SG_Parameter_Type_Get_Identifier
SAGA_API_DLL_EXPORT CSG_String SG_Parameter_Type_Get_Identifier(TSG_Parameter_Type Type)
Definition: parameter_data.cpp:114
CSG_Parameter_Table_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1473
CSG_Parameter_File_Name::is_Directory
bool is_Directory(void) const
Definition: parameters.h:869
CSG_Parameter_Value
Definition: parameters.h:435
CSG_Parameters::Add_Choice
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)
Definition: parameters.h:1966
tin.h
CSG_Parameter_String::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:1485
PARAMETER_TYPE_PointCloud
@ PARAMETER_TYPE_PointCloud
Definition: parameters.h:147
CSG_Parameter_List::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:3140
CSG_Parameters::Add_Int
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)
Definition: parameters.h:1952
CSG_Parameter_File_Name::is_Save
bool is_Save(void) const
Definition: parameters.h:863
CSG_Parameter_Choice::_asDouble
virtual double _asDouble(void) const
Definition: parameters.h:702
CSG_Parameter::asValue
class CSG_Parameter_Value * asValue(void) const
Definition: parameter.cpp:1091
CSG_Parameter_Font
Definition: parameters.h:896
CSG_Parameter_Data_Object_Output::Get_DataObject_Type
TSG_Data_Object_Type Get_DataObject_Type(void) const
Definition: parameters.h:1176
SG_Parameter_Type_Get_Type
SAGA_API_DLL_EXPORT TSG_Parameter_Type SG_Parameter_Type_Get_Type(const CSG_String &Identifier)
Definition: parameter_data.cpp:164
CSG_Parameter_Node::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:379
CSG_Parameter_Choice::m_Items
CSG_Strings m_Items
Definition: parameters.h:692
CSG_Parameter::_Set_Value
virtual int _Set_Value(int Value)
Definition: parameter.cpp:793
CSG_Parameters::Add_Node
CSG_Parameter * Add_Node(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:1944
CSG_File
Definition: api_core.h:1124
CSG_Parameter_File_Name::is_Multiple
bool is_Multiple(void) const
Definition: parameters.h:866
CSG_Parameter_TIN_List::asTIN
CSG_TIN * asTIN(int Index) const
Definition: parameters.h:1529
CSG_Parameter_PointCloud
Definition: parameters.h:1338
CSG_Parameter_Grid_List::m_Grids
CSG_Array_Pointer m_Grids
Definition: parameters.h:1431
PARAMETER_TYPE_Shapes_List
@ PARAMETER_TYPE_Shapes_List
Definition: parameters.h:157
SSG_Rect
Definition: geo_tools.h:464
CSG_Parameter::asGridList
class CSG_Parameter_Grid_List * asGridList(void) const
Definition: parameter.cpp:1116
PARAMETER_TYPE_Grids
@ PARAMETER_TYPE_Grids
Definition: parameters.h:149
CSG_Parameter_Font::m_Color
int m_Color
Definition: parameters.h:908
CSG_Parameter_Range::m_pRange
CSG_Parameters * m_pRange
Definition: parameters.h:637
CSG_Parameter::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const =0
CSG_Parameters::Add_Colors
CSG_Parameter * Add_Colors(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit=NULL)
Definition: parameters.h:1976
CSG_Parameter::Serialize
bool Serialize(CSG_MetaData &MetaData, bool bSave)
Definition: parameter.cpp:1165
CSG_Parameter_Date::m_Date
CSG_DateTime m_Date
Definition: parameters.h:585
CSG_Parameter_Table_List::Get_Table
CSG_Table * Get_Table(int Index) const
Definition: parameters.h:1475
CSG_Parameter_Text
Definition: parameters.h:834
PARAMETER_TYPE_Choices
@ PARAMETER_TYPE_Choices
Definition: parameters.h:133
CSG_Parameter_Grid_List::Get_Grid
CSG_Grid * Get_Grid(int Index) const
Definition: parameters.h:1424
CSG_Parameter::ignore_Projection
bool ignore_Projection(void) const
Definition: parameters.h:251
PARAMETER_TYPE_Data_Type
@ PARAMETER_TYPE_Data_Type
Definition: parameters.h:131
CSG_Parameters::Add_String
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)
Definition: parameters.h:1968
CSG_Parameter_Shapes
Definition: parameters.h:1283
CSG_Parameter_List::Del_Items
virtual bool Del_Items(void)
Definition: parameter_data.cpp:3074
CSG_TIN
Definition: tin.h:222
CSG_Parameter_Fixed_Table
Definition: parameters.h:991
PARAMETER_TYPE_Colors
@ PARAMETER_TYPE_Colors
Definition: parameters.h:140
CSG_Parameters::Add_Parameters
CSG_Parameter * Add_Parameters(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2020
CSG_Data_Object
Definition: dataobject.h:180
CSG_Parameter_Int::_Serialize
virtual bool _Serialize(CSG_MetaData &Entry, bool bSave)
Definition: parameter_data.cpp:497
CSG_Parameter
Definition: parameters.h:207
CSG_Parameter_Double::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:512
CSG_Parameter_Choices::Get_Item_Data
const CSG_String & Get_Item_Data(int i) const
Definition: parameters.h:761
CSG_Parameter_Grid_System
Definition: parameters.h:1024
CSG_Parameters::Add_Info_Value
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)
Definition: parameters.h:1948
PARAMETER_TYPE_Undefined
@ PARAMETER_TYPE_Undefined
Definition: parameters.h:165
CSG_Data_Manager::Add_TIN
CSG_TIN * Add_TIN(void)
Definition: data_manager.cpp:573
CSG_Parameter::_asInt
virtual int _asInt(void) const
Definition: parameter.cpp:1029
PARAMETER_TYPE_Table
@ PARAMETER_TYPE_Table
Definition: parameters.h:150
PARAMETER_TYPE_Bool
@ PARAMETER_TYPE_Bool
Definition: parameters.h:125
CSG_Parameter_Choices::Get_Selection_Data
const CSG_String & Get_Selection_Data(int i) const
Definition: parameters.h:765
CSG_Parameter_List::Update_Data
virtual bool Update_Data(void)
Definition: parameters.h:1375
CSG_Parameters::Get_Count
int Get_Count(void) const
Definition: parameters.h:1725
PARAMETER_TYPE_Table_Field
@ PARAMETER_TYPE_Table_Field
Definition: parameters.h:144
CSG_Parameter_Parameters::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1573
CSG_Parameter_Date::Get_Date
const CSG_DateTime & Get_Date(void) const
Definition: parameters.h:578
CSG_Parameters::Add_Table_List
CSG_Parameter * Add_Table_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2000
CSG_Parameter_Fixed_Table::m_Table
CSG_Table m_Table
Definition: parameters.h:1001
CSG_Parameter_List::Del_Item
virtual bool Del_Item(CSG_Data_Object *pItem, bool bUpdateData=true)
Definition: parameter_data.cpp:3044
PARAMETER_TYPE_Choice
@ PARAMETER_TYPE_Choice
Definition: parameters.h:132
CSG_Parameter::_Serialize
virtual bool _Serialize(CSG_MetaData &MetaData, bool bSave)
Definition: parameter.cpp:1201
CSG_Parameter_File_Name
Definition: parameters.h:854
CSG_Parameters::Add_Table_Field_or_Const
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)
Definition: parameters.h:1992
CSG_Parameter_Grids
Definition: parameters.h:1239
CSG_Parameters::Get_Tool
class CSG_Tool * Get_Tool(void) const
Definition: parameters.h:1712
CSG_Data_Manager::Add_Grid
CSG_Grid * Add_Grid(void)
Definition: data_manager.cpp:589
CSG_Parameter_Range::Get_Range
double Get_Range(void) const
Definition: parameters.h:617
CSG_Parameters::Add_Table_Output
CSG_Parameter * Add_Table_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:1998
CSG_Parameter_Grids_List
Definition: parameters.h:1444
CSG_Data_Manager::Add_Grids
CSG_Grids * Add_Grids(void)
Definition: data_manager.cpp:605
CSG_Parameter_Choice::Get_Count
int Get_Count(void) const
Definition: parameters.h:683
CSG_Parameter_Shapes::m_Type
TSG_Shape_Type m_Type
Definition: parameters.h:1296
CSG_Tool::Destroy
virtual void Destroy(void)
Definition: tool.cpp:102
CSG_Parameter::asDataType
class CSG_Parameter_Data_Type * asDataType(void) const
Definition: parameter.cpp:1106
CSG_Parameter::_asPointer
virtual void * _asPointer(void) const
Definition: parameter.cpp:1031
CSG_Parameter::Get_Child
CSG_Parameter * Get_Child(int iChild) const
Definition: parameters.h:256
CSG_Parameter_Value::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:411
PARAMETER_CHECK_ALL
#define PARAMETER_CHECK_ALL
Definition: parameters.h:191
CSG_Parameters::Add_TIN
CSG_Parameter * Add_TIN(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2008
CSG_Parameters::Serialize
bool Serialize(CSG_MetaData &Data) const
Definition: parameters.h:1877
CSG_Parameter_Grid_List
Definition: parameters.h:1409
CSG_Parameter_Shapes_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1496
CSG_Parameter_Double::_asDouble
virtual double _asDouble(void) const
Definition: parameters.h:531
SG_DATATYPE_Float
@ SG_DATATYPE_Float
Definition: api_core.h:1003
CSG_Parameters::Add_Grid_List
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)
Definition: parameters.h:1988
PARAMETER_TYPE_Grid
@ PARAMETER_TYPE_Grid
Definition: parameters.h:148
CSG_Parameter::asPointCloudList
class CSG_Parameter_PointCloud_List * asPointCloudList(void) const
Definition: parameter.cpp:1121
CSG_Parameters::Add_FilePath
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)
Definition: parameters.h:1972
CSG_Parameter_Range
Definition: parameters.h:611
CSG_Data_Manager::Add_Table
CSG_Table * Add_Table(void)
Definition: data_manager.cpp:525
PARAMETER_IGNORE_PROJECTION
#define PARAMETER_IGNORE_PROJECTION
Definition: parameters.h:98
CSG_Array_Int
Definition: api_core.h:423
CSG_Parameter_Int::_asDouble
virtual double _asDouble(void) const
Definition: parameters.h:493
CSG_Parameters::Add_Double
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)
Definition: parameters.h:1954
PARAMETER_TYPE_Date
@ PARAMETER_TYPE_Date
Definition: parameters.h:129
CSG_Parameter_Grid_System::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1027
CSG_Parameters::Add_PointCloud_List
CSG_Parameter * Add_PointCloud_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2018
CSG_Parameter_Degree::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:550
CSG_Parameter::Toggle_Value
virtual bool Toggle_Value(void)
Definition: parameter.cpp:880
CSG_Parameters::Get_References
const CSG_Strings & Get_References(void) const
Definition: parameters.h:1740
SAGA_API_DLL_EXPORT
#define SAGA_API_DLL_EXPORT
Definition: api_core.h:94
CSG_Parameter_Table::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1263
PARAMETER_TYPE_Grid_List
@ PARAMETER_TYPE_Grid_List
Definition: parameters.h:154
CSG_Parameter::_Set_String
virtual void _Set_String(void)
Definition: parameter.cpp:894
CSG_Parameters::Add_TIN_Output
CSG_Parameter * Add_TIN_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2010
pointcloud.h
CSG_Parameter_Bool::_asInt
virtual int _asInt(void) const
Definition: parameters.h:419
CSG_Parameters::Add_Date
CSG_Parameter * Add_Date(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0)
Definition: parameters.h:1958
CSG_Parameter::is_Optional
bool is_Optional(void) const
Definition: parameters.h:234
CSG_Parameter_PointCloud_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1550
CSG_Strings
Definition: api_core.h:699
CSG_DateTime
Definition: datetime.h:183
CSG_Parameter_Shapes::Get_Shape_Type
TSG_Shape_Type Get_Shape_Type(void) const
Definition: parameters.h:1289
CSG_Parameter::asFilePath
class CSG_Parameter_File_Name * asFilePath(void) const
Definition: parameter.cpp:1111
CSG_Parameter_Shapes_List::Get_Shapes
CSG_Shapes * Get_Shapes(int Index) const
Definition: parameters.h:1501
CSG_Parameter::is_Output
bool is_Output(void) const
Definition: parameters.h:233
CSG_Parameters::Add_Table_Fields
CSG_Parameter * Add_Table_Fields(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:1994
CSG_Parameters::Add_Bool
CSG_Parameter * Add_Bool(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value=false)
Definition: parameters.h:1950
CSG_Parameter_List::Get_Item_Count
int Get_Item_Count(void) const
Definition: parameters.h:1372
CSG_Parameter_Shapes_List
Definition: parameters.h:1493
CSG_Parameter_Font::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:899
CSG_Projection
Definition: geo_tools.h:824
CSG_Parameters::Get_Identifier
const CSG_String & Get_Identifier(void) const
Definition: parameters.h:1729
CSG_Parameter_Data_Object_Output::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1173
CSG_Parameter_Double::m_Value
double m_Value
Definition: parameters.h:521
CSG_Parameter_Int
Definition: parameters.h:471
CSG_Table
Definition: table.h:283
CSG_Parameter_Value::has_Maximum
bool has_Maximum(void) const
Definition: parameters.h:446
CSG_Parameter_String::m_bPassword
bool m_bPassword
Definition: parameters.h:815
CSG_Parameters::Add_Grid_or_Const
CSG_Parameter * Add_Grid_or_Const(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false, bool bSystem_Dependent=true)
Definition: parameters.h:1984
CSG_Parameter::Get_Children_Count
int Get_Children_Count(void) const
Definition: parameters.h:255
CSG_Parameter_Grid::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1202
CSG_Parameter_Double::_Set_Value
virtual int _Set_Value(int Value)
Definition: parameter_data.cpp:532
CSG_Parameter_Choice::_Serialize
virtual bool _Serialize(CSG_MetaData &Entry, bool bSave)
Definition: parameter_data.cpp:1107
CSG_Parameter_Double
Definition: parameters.h:509
CSG_Parameter_Bool
Definition: parameters.h:396
SG_Char
#define SG_Char
Definition: api_core.h:536
CSG_Parameters_CRSPicker
Definition: parameters.h:1606
TSG_Data_Object_Type
TSG_Data_Object_Type
Definition: dataobject.h:117
shapes.h
CSG_Parameters::Add_Value
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)
Definition: parameters.h:1946
CSG_Parameter_Table_Field::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1060
CSG_String
Definition: api_core.h:563
CSG_Parameter::asTableFields
class CSG_Parameter_Table_Fields * asTableFields(void) const
Definition: parameter.cpp:1112
CSG_Parameter_Parameters::m_pParameters
CSG_Parameters * m_pParameters
Definition: parameters.h:1583
CSG_Array_Pointer
Definition: api_core.h:368
CSG_Parameter::asChoice
class CSG_Parameter_Choice * asChoice(void) const
Definition: parameter.cpp:1107
PARAMETER_INFORMATION
#define PARAMETER_INFORMATION
Definition: parameters.h:97
CSG_Parameter_Data_Object::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:2520
CSG_Data_Manager
Definition: data_manager.h:129
CSG_MetaData
Definition: metadata.h:88
CSG_Parameter_File_Name::m_bSave
bool m_bSave
Definition: parameters.h:878
CSG_Parameters::Serialize
bool Serialize(CSG_MetaData &Data, bool bSave)
Definition: parameters.h:1876
CSG_Parameter_Table_Fields
Definition: parameters.h:1097
CSG_Parameter_String
Definition: parameters.h:800
CSG_Parameter_Grids::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1242
CSG_Parameter_Choice::m_Value
int m_Value
Definition: parameters.h:690
CSG_Parameter_Date::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:575
CSG_Parameter_Table_Fields::Get_Count
int Get_Count(void) const
Definition: parameters.h:1102
CSG_Parameter_Shapes::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1286
CSG_Parameter_Choices::m_Selection
CSG_Array_Int m_Selection
Definition: parameters.h:779
CSG_Parameter::asDouble
double asDouble(void) const
Definition: parameters.h:284
CSG_Parameter_Color
Definition: parameters.h:931
CSG_Parameter_PointCloud::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1341
CSG_Parameters_Grid_Target
Definition: parameters.h:1638
PARAMETER_TYPE_Grid_System
@ PARAMETER_TYPE_Grid_System
Definition: parameters.h:143
CSG_Parameter_Text::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:836
CSG_Parameter_Fixed_Table::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:994
CSG_Parameter_Choices::Get_Selection
const CSG_String & Get_Selection(int i) const
Definition: parameters.h:764
PARAMETER_TYPE_PointCloud_List
@ PARAMETER_TYPE_PointCloud_List
Definition: parameters.h:159
CSG_Parameter_Range::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:614
CSG_Parameter_Grid::m_Default
int m_Default
Definition: parameters.h:1216
CSG_Parameter_Grid_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1412
PARAMETER_TYPE_Table_List
@ PARAMETER_TYPE_Table_List
Definition: parameters.h:156
CSG_Parameter_Value::Get_Minimum
double Get_Minimum(void) const
Definition: parameters.h:441
CSG_Parameter::asRange
class CSG_Parameter_Range * asRange(void) const
Definition: parameter.cpp:1110
CSG_Parameter_Choices::Get_Selection_Index
int Get_Selection_Index(int i) const
Definition: parameters.h:766
CSG_Parameter_Data_Type::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:721
CSG_Grid
Definition: grid.h:475
CSG_Parameter_TIN::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1317
CSG_Parameter::asTableList
class CSG_Parameter_Table_List * asTableList(void) const
Definition: parameter.cpp:1118
TSG_PFNC_Parameter_Changed
int(* TSG_PFNC_Parameter_Changed)(CSG_Parameter *pParameter, int Flags)
Definition: parameters.h:1686
CSG_Parameters::Add_Font
CSG_Parameter * Add_Font(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit=NULL)
Definition: parameters.h:1974
PARAMETER_TYPE_DataObject_Output
@ PARAMETER_TYPE_DataObject_Output
Definition: parameters.h:161
CSG_Parameter_Color::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:934
CSG_Parameter_Choice
Definition: parameters.h:660
CSG_Parameter_Choices::Get_Item
const CSG_String & Get_Item(int i) const
Definition: parameters.h:760
CSG_Parameters::Get_Name
const CSG_String & Get_Name(void) const
Definition: parameters.h:1732
CSG_Parameter_Range::Get_Min_Parameter
CSG_Parameter_Double * Get_Min_Parameter(void) const
Definition: parameters.h:621
CSG_Shapes
Definition: shapes.h:775
CSG_PointCloud
Definition: pointcloud.h:105
CSG_Parameters::Add_Grid_System
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)
Definition: parameters.h:1980
CSG_Parameter_PointCloud_List
Definition: parameters.h:1547
CSG_Parameter_Int::m_Value
int m_Value
Definition: parameters.h:483
CSG_Parameter_TIN_List
Definition: parameters.h:1524
CSG_Parameters
Definition: parameters.h:1690
TSG_Data_Type
TSG_Data_Type
Definition: api_core.h:993
CSG_Parameter_Double::_asInt
virtual int _asInt(void) const
Definition: parameters.h:530
CSG_Parameter_Value::m_bMinimum
bool m_bMinimum
Definition: parameters.h:453
CSG_Parameters::Serialize
bool Serialize(const CSG_String &File, bool bSave)
Definition: parameters.h:1878
CSG_Parameter_Table_Fields::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1100
CSG_Parameter_List
Definition: parameters.h:1364
CSG_Parameter_Choices::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:751
CSG_Parameters::Add_Range
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)
Definition: parameters.h:1962
CSG_Parameters::Serialize
bool Serialize(const CSG_String &File) const
Definition: parameters.h:1879
CSG_Parameter::is_Default
virtual bool is_Default(void) const
Definition: parameter.cpp:935
PARAMETER_TYPE_Range
@ PARAMETER_TYPE_Range
Definition: parameters.h:130
CSG_Parameter_Range::Get_Max_Parameter
CSG_Parameter_Double * Get_Max_Parameter(void) const
Definition: parameters.h:625
CSG_Parameter_Int::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:474
CSG_Parameter_Grids_List::Get_Grids
CSG_Grids * Get_Grids(int Index) const
Definition: parameters.h:1452
PARAMETER_OUTPUT
#define PARAMETER_OUTPUT
Definition: parameters.h:95
CSG_Grids
Definition: grids.h:119
CSG_Parameter_File_Name::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:857
PARAMETER_TYPE_TIN_List
@ PARAMETER_TYPE_TIN_List
Definition: parameters.h:158
CSG_Data_Manager::Add_Shapes
CSG_Shapes * Add_Shapes(void)
Definition: data_manager.cpp:541
TSG_Parameter_Type
TSG_Parameter_Type
Definition: parameters.h:122
PARAMETER_TYPE_Parameters
@ PARAMETER_TYPE_Parameters
Definition: parameters.h:163
CSG_Parameter_Value::m_Minimum
double m_Minimum
Definition: parameters.h:455
PARAMETER_TYPE_Font
@ PARAMETER_TYPE_Font
Definition: parameters.h:138
CSG_Parameter_Bool::m_Value
bool m_Value
Definition: parameters.h:410
CSG_Parameter::asList
class CSG_Parameter_List * asList(void) const
Definition: parameter.cpp:1115
table.h
PARAMETER_TYPE_Color
@ PARAMETER_TYPE_Color
Definition: parameters.h:139
CSG_Parameters::Add_Info_String
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)
Definition: parameters.h:1970
PARAMETER_TYPE_Shapes
@ PARAMETER_TYPE_Shapes
Definition: parameters.h:151
CSG_Parameter::Restore_Default
virtual bool Restore_Default(void)
Definition: parameter.cpp:941
SHAPE_TYPE_Undefined
@ SHAPE_TYPE_Undefined
Definition: shapes.h:101
CSG_Parameter::asChoices
class CSG_Parameter_Choices * asChoices(void) const
Definition: parameter.cpp:1109
CSG_Parameter::is_Information
bool is_Information(void) const
Definition: parameters.h:235
CSG_Parameter_Table
Definition: parameters.h:1260
PARAMETER_INPUT
#define PARAMETER_INPUT
Definition: parameters.h:94
CSG_Parameters::Add_Grid
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)
Definition: parameters.h:1982
CSG_Parameter_Data_Type
Definition: parameters.h:718
CSG_Colors
Definition: api_core.h:1338
CSG_Parameters::Add_Table_Field
CSG_Parameter * Add_Table_Field(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone=false)
Definition: parameters.h:1990
CSG_Parameter::asBool
bool asBool(void) const
Definition: parameters.h:281
datetime.h
PARAMETER_TYPE_Text
@ PARAMETER_TYPE_Text
Definition: parameters.h:135
grids.h