SAGA API Version 9.14
Loading...
Searching...
No Matches
CSG_Data_Manager Class Reference

#include <data_manager.h>

Classes

class  CSG_Grid_Systems

Public Member Functions

 CSG_Data_Manager (void)
virtual ~CSG_Data_Manager (void)
CSG_Data_Collection & Table (void) const
CSG_Data_Collection & TIN (void) const
CSG_Data_Collection & PointCloud (void) const
CSG_Data_Collection & Shapes (void) const
CSG_Data_Collection & Grid (void) const
CSG_Data_Collection & Grids (void) const
CSG_Table & Table (size_t i) const
CSG_TIN & TIN (size_t i) const
CSG_PointCloud & PointCloud (size_t i) const
CSG_Shapes & Shapes (size_t i) const
CSG_Grid & Grid (size_t i) const
CSG_Grids & Grids (size_t i) const
CSG_Data_Object * Add (CSG_Data_Object *pObject)
CSG_Data_Object * Add (const CSG_String &File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
CSG_Data_Object * Add (const char *File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
CSG_Data_Object * Add (const wchar_t *File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
CSG_Table * Add_Table (void)
CSG_Table * Add_Table (const CSG_String &File)
CSG_Table * Add_Table (const char *File)
CSG_Table * Add_Table (const wchar_t *File)
CSG_Shapes * Add_Shapes (void)
CSG_Shapes * Add_Shapes (const CSG_String &File)
CSG_Shapes * Add_Shapes (const char *File)
CSG_Shapes * Add_Shapes (const wchar_t *File)
CSG_PointCloud * Add_PointCloud (void)
CSG_PointCloud * Add_PointCloud (const CSG_String &File)
CSG_PointCloud * Add_PointCloud (const char *File)
CSG_PointCloud * Add_PointCloud (const wchar_t *File)
CSG_TIN * Add_TIN (void)
CSG_TIN * Add_TIN (const CSG_String &File)
CSG_TIN * Add_TIN (const char *File)
CSG_TIN * Add_TIN (const wchar_t *File)
CSG_Grid * Add_Grid (void)
CSG_Grid * Add_Grid (const CSG_String &File)
CSG_Grid * Add_Grid (const char *File)
CSG_Grid * Add_Grid (const wchar_t *File)
CSG_Grids * Add_Grids (void)
CSG_Grids * Add_Grids (const CSG_String &File)
CSG_Grids * Add_Grids (const char *File)
CSG_Grids * Add_Grids (const wchar_t *File)
bool Delete (CSG_Data_Object *pObject, bool bDetach=false)
bool Delete (bool bDetach=false, bool bUnsaved=false)
CSG_Data_Object * Find (const CSG_String &File, bool bNative=true) const
bool Exists (CSG_Data_Object *pObject) const
CSG_String Get_Summary (void) const
CSG_Grid_Systems & Get_Grid_Systems (bool bUpdate=true)

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 228 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 345 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 346 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 615 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 614 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 616 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 617 of file data_manager.cpp.

References Add().

◆ Add_Grids() [1/4]

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

Definition at line 631 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 630 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 632 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 633 of file data_manager.cpp.

References Add().

◆ Add_PointCloud() [1/4]

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

Definition at line 583 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 582 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 584 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 585 of file data_manager.cpp.

References Add().

◆ Add_Shapes() [1/4]

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

Definition at line 567 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 566 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 568 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 569 of file data_manager.cpp.

References Add().

◆ Add_Table() [1/4]

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

Definition at line 551 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 550 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 552 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 553 of file data_manager.cpp.

References Add().

◆ Add_TIN() [1/4]

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

Definition at line 599 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 598 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 600 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 601 of file data_manager.cpp.

References Add().

◆ 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()

bool CSG_Data_Manager::Exists ( CSG_Data_Object * pObject) const

◆ Find()

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

Definition at line 272 of file data_manager.cpp.

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

Referenced by CSG_Parameter_List::_Serialize(), and Find().

◆ Get_Grid_Systems()

CSG_Grid_Systems & CSG_Data_Manager::Get_Grid_Systems ( bool bUpdate = true)
inline

Definition at line 241 of file data_manager.h.

◆ 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

Definition at line 136 of file data_manager.h.

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

◆ 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: