![]() |
SAGA API
v9.2
|
#include <data_manager.h>
Public Member Functions | |
size_t | Count (void) const |
CSG_Data_Object * | Get (size_t i) const |
CSG_Data_Object * | Get (const CSG_String &File, bool bNative=true) const |
virtual bool | Exists (CSG_Data_Object *pObject) const |
Protected Member Functions | |
CSG_Data_Collection (class CSG_Data_Manager *pManager, TSG_Data_Object_Type Type) | |
virtual | ~CSG_Data_Collection (void) |
virtual bool | Add (CSG_Data_Object *pObject) |
bool | Delete (CSG_Data_Object *pObject, bool bDetach=false) |
bool | Delete (size_t i, bool bDetach=false) |
bool | Delete (bool bDetach=false, bool bUnsaved=false) |
bool | Delete_All (bool bDetach=false) |
bool | Delete_Unsaved (bool bDetach=false) |
Protected Attributes | |
class CSG_Data_Manager * | m_pManager |
TSG_Data_Object_Type | m_Type |
CSG_Array_Pointer | m_Objects |
Friends | |
class | CSG_Data_Manager |
Definition at line 88 of file data_manager.h.
|
protected |
Definition at line 78 of file data_manager.cpp.
References m_pManager, and m_Type.
|
protectedvirtual |
Definition at line 85 of file data_manager.cpp.
References Delete_All().
|
protectedvirtual |
Reimplemented in CSG_Grid_Collection.
Definition at line 119 of file data_manager.cpp.
References Count(), DATAOBJECT_CREATE, DATAOBJECT_NOTSET, Exists(), g_Data_Manager, CSG_Array_Pointer::Inc_Array(), m_Objects, m_pManager, SG_UI_DataObject_Add(), and SG_UI_DATAOBJECT_UPDATE.
Referenced by CSG_Grid_Collection::Add(), and CSG_Data_Manager::Add().
|
inline |
Definition at line 94 of file data_manager.h.
Referenced by Add(), CSG_Grid_Collection::Add(), Delete(), CSG_Data_Manager::Delete(), Delete_Unsaved(), Exists(), CSG_Grid_Collection::Exists(), Get(), CSG_Data_Manager::Get_Summary(), and CSG_Grid_Collection::is_Equal().
|
protected |
Definition at line 185 of file data_manager.cpp.
References Count(), Delete(), Get(), m_Objects, CSG_Array_Pointer::Set_Array(), and SG_File_Exists().
|
protected |
Definition at line 145 of file data_manager.cpp.
References Count(), Get(), CSG_Array_Pointer::Get_Array(), CSG_Array_Pointer::Get_uSize(), m_Objects, and CSG_Array_Pointer::Set_Array().
Referenced by CSG_Data_Manager::Delete(), Delete(), Delete_All(), and Delete_Unsaved().
|
protected |
Definition at line 179 of file data_manager.cpp.
|
protected |
Definition at line 214 of file data_manager.cpp.
References Delete().
Referenced by CSG_Data_Manager::Delete(), and ~CSG_Data_Collection().
|
protected |
Definition at line 220 of file data_manager.cpp.
References Count(), Delete(), Get(), and SG_File_Exists().
|
virtual |
Reimplemented in CSG_Grid_Collection.
Definition at line 105 of file data_manager.cpp.
References Count(), and Get().
Referenced by Add(), and CSG_Data_Manager::Exists().
CSG_Data_Object * CSG_Data_Collection::Get | ( | const CSG_String & | File, |
bool | bNative = true |
||
) | const |
Definition at line 91 of file data_manager.cpp.
References CSG_String::Cmp(), Count(), and Get().
Referenced by Get().
|
inline |
Definition at line 96 of file data_manager.h.
Referenced by Delete(), Delete_Unsaved(), Exists(), CSG_Grid_Collection::Exists(), CSG_Data_Manager::Find(), Get(), and CSG_Data_Manager::Get_Summary().
|
friend |
Definition at line 90 of file data_manager.h.
|
protected |
Definition at line 120 of file data_manager.h.
|
protected |
Definition at line 116 of file data_manager.h.
Referenced by Add(), CSG_Data_Collection(), and CSG_Data_Manager::Delete().
|
protected |
Definition at line 118 of file data_manager.h.
Referenced by CSG_Data_Collection(), and CSG_Data_Manager::Delete().