|
SAGA API
v9.6
|
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() ); }
100 bool Delete (
size_t i ,
bool bDetach =
false);
101 bool Delete (
bool bDetach =
false,
bool bUnsaved =
false);
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);
216 #endif // #ifndef HEADER_INCLUDED__SAGA_API__data_manager_H
CSG_TIN & TIN(size_t i) const
CSG_Data_Object * Get(size_t i) const
CSG_Grids & Grids(size_t i) const
bool Exists(CSG_Data_Object *pObject) const
CSG_Data_Collection & Shapes(void) const
#define SAGA_API_DLL_EXPORT
bool Delete(CSG_Data_Object *pObject, bool bDetach=false)
CSG_Data_Collection & TIN(void) const
CSG_Data_Object * Add(CSG_Data_Object *pObject)
SAGA_API_DLL_EXPORT CSG_Data_Manager & SG_Get_Data_Manager(void)
@ SG_DATAOBJECT_TYPE_Undefined
CSG_Data_Collection & PointCloud(void) const
CSG_Data_Object * Find(const CSG_String &File, bool bNative=true) const
CSG_PointCloud & PointCloud(size_t i) const
CSG_Data_Collection & Grids(void) const
CSG_Shapes & Shapes(size_t i) const
CSG_Array_Pointer m_Objects
CSG_Data_Collection & Grid(void) const
TSG_Data_Object_Type m_Type
CSG_Data_Collection & Table(void) const
CSG_Grid & Grid(size_t i) const
CSG_Table & Table(size_t i) const