SAGA API  v9.5
CSG_Data_Manager Class Reference

#include <data_manager.h>

Public Member Functions

 CSG_Data_Manager (void)
 
virtual ~CSG_Data_Manager (void)
 
CSG_Data_CollectionTable (void) const
 
CSG_Data_CollectionTIN (void) const
 
CSG_Data_CollectionPointCloud (void) const
 
CSG_Data_CollectionShapes (void) const
 
CSG_Data_CollectionGrid (void) const
 
CSG_Data_CollectionGrids (void) const
 
CSG_TableTable (size_t i) const
 
CSG_TINTIN (size_t i) const
 
CSG_PointCloudPointCloud (size_t i) const
 
CSG_ShapesShapes (size_t i) const
 
CSG_GridGrid (size_t i) const
 
CSG_GridsGrids (size_t i) const
 
CSG_Data_ObjectAdd (CSG_Data_Object *pObject)
 
CSG_Data_ObjectAdd (const CSG_String &File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
 
CSG_Data_ObjectAdd (const char *File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
 
CSG_Data_ObjectAdd (const wchar_t *File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
 
CSG_TableAdd_Table (void)
 
CSG_TableAdd_Table (const CSG_String &File)
 
CSG_TableAdd_Table (const char *File)
 
CSG_TableAdd_Table (const wchar_t *File)
 
CSG_ShapesAdd_Shapes (void)
 
CSG_ShapesAdd_Shapes (const CSG_String &File)
 
CSG_ShapesAdd_Shapes (const char *File)
 
CSG_ShapesAdd_Shapes (const wchar_t *File)
 
CSG_PointCloudAdd_PointCloud (void)
 
CSG_PointCloudAdd_PointCloud (const CSG_String &File)
 
CSG_PointCloudAdd_PointCloud (const char *File)
 
CSG_PointCloudAdd_PointCloud (const wchar_t *File)
 
CSG_TINAdd_TIN (void)
 
CSG_TINAdd_TIN (const CSG_String &File)
 
CSG_TINAdd_TIN (const char *File)
 
CSG_TINAdd_TIN (const wchar_t *File)
 
CSG_GridAdd_Grid (void)
 
CSG_GridAdd_Grid (const CSG_String &File)
 
CSG_GridAdd_Grid (const char *File)
 
CSG_GridAdd_Grid (const wchar_t *File)
 
CSG_GridsAdd_Grids (void)
 
CSG_GridsAdd_Grids (const CSG_String &File)
 
CSG_GridsAdd_Grids (const char *File)
 
CSG_GridsAdd_Grids (const wchar_t *File)
 
bool Delete (CSG_Data_Object *pObject, bool bDetach=false)
 
bool Delete (bool bDetach=false, bool bUnsaved=false)
 
CSG_Data_ObjectFind (const CSG_String &File, bool bNative=true) const
 
bool Exists (CSG_Data_Object *pObject) const
 
CSG_String Get_Summary (void) const
 

Detailed Description

Definition at line 128 of file data_manager.h.

Constructor & Destructor Documentation

◆ CSG_Data_Manager()

◆ ~CSG_Data_Manager()

CSG_Data_Manager::~CSG_Data_Manager ( void  )
virtual

Definition at line 219 of file data_manager.cpp.

References Delete().

Member Function Documentation

◆ Add() [1/4]

CSG_Data_Object * CSG_Data_Manager::Add ( const char *  File,
TSG_Data_Object_Type  Type = SG_DATAOBJECT_TYPE_Undefined 
)

Definition at line 336 of file data_manager.cpp.

References Add().

◆ Add() [2/4]

◆ Add() [3/4]

CSG_Data_Object * CSG_Data_Manager::Add ( const wchar_t *  File,
TSG_Data_Object_Type  Type = SG_DATAOBJECT_TYPE_Undefined 
)

Definition at line 337 of file data_manager.cpp.

References Add().

◆ Add() [4/4]

◆ Add_Grid() [1/4]

CSG_Grid * CSG_Data_Manager::Add_Grid ( const char *  File)

Definition at line 587 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Grid.

◆ Add_Grid() [2/4]

CSG_Grid * CSG_Data_Manager::Add_Grid ( const CSG_String File)

Definition at line 586 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Grid.

◆ Add_Grid() [3/4]

CSG_Grid * CSG_Data_Manager::Add_Grid ( const wchar_t *  File)

Definition at line 588 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Grid.

◆ Add_Grid() [4/4]

CSG_Grid * CSG_Data_Manager::Add_Grid ( void  )

Definition at line 589 of file data_manager.cpp.

References Add().

Referenced by CSG_Parameters::Add_Grid().

◆ Add_Grids() [1/4]

CSG_Grids * CSG_Data_Manager::Add_Grids ( const char *  File)

Definition at line 603 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Grids.

◆ Add_Grids() [2/4]

CSG_Grids * CSG_Data_Manager::Add_Grids ( const CSG_String File)

Definition at line 602 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Grids.

◆ Add_Grids() [3/4]

CSG_Grids * CSG_Data_Manager::Add_Grids ( const wchar_t *  File)

Definition at line 604 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Grids.

◆ Add_Grids() [4/4]

CSG_Grids * CSG_Data_Manager::Add_Grids ( void  )

Definition at line 605 of file data_manager.cpp.

References Add().

◆ Add_PointCloud() [1/4]

CSG_PointCloud * CSG_Data_Manager::Add_PointCloud ( const char *  File)

Definition at line 555 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_PointCloud.

◆ Add_PointCloud() [2/4]

CSG_PointCloud * CSG_Data_Manager::Add_PointCloud ( const CSG_String File)

Definition at line 554 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_PointCloud.

◆ Add_PointCloud() [3/4]

CSG_PointCloud * CSG_Data_Manager::Add_PointCloud ( const wchar_t *  File)

Definition at line 556 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_PointCloud.

◆ Add_PointCloud() [4/4]

CSG_PointCloud * CSG_Data_Manager::Add_PointCloud ( void  )

Definition at line 557 of file data_manager.cpp.

References Add().

Referenced by CSG_Parameters::Add_PointCloud().

◆ Add_Shapes() [1/4]

CSG_Shapes * CSG_Data_Manager::Add_Shapes ( const char *  File)

Definition at line 539 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Shapes.

◆ Add_Shapes() [2/4]

CSG_Shapes * CSG_Data_Manager::Add_Shapes ( const CSG_String File)

Definition at line 538 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Shapes.

◆ Add_Shapes() [3/4]

CSG_Shapes * CSG_Data_Manager::Add_Shapes ( const wchar_t *  File)

Definition at line 540 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Shapes.

◆ Add_Shapes() [4/4]

CSG_Shapes * CSG_Data_Manager::Add_Shapes ( void  )

Definition at line 541 of file data_manager.cpp.

References Add().

Referenced by CSG_Parameters::Add_Shapes().

◆ Add_Table() [1/4]

CSG_Table * CSG_Data_Manager::Add_Table ( const char *  File)

Definition at line 523 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Table.

◆ Add_Table() [2/4]

CSG_Table * CSG_Data_Manager::Add_Table ( const CSG_String File)

Definition at line 522 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Table.

◆ Add_Table() [3/4]

CSG_Table * CSG_Data_Manager::Add_Table ( const wchar_t *  File)

Definition at line 524 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_Table.

◆ Add_Table() [4/4]

CSG_Table * CSG_Data_Manager::Add_Table ( void  )

Definition at line 525 of file data_manager.cpp.

References Add().

Referenced by CSG_Parameters::Add_Table().

◆ Add_TIN() [1/4]

CSG_TIN * CSG_Data_Manager::Add_TIN ( const char *  File)

Definition at line 571 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_TIN.

◆ Add_TIN() [2/4]

CSG_TIN * CSG_Data_Manager::Add_TIN ( const CSG_String File)

Definition at line 570 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_TIN.

◆ Add_TIN() [3/4]

CSG_TIN * CSG_Data_Manager::Add_TIN ( const wchar_t *  File)

Definition at line 572 of file data_manager.cpp.

References Add(), and SG_DATAOBJECT_TYPE_TIN.

◆ Add_TIN() [4/4]

CSG_TIN * CSG_Data_Manager::Add_TIN ( void  )

Definition at line 573 of file data_manager.cpp.

References Add().

Referenced by CSG_Parameters::Add_TIN().

◆ Delete() [1/2]

bool CSG_Data_Manager::Delete ( bool  bDetach = false,
bool  bUnsaved = false 
)

◆ Delete() [2/2]

bool CSG_Data_Manager::Delete ( CSG_Data_Object pObject,
bool  bDetach = false 
)

◆ Exists()

◆ Find()

CSG_Data_Object * CSG_Data_Manager::Find ( const CSG_String File,
bool  bNative = true 
) const

Definition at line 263 of file data_manager.cpp.

References Grid(), Grids(), PointCloud(), Shapes(), Table(), and TIN().

Referenced by CSG_Parameter_List::_Serialize().

◆ Get_Summary()

◆ Grid() [1/2]

CSG_Grid& CSG_Data_Manager::Grid ( size_t  i) const
inline

Definition at line 145 of file data_manager.h.

◆ Grid() [2/2]

CSG_Data_Collection& CSG_Data_Manager::Grid ( void  ) const
inline

Definition at line 138 of file data_manager.h.

Referenced by CSG_Parameter::Check(), Delete(), Exists(), Find(), and Get_Summary().

◆ Grids() [1/2]

CSG_Grids& CSG_Data_Manager::Grids ( size_t  i) const
inline

Definition at line 146 of file data_manager.h.

◆ Grids() [2/2]

CSG_Data_Collection& CSG_Data_Manager::Grids ( void  ) const
inline

Definition at line 139 of file data_manager.h.

Referenced by CSG_Parameter::Check(), Delete(), Exists(), Find(), and Get_Summary().

◆ PointCloud() [1/2]

CSG_PointCloud& CSG_Data_Manager::PointCloud ( size_t  i) const
inline

Definition at line 143 of file data_manager.h.

◆ PointCloud() [2/2]

CSG_Data_Collection& CSG_Data_Manager::PointCloud ( void  ) const
inline

◆ Shapes() [1/2]

CSG_Shapes& CSG_Data_Manager::Shapes ( size_t  i) const
inline

Definition at line 144 of file data_manager.h.

◆ Shapes() [2/2]

CSG_Data_Collection& CSG_Data_Manager::Shapes ( void  ) const
inline

Definition at line 137 of file data_manager.h.

Referenced by Delete(), Exists(), Find(), and Get_Summary().

◆ Table() [1/2]

CSG_Table& CSG_Data_Manager::Table ( size_t  i) const
inline

Definition at line 141 of file data_manager.h.

◆ Table() [2/2]

CSG_Data_Collection& CSG_Data_Manager::Table ( void  ) const
inline

Definition at line 134 of file data_manager.h.

Referenced by Delete(), Exists(), Find(), and Get_Summary().

◆ TIN() [1/2]

CSG_TIN& CSG_Data_Manager::TIN ( size_t  i) const
inline

Definition at line 142 of file data_manager.h.

◆ TIN() [2/2]

CSG_Data_Collection& CSG_Data_Manager::TIN ( void  ) const
inline

Definition at line 135 of file data_manager.h.

Referenced by Delete(), Exists(), Find(), and Get_Summary().


The documentation for this class was generated from the following files: