SAGA API  v9.6
dataobject.cpp File Reference
#include "dataobject.h"
#include <wx/string.h>
#include "tool_chain.h"

Go to the source code of this file.

Macros

#define Min_Samples   100
 

Functions

void * SG_Get_Create_Pointer (void)
 
CSG_String SG_Get_DataObject_Identifier (TSG_Data_Object_Type Type)
 
CSG_String SG_Get_DataObject_Name (TSG_Data_Object_Type Type)
 
CSG_String SG_Get_DataObject_Class_Name (TSG_Data_Object_Type Type)
 
bool SG_DataObject_Set_Max_Samples (sLong Max_Samples)
 
sLong SG_DataObject_Get_Max_Samples (void)
 
void SG_Set_History_Depth (int Depth)
 
int SG_Get_History_Depth (void)
 
void SG_Set_History_Ignore_Lists (int Ignore)
 
int SG_Get_History_Ignore_Lists (void)
 
bool SG_Data_Object_Delete (CSG_Data_Object *pObject)
 

Variables

static sLong gSG_DataObject_Max_Samples = 0
 
int g_History_Depth = -1
 
int g_History_Ignore_Lists = true
 

Macro Definition Documentation

◆ Min_Samples

#define Min_Samples   100

Function Documentation

◆ SG_Data_Object_Delete()

bool SG_Data_Object_Delete ( CSG_Data_Object pObject)

Safe CSG_Data_Object destruction

Definition at line 185 of file dataobject.cpp.

References CSG_Data_Object::Get_Managed().

◆ SG_DataObject_Get_Max_Samples()

sLong SG_DataObject_Get_Max_Samples ( void  )

Get the default value for the number of maximum samples used for building data object statistics

Definition at line 139 of file dataobject.cpp.

References gSG_DataObject_Max_Samples.

Referenced by CSG_Grid::Create().

◆ SG_DataObject_Set_Max_Samples()

bool SG_DataObject_Set_Max_Samples ( sLong  Max_Samples)

Set the default value for the number of maximum samples used for building data object statistics

Definition at line 126 of file dataobject.cpp.

References gSG_DataObject_Max_Samples.

◆ SG_Get_Create_Pointer()

void* SG_Get_Create_Pointer ( void  )

Definition at line 65 of file dataobject.cpp.

References DATAOBJECT_CREATE.

◆ SG_Get_DataObject_Class_Name()

◆ SG_Get_DataObject_Identifier()

◆ SG_Get_DataObject_Name()

◆ SG_Get_History_Depth()

int SG_Get_History_Depth ( void  )

Definition at line 159 of file dataobject.cpp.

References g_History_Depth.

◆ SG_Get_History_Ignore_Lists()

int SG_Get_History_Ignore_Lists ( void  )

Definition at line 172 of file dataobject.cpp.

References g_History_Ignore_Lists.

Referenced by CSG_Parameters::Set_History().

◆ SG_Set_History_Depth()

void SG_Set_History_Depth ( int  Depth)

Definition at line 154 of file dataobject.cpp.

References g_History_Depth.

◆ SG_Set_History_Ignore_Lists()

void SG_Set_History_Ignore_Lists ( int  Ignore)

Definition at line 167 of file dataobject.cpp.

References g_History_Ignore_Lists.

Variable Documentation

◆ g_History_Depth

int g_History_Depth = -1

Definition at line 152 of file dataobject.cpp.

Referenced by SG_Get_History_Depth(), and SG_Set_History_Depth().

◆ g_History_Ignore_Lists

int g_History_Ignore_Lists = true

Definition at line 165 of file dataobject.cpp.

Referenced by SG_Get_History_Ignore_Lists(), and SG_Set_History_Ignore_Lists().

◆ gSG_DataObject_Max_Samples

sLong gSG_DataObject_Max_Samples = 0
static