 |
SAGA API
v9.2
|
Go to the documentation of this file.
51 #ifndef HEADER_INCLUDED__SAGA_API__data_manager_H
52 #define HEADER_INCLUDED__SAGA_API__data_manager_H
94 size_t Count (
void)
const {
return( m_Objects.Get_Size() ); }
109 bool Delete (
size_t i ,
bool bDetach =
false);
110 bool Delete (
bool bDetach =
false,
bool bUnsaved =
false);
142 return(
Count() > 0 && m_System.is_Equal(System) );
217 bool Delete (
bool bDetach =
false,
bool bUnsaved =
false);
219 bool Delete_All (
bool bDetach =
false);
220 bool Delete_Unsaved (
bool bDetach =
false);
254 #endif // #ifndef HEADER_INCLUDED__SAGA_API__data_manager_H
bool is_Equal(const CSG_Grid_System &System) const
CSG_Data_Collection * Get_Shapes(void) const
CSG_Data_Collection * Get_Table(void) const
CSG_Data_Object * Get(size_t i) const
virtual bool Add(CSG_Data_Object *pObject)
CSG_Table * Add_Table(const wchar_t *File)
CSG_TIN * Add_TIN(const char *File)
CSG_Grid * Add_Grid(const wchar_t *File)
CSG_Data_Object * Add(const wchar_t *File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
@ SG_DATAOBJECT_TYPE_Grids
bool Exists(CSG_Data_Object *pObject) const
const CSG_Grid_System & Get_System(void) const
CSG_Grid_Collection * Get_Grid_System(size_t i) const
CSG_Grid * Add_Grid(const CSG_String &File)
virtual bool Exists(CSG_Data_Object *pObject) const
CSG_Data_Collection * asTIN(void) const
bool Delete_All(bool bDetach=false)
CSG_Table * Add_Table(const CSG_String &File)
bool Delete(CSG_Data_Collection *pCollection, bool bDetach=false)
CSG_Shapes * Add_Shapes(const char *File)
CSG_Shapes * Add_Shapes(const CSG_String &File)
CSG_Grids * Add_Grids(const wchar_t *File)
CSG_Grids * Add_Grids(const CSG_String &File)
#define SAGA_API_DLL_EXPORT
CSG_Data_Collection * Get_Point_Cloud(void) const
@ SG_DATAOBJECT_TYPE_Grid
CSG_Grid * Add_Grid(const char *File)
SAGA_API_DLL_EXPORT CSG_Data_Manager & SG_Get_Data_Manager(void)
@ SG_DATAOBJECT_TYPE_Shapes
CSG_TIN * Add_TIN(const CSG_String &File)
@ SG_DATAOBJECT_TYPE_Undefined
CSG_PointCloud * Add_PointCloud(const wchar_t *File)
class CSG_Data_Manager * m_pManager
bool Add(CSG_Data_Object *pObject)
CSG_Shapes * Add_Shapes(const wchar_t *File)
@ SG_DATAOBJECT_TYPE_Table
CSG_TIN * Add_TIN(const wchar_t *File)
CSG_Table * Add_Table(const char *File)
size_t Grid_System_Count(void) const
CSG_PointCloud * Add_PointCloud(const char *File)
CSG_Grids * Add_Grids(const char *File)
bool Delete_Unsaved(bool bDetach=false)
CSG_Data_Object * Add(const char *File, TSG_Data_Object_Type Type=SG_DATAOBJECT_TYPE_Undefined)
CSG_Array_Pointer m_Objects
TSG_Data_Object_Type m_Type
CSG_PointCloud * Add_PointCloud(const CSG_String &File)
@ SG_DATAOBJECT_TYPE_PointCloud