SAGA API
v9.6
|
#include <data_manager.h>
Public Member Functions | |
size_t | Count (void) const |
CSG_Data_Object & | operator[] (size_t i) const |
CSG_Data_Object * | Get (size_t i) const |
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) |
CSG_Data_Object * | Find (const CSG_String &File, bool bNative=true) const |
bool | Exists (CSG_Data_Object *pObject) const |
Protected Member Functions | |
CSG_Data_Collection (TSG_Data_Object_Type Type) | |
virtual | ~CSG_Data_Collection (void) |
bool | Add (CSG_Data_Object *pObject) |
Protected Attributes | |
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_Type.
|
protectedvirtual |
Definition at line 84 of file data_manager.cpp.
References Delete().
|
protected |
Definition at line 118 of file data_manager.cpp.
References Count(), DATAOBJECT_CREATE, DATAOBJECT_NOTSET, Exists(), CSG_Array_Pointer::Inc_Array(), and m_Objects.
Referenced by CSG_Data_Manager::Add().
|
inline |
Definition at line 94 of file data_manager.h.
Referenced by Add(), Delete(), Exists(), CSG_Data_Manager::Exists(), Find(), and CSG_Data_Manager::Get_Summary().
bool CSG_Data_Collection::Delete | ( | bool | bDetach = false , |
bool | bUnsaved = false |
||
) |
Definition at line 187 of file data_manager.cpp.
References Count(), Delete(), Get(), and SG_File_Exists().
bool CSG_Data_Collection::Delete | ( | CSG_Data_Object * | pObject, |
bool | bDetach = false |
||
) |
Definition at line 141 of file data_manager.cpp.
References Count(), and Get().
Referenced by Delete(), CSG_Data_Manager::Delete(), and ~CSG_Data_Collection().
bool CSG_Data_Collection::Delete | ( | size_t | i, |
bool | bDetach = false |
||
) |
Definition at line 155 of file data_manager.cpp.
References Count(), CSG_Array_Pointer::Dec_Array(), Get(), CSG_Array_Pointer::Get_Array(), and m_Objects.
bool CSG_Data_Collection::Exists | ( | CSG_Data_Object * | pObject | ) | const |
Definition at line 104 of file data_manager.cpp.
References Count(), and Get().
Referenced by Add().
CSG_Data_Object * CSG_Data_Collection::Find | ( | const CSG_String & | File, |
bool | bNative = true |
||
) | const |
Definition at line 90 of file data_manager.cpp.
References CSG_String::Cmp(), Count(), and Get().
|
inline |
Definition at line 97 of file data_manager.h.
|
inline |
Definition at line 96 of file data_manager.h.
|
friend |
Definition at line 90 of file data_manager.h.
|
protected |
Definition at line 118 of file data_manager.h.
|
protected |
Definition at line 116 of file data_manager.h.
Referenced by CSG_Data_Collection().