51#ifndef HEADER_INCLUDED__SAGA_API__data_manager_H
52#define HEADER_INCLUDED__SAGA_API__data_manager_H
92 size_t Count (
void)
const {
return( (
size_t)m_Objects.Get_Size() ); }
98 bool Delete (
size_t i ,
bool bDetach =
false);
99 bool Delete (
bool bDetach =
false,
bool bUnsaved =
false);
111 virtual ~CSG_Data_Collection(
void);
142 CSG_TIN &
TIN (
size_t i)
const {
return( *m_pTIN ->Get(i)->asTIN () ); }
145 CSG_Grid &
Grid (
size_t i)
const {
return( *m_pGrid ->Get(i)->asGrid () ); }
156 CSG_Table * Add_Table (
const char *File);
157 CSG_Table * Add_Table (
const wchar_t *File);
162 CSG_Shapes * Add_Shapes (
const wchar_t *File);
171 CSG_TIN * Add_TIN (
const char *File);
172 CSG_TIN * Add_TIN (
const wchar_t *File);
176 CSG_Grid * Add_Grid (
const char *File);
177 CSG_Grid * Add_Grid (
const wchar_t *File);
181 CSG_Grids * Add_Grids (
const char *File);
182 CSG_Grids * Add_Grids (
const wchar_t *File);
185 bool Delete (
bool bDetach =
false,
bool bUnsaved =
false);
196 CSG_Data_Collection *m_pTable = NULL, *m_pShapes = NULL, *m_pPointCloud = NULL, *m_pTIN = NULL, *m_pGrid = NULL, *m_pGrids = NULL;
215 size_t Count (
void)
const {
return( (
size_t)m_Systems.Get_Size() ); }
246 CSG_Grid_Systems m_Grid_Systems;
#define SAGA_API_DLL_EXPORT
CSG_Data_Object * Get(size_t i) const
friend class CSG_Data_Manager
const CSG_Data_Collection & Get_Grids(size_t i) const
const CSG_Grid_System & Get_System(size_t i) const
CSG_Grid & Grid(size_t i) const
CSG_Grid_Systems & Get_Grid_Systems(bool bUpdate=true)
CSG_Grids & Grids(size_t i) const
CSG_Data_Collection & Grid(void) const
CSG_TIN & TIN(size_t i) const
CSG_Data_Collection & Grids(void) const
CSG_Data_Collection & PointCloud(void) const
CSG_Data_Collection & TIN(void) const
CSG_Table & Table(size_t i) const
CSG_Data_Collection & Table(void) const
CSG_Shapes & Shapes(size_t i) const
CSG_Data_Collection & Shapes(void) const
CSG_PointCloud & PointCloud(size_t i) const
SAGA_API_DLL_EXPORT CSG_Data_Manager & SG_Get_Data_Manager(void)
@ SG_DATAOBJECT_TYPE_Undefined