![]() |
SAGA API
v9.2
|
#include <data_manager.h>
Definition at line 163 of file data_manager.h.
CSG_Data_Manager::CSG_Data_Manager | ( | void | ) |
Definition at line 316 of file data_manager.cpp.
References SG_DATAOBJECT_TYPE_PointCloud, SG_DATAOBJECT_TYPE_Shapes, SG_DATAOBJECT_TYPE_Table, and SG_DATAOBJECT_TYPE_TIN.
|
virtual |
Definition at line 325 of file data_manager.cpp.
References Delete_All().
|
inline |
CSG_Data_Object * CSG_Data_Manager::Add | ( | const CSG_String & | File, |
TSG_Data_Object_Type | Type = SG_DATAOBJECT_TYPE_Undefined |
||
) |
Definition at line 443 of file data_manager.cpp.
References Add(), CSG_Data_Object::is_Valid(), SG_DATAOBJECT_TYPE_Grid, SG_DATAOBJECT_TYPE_Grids, SG_DATAOBJECT_TYPE_PointCloud, SG_DATAOBJECT_TYPE_Shapes, SG_DATAOBJECT_TYPE_Table, SG_DATAOBJECT_TYPE_TIN, SG_DATAOBJECT_TYPE_Undefined, and SG_File_Cmp_Extension().
|
inline |
bool CSG_Data_Manager::Add | ( | CSG_Data_Object * | pObject | ) |
Definition at line 428 of file data_manager.cpp.
References CSG_Data_Collection::Add(), DATAOBJECT_CREATE, DATAOBJECT_NOTSET, CSG_Data_Object::Get_ObjectType(), CSG_Array_Pointer::Get_Size(), CSG_Array_Pointer::Inc_Array(), SG_DATAOBJECT_TYPE_Grid, and SG_DATAOBJECT_TYPE_Grids.
Referenced by CSG_Parameter_Data_Object_Output::_Set_Value(), Add(), Add_Grid(), Add_PointCloud(), Add_Shapes(), Add_Table(), Add_TIN(), and CSG_Tool::DataObject_Add().
|
inline |
Definition at line 207 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Grid.
CSG_Grid * CSG_Data_Manager::Add_Grid | ( | const CSG_Grid_System & | System, |
TSG_Data_Type | Type = SG_DATATYPE_Undefined |
||
) |
Definition at line 662 of file data_manager.cpp.
References Add(), and CSG_Grid_System::is_Valid().
Referenced by CSG_Parameters::Add_Grid(), and Add_Grid().
|
inline |
Definition at line 206 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Grid.
|
inline |
Definition at line 208 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Grid.
CSG_Grid * CSG_Data_Manager::Add_Grid | ( | int | NX, |
int | NY, | ||
double | Cellsize = 0. , |
||
double | xMin = 0. , |
||
double | yMin = 0. , |
||
TSG_Data_Type | Type = SG_DATATYPE_Undefined |
||
) |
Definition at line 675 of file data_manager.cpp.
References Add_Grid().
|
inline |
Definition at line 211 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Grids.
|
inline |
Definition at line 210 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Grids.
|
inline |
Definition at line 212 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Grids.
|
inline |
Definition at line 196 of file data_manager.h.
References SG_DATAOBJECT_TYPE_PointCloud.
|
inline |
Definition at line 195 of file data_manager.h.
References SG_DATAOBJECT_TYPE_PointCloud.
|
inline |
Definition at line 197 of file data_manager.h.
References SG_DATAOBJECT_TYPE_PointCloud.
CSG_PointCloud * CSG_Data_Manager::Add_PointCloud | ( | void | ) |
Definition at line 636 of file data_manager.cpp.
References Add().
Referenced by CSG_Parameters::Add_PointCloud().
|
inline |
Definition at line 201 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Shapes.
|
inline |
Definition at line 200 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Shapes.
|
inline |
Definition at line 202 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Shapes.
CSG_Shapes * CSG_Data_Manager::Add_Shapes | ( | TSG_Shape_Type | Type = SHAPE_TYPE_Undefined | ) |
Definition at line 649 of file data_manager.cpp.
References Add().
Referenced by CSG_Parameters::Add_Shapes().
|
inline |
Definition at line 186 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Table.
|
inline |
Definition at line 185 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Table.
|
inline |
Definition at line 187 of file data_manager.h.
References SG_DATAOBJECT_TYPE_Table.
CSG_Table * CSG_Data_Manager::Add_Table | ( | void | ) |
Definition at line 610 of file data_manager.cpp.
References Add().
Referenced by CSG_Parameters::Add_Table().
|
inline |
Definition at line 191 of file data_manager.h.
References SG_DATAOBJECT_TYPE_TIN.
|
inline |
Definition at line 190 of file data_manager.h.
References SG_DATAOBJECT_TYPE_TIN.
|
inline |
Definition at line 192 of file data_manager.h.
References SG_DATAOBJECT_TYPE_TIN.
CSG_TIN * CSG_Data_Manager::Add_TIN | ( | void | ) |
Definition at line 623 of file data_manager.cpp.
References Add().
Referenced by CSG_Parameters::Add_TIN().
|
inline |
Definition at line 170 of file data_manager.h.
bool CSG_Data_Manager::Delete | ( | bool | bDetach = false , |
bool | bUnsaved = false |
||
) |
Definition at line 760 of file data_manager.cpp.
References CSG_Data_Collection::Delete(), Get_Grid_System(), Grid_System_Count(), and CSG_Array_Pointer::Set_Array().
bool CSG_Data_Manager::Delete | ( | const CSG_Grid_System & | System, |
bool | bDetach = false |
||
) |
Definition at line 754 of file data_manager.cpp.
References Delete(), and Get_Grid_System().
bool CSG_Data_Manager::Delete | ( | CSG_Data_Collection * | pCollection, |
bool | bDetach = false |
||
) |
Definition at line 686 of file data_manager.cpp.
References CSG_Data_Collection::Delete_All(), CSG_Array_Pointer::Get_Array(), CSG_Array_Pointer::Get_uSize(), CSG_Data_Collection::m_pManager, CSG_Data_Collection::m_Type, CSG_Array_Pointer::Set_Array(), and SG_DATAOBJECT_TYPE_Grid.
Referenced by Delete(), Delete_All(), and Delete_Unsaved().
bool CSG_Data_Manager::Delete | ( | CSG_Data_Object * | pObject, |
bool | bDetach = false |
||
) |
Definition at line 736 of file data_manager.cpp.
References CSG_Data_Collection::Count(), Delete(), CSG_Data_Collection::Delete(), CSG_Data_Collection::m_Type, and SG_DATAOBJECT_TYPE_Grid.
bool CSG_Data_Manager::Delete_All | ( | bool | bDetach = false | ) |
Definition at line 782 of file data_manager.cpp.
References Delete().
Referenced by CSG_Tool::Delete_Manager(), and ~CSG_Data_Manager().
bool CSG_Data_Manager::Delete_Unsaved | ( | bool | bDetach = false | ) |
Definition at line 788 of file data_manager.cpp.
References Delete().
bool CSG_Data_Manager::Exists | ( | const CSG_Grid_System & | System | ) | const |
Definition at line 383 of file data_manager.cpp.
References Get_Grid_System().
bool CSG_Data_Manager::Exists | ( | CSG_Data_Object * | pObject | ) | const |
Definition at line 389 of file data_manager.cpp.
References CSG_Data_Collection::Exists(), CSG_Grid_Collection::Exists(), Get_Grid_System(), and Grid_System_Count().
Referenced by CSG_Parameter_List::_Assign(), CSG_Parameter_Grid_System::_Set_Value(), and CSG_Parameter::Check().
CSG_Data_Object * CSG_Data_Manager::Find | ( | const CSG_String & | File, |
bool | bNative = true |
||
) | const |
Definition at line 405 of file data_manager.cpp.
References CSG_Data_Collection::Get(), Get_Grid_System(), and Grid_System_Count().
Referenced by CSG_Parameter_List::_Serialize().
CSG_Grid_Collection * CSG_Data_Manager::Get_Grid_System | ( | const CSG_Grid_System & | System | ) | const |
Definition at line 367 of file data_manager.cpp.
References Get_Grid_System(), Grid_System_Count(), and CSG_Grid_Collection::is_Equal().
|
inline |
Definition at line 175 of file data_manager.h.
Referenced by Delete(), Exists(), Find(), Get_Grid_System(), and Get_Summary().
|
inline |
Definition at line 171 of file data_manager.h.
Referenced by Get_Summary().
|
inline |
Definition at line 172 of file data_manager.h.
Referenced by Get_Summary().
CSG_String CSG_Data_Manager::Get_Summary | ( | void | ) | const |
Definition at line 799 of file data_manager.cpp.
References _TL, CSG_String::c_str(), CSG_Data_Collection::Count(), CSG_String::Format(), CSG_Data_Collection::Get(), CSG_Table::Get_Count(), Get_Grid_System(), CSG_Grid::Get_Memory_Size(), CSG_Grids::Get_Memory_Size(), CSG_Grid_System::Get_Name(), CSG_Data_Object::Get_Name(), CSG_Grids::Get_NZ(), CSG_Data_Object::Get_ObjectType(), Get_Point_Cloud(), Get_Shapes(), Get_Table(), CSG_Grid::Get_Type(), CSG_Grids::Get_Type(), CSG_Shapes::Get_Type(), Grid_System_Count(), CSG_String::is_Empty(), CSG_Grid_Collection::m_System, N_MEGABYTE_BYTES, CSG_String::Prepend(), SG_Data_Type_Get_Name(), SG_DATAOBJECT_TYPE_Grid, SG_DATAOBJECT_TYPE_Grids, SHAPE_TYPE_Line, SHAPE_TYPE_Point, SHAPE_TYPE_Points, and SHAPE_TYPE_Polygon.
|
inline |
Definition at line 169 of file data_manager.h.
Referenced by Get_Summary().
|
inline |
Definition at line 174 of file data_manager.h.
Referenced by Delete(), Exists(), Find(), Get_Grid_System(), and Get_Summary().