SAGA API  v9.5
CSG_Array_Pointer Class Reference

#include <api_core.h>

Public Member Functions

 CSG_Array_Pointer (const CSG_Array_Pointer &Array)
 
void ** Create (const CSG_Array_Pointer &Array)
 
 CSG_Array_Pointer (sLong nValues=0, TSG_Array_Growth Growth=TSG_Array_Growth::SG_ARRAY_GROWTH_0)
 
void ** Create (sLong nValues=0, TSG_Array_Growth Growth=TSG_Array_Growth::SG_ARRAY_GROWTH_0)
 
void Destroy (void)
 
bool Set_Growth (TSG_Array_Growth Growth)
 
TSG_Array_Growth Get_Growth (void) const
 
sLong Get_Size (void) const
 
size_t Get_uSize (void) const
 
void ** Get_Array (void) const
 
void ** Get_Array (sLong nValues)
 
bool Set_Array (sLong nValues, bool bShrink=true)
 
bool Inc_Array (sLong nValues=1)
 
bool Dec_Array (bool bShrink=true)
 
bool Add (void *Value)
 
bool Add (const CSG_Array_Pointer &Array)
 
bool Set (sLong Index, void *Value)
 
void *& Get (sLong Index)
 
void * Get (sLong Index) const
 
bool Del (sLong Index)
 
sLong Del (void *Value)
 
CSG_Array_Pointeroperator= (const CSG_Array_Pointer &Array)
 
void *& operator[] (sLong Index)
 
void * operator[] (sLong Index) const
 
CSG_Array_Pointeroperator+= (void *Value)
 
CSG_Array_Pointeroperator+= (const CSG_Array_Pointer &Array)
 

Detailed Description

Definition at line 367 of file api_core.h.

Constructor & Destructor Documentation

◆ CSG_Array_Pointer() [1/2]

CSG_Array_Pointer::CSG_Array_Pointer ( const CSG_Array_Pointer Array)
inline

Definition at line 370 of file api_core.h.

◆ CSG_Array_Pointer() [2/2]

CSG_Array_Pointer::CSG_Array_Pointer ( sLong  nValues = 0,
TSG_Array_Growth  Growth = TSG_Array_Growth::SG_ARRAY_GROWTH_0 
)
inline

Definition at line 373 of file api_core.h.

Member Function Documentation

◆ Add() [1/2]

bool CSG_Array_Pointer::Add ( const CSG_Array_Pointer Array)

Definition at line 498 of file api_memory.cpp.

References Add(), and Get_Size().

◆ Add() [2/2]

◆ Create() [1/2]

void ** CSG_Array_Pointer::Create ( const CSG_Array_Pointer Array)

Definition at line 469 of file api_memory.cpp.

References CSG_Array::Create(), and CSG_Array::Get_Array().

Referenced by CSG_Lines::CSG_Lines(), and CSG_Grids::Update_Z_Order().

◆ Create() [2/2]

void ** CSG_Array_Pointer::Create ( sLong  nValues = 0,
TSG_Array_Growth  Growth = TSG_Array_Growth::SG_ARRAY_GROWTH_0 
)

Definition at line 477 of file api_memory.cpp.

References CSG_Array::Create(), and CSG_Array::Get_Array().

◆ Dec_Array()

bool CSG_Array_Pointer::Dec_Array ( bool  bShrink = true)
inline

Definition at line 389 of file api_core.h.

Referenced by CSG_Strings::Del(), Del(), and CSG_Data_Collection::Delete().

◆ Del() [1/2]

bool CSG_Array_Pointer::Del ( sLong  Index)

◆ Del() [2/2]

sLong CSG_Array_Pointer::Del ( void *  Value)

Definition at line 528 of file api_memory.cpp.

References Del(), and Get_Size().

◆ Destroy()

void CSG_Array_Pointer::Destroy ( void  )
inline

◆ Get() [1/2]

void*& CSG_Array_Pointer::Get ( sLong  Index)
inline

Definition at line 395 of file api_core.h.

Referenced by CSG_Tool_Library_Interface::Delete_Tool().

◆ Get() [2/2]

void* CSG_Array_Pointer::Get ( sLong  Index) const
inline

Definition at line 397 of file api_core.h.

◆ Get_Array() [1/2]

void** CSG_Array_Pointer::Get_Array ( sLong  nValues)
inline

Definition at line 385 of file api_core.h.

◆ Get_Array() [2/2]

◆ Get_Growth()

TSG_Array_Growth CSG_Array_Pointer::Get_Growth ( void  ) const
inline

Definition at line 379 of file api_core.h.

◆ Get_Size()

◆ Get_uSize()

size_t CSG_Array_Pointer::Get_uSize ( void  ) const
inline

◆ Inc_Array()

bool CSG_Array_Pointer::Inc_Array ( sLong  nValues = 1)
inline

Definition at line 388 of file api_core.h.

Referenced by CSG_Strings::Add(), CSG_Data_Collection::Add(), Add(), and CSG_Strings::Ins().

◆ operator+=() [1/2]

CSG_Array_Pointer& CSG_Array_Pointer::operator+= ( const CSG_Array_Pointer Array)
inline

Definition at line 407 of file api_core.h.

◆ operator+=() [2/2]

CSG_Array_Pointer& CSG_Array_Pointer::operator+= ( void *  Value)
inline

Definition at line 406 of file api_core.h.

◆ operator=()

CSG_Array_Pointer& CSG_Array_Pointer::operator= ( const CSG_Array_Pointer Array)
inline

Definition at line 401 of file api_core.h.

◆ operator[]() [1/2]

void*& CSG_Array_Pointer::operator[] ( sLong  Index)
inline

Definition at line 403 of file api_core.h.

◆ operator[]() [2/2]

void* CSG_Array_Pointer::operator[] ( sLong  Index) const
inline

Definition at line 404 of file api_core.h.

◆ Set()

bool CSG_Array_Pointer::Set ( sLong  Index,
void *  Value 
)
inline

Definition at line 393 of file api_core.h.

◆ Set_Array()

bool CSG_Array_Pointer::Set_Array ( sLong  nValues,
bool  bShrink = true 
)
inline

◆ Set_Growth()

bool CSG_Array_Pointer::Set_Growth ( TSG_Array_Growth  Growth)
inline

Definition at line 378 of file api_core.h.


The documentation for this class was generated from the following files: