SAGA API v9.10
Loading...
Searching...
No Matches
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.

References Create(), and CSG_Array_Pointer().

Referenced by Add(), Create(), CSG_Array_Pointer(), operator+=(), operator+=(), and operator=().

◆ 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.

References Create(), and SG_ARRAY_GROWTH_0.

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(), CSG_Array_Pointer(), and Get_Size().

◆ Add() [2/2]

bool CSG_Array_Pointer::Add ( void * Value)

Definition at line 485 of file api_memory.cpp.

References Get_Array(), Get_Size(), and Inc_Array().

Referenced by Add(), operator+=(), and operator+=().

◆ Create() [1/2]

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

◆ 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.

◆ Dec_Array()

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

Definition at line 389 of file api_core.h.

Referenced by Del().

◆ Del() [1/2]

bool CSG_Array_Pointer::Del ( sLong Index)

Definition at line 512 of file api_memory.cpp.

References Dec_Array(), and Get_Size().

Referenced by Del().

◆ 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

Definition at line 376 of file api_core.h.

◆ Get() [1/2]

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

Definition at line 395 of file api_core.h.

Referenced by operator[](), and operator[]().

◆ 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]

void ** CSG_Array_Pointer::Get_Array ( void ) const
inline

Definition at line 384 of file api_core.h.

Referenced by Add().

◆ Get_Growth()

TSG_Array_Growth CSG_Array_Pointer::Get_Growth ( void ) const
inline

Definition at line 379 of file api_core.h.

◆ Get_Size()

sLong CSG_Array_Pointer::Get_Size ( void ) const
inline

Definition at line 381 of file api_core.h.

Referenced by Add(), Add(), Del(), and Del().

◆ Get_uSize()

size_t CSG_Array_Pointer::Get_uSize ( void ) const
inline

Definition at line 382 of file api_core.h.

◆ Inc_Array()

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

Definition at line 388 of file api_core.h.

Referenced by Add().

◆ 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.

References Add(), and CSG_Array_Pointer().

◆ operator+=() [2/2]

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

Definition at line 406 of file api_core.h.

References Add(), and CSG_Array_Pointer().

◆ operator=()

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

Definition at line 401 of file api_core.h.

References Create(), and CSG_Array_Pointer().

◆ operator[]() [1/2]

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

Definition at line 403 of file api_core.h.

References Get().

◆ operator[]() [2/2]

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

Definition at line 404 of file api_core.h.

References Get().

◆ 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

Definition at line 387 of file api_core.h.

◆ 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: