SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Array_Int Class Reference

#include <api_core.h>

Public Member Functions

 CSG_Array_Int (const CSG_Array_Int &Array)
int * Create (const CSG_Array_Int &Array)
 CSG_Array_Int (sLong nValues=0, TSG_Array_Growth Growth=TSG_Array_Growth::SG_ARRAY_GROWTH_0)
int * 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
int * Get_Array (void) const
int * 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 (int Value)
bool Add (const CSG_Array_Int &Array)
bool Set (sLong Index, int Value)
int & Get (sLong Index)
int Get (sLong Index) const
bool Assign (int Value)
CSG_Array_Intoperator= (const CSG_Array_Int &Array)
CSG_Array_Intoperator= (int Value)
int & operator[] (sLong Index)
int operator[] (sLong Index) const
CSG_Array_Intoperator+= (int Value)
CSG_Array_Intoperator+= (const CSG_Array_Int &Array)

Detailed Description

Definition at line 422 of file api_core.h.

Constructor & Destructor Documentation

◆ CSG_Array_Int() [1/2]

CSG_Array_Int::CSG_Array_Int ( const CSG_Array_Int & Array)
inline

Definition at line 425 of file api_core.h.

References Create(), and CSG_Array_Int().

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

◆ CSG_Array_Int() [2/2]

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

Definition at line 428 of file api_core.h.

References Create(), and SG_ARRAY_GROWTH_0.

Member Function Documentation

◆ Add() [1/2]

bool CSG_Array_Int::Add ( const CSG_Array_Int & Array)

Definition at line 580 of file api_memory.cpp.

References Add(), CSG_Array_Int(), and Get_Size().

◆ Add() [2/2]

bool CSG_Array_Int::Add ( int Value)

Definition at line 567 of file api_memory.cpp.

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

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

◆ Assign()

bool CSG_Array_Int::Assign ( int Value)

Definition at line 594 of file api_memory.cpp.

References Get_Array(), and Get_Size().

Referenced by operator=().

◆ Create() [1/2]

int * CSG_Array_Int::Create ( const CSG_Array_Int & Array)

Definition at line 551 of file api_memory.cpp.

References CSG_Array_Int().

Referenced by CSG_Array_Int(), CSG_Array_Int(), and operator=().

◆ Create() [2/2]

int * CSG_Array_Int::Create ( sLong nValues = 0,
TSG_Array_Growth Growth = TSG_Array_Growth::SG_ARRAY_GROWTH_0 )

Definition at line 559 of file api_memory.cpp.

◆ Dec_Array()

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

Definition at line 444 of file api_core.h.

◆ Destroy()

void CSG_Array_Int::Destroy ( void )
inline

Definition at line 431 of file api_core.h.

◆ Get() [1/2]

int & CSG_Array_Int::Get ( sLong Index)
inline

Definition at line 450 of file api_core.h.

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

◆ Get() [2/2]

int CSG_Array_Int::Get ( sLong Index) const
inline

Definition at line 452 of file api_core.h.

◆ Get_Array() [1/2]

int * CSG_Array_Int::Get_Array ( sLong nValues)
inline

Definition at line 440 of file api_core.h.

◆ Get_Array() [2/2]

int * CSG_Array_Int::Get_Array ( void ) const
inline

Definition at line 439 of file api_core.h.

Referenced by Add(), Assign(), and CSG_Table::Set_Index().

◆ Get_Growth()

TSG_Array_Growth CSG_Array_Int::Get_Growth ( void ) const
inline

Definition at line 434 of file api_core.h.

◆ Get_Size()

sLong CSG_Array_Int::Get_Size ( void ) const
inline

Definition at line 436 of file api_core.h.

Referenced by Add(), Add(), Assign(), and CSG_Table::Set_Index().

◆ Get_uSize()

size_t CSG_Array_Int::Get_uSize ( void ) const
inline

Definition at line 437 of file api_core.h.

◆ Inc_Array()

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

Definition at line 443 of file api_core.h.

Referenced by Add().

◆ operator+=() [1/2]

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

Definition at line 463 of file api_core.h.

References Add(), and CSG_Array_Int().

◆ operator+=() [2/2]

CSG_Array_Int & CSG_Array_Int::operator+= ( int Value)
inline

Definition at line 462 of file api_core.h.

References Add(), and CSG_Array_Int().

◆ operator=() [1/2]

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

Definition at line 456 of file api_core.h.

References Create(), and CSG_Array_Int().

◆ operator=() [2/2]

CSG_Array_Int & CSG_Array_Int::operator= ( int Value)
inline

Definition at line 457 of file api_core.h.

References Assign(), and CSG_Array_Int().

◆ operator[]() [1/2]

int & CSG_Array_Int::operator[] ( sLong Index)
inline

Definition at line 459 of file api_core.h.

References Get().

◆ operator[]() [2/2]

int CSG_Array_Int::operator[] ( sLong Index) const
inline

Definition at line 460 of file api_core.h.

References Get().

◆ Set()

bool CSG_Array_Int::Set ( sLong Index,
int Value )
inline

Definition at line 448 of file api_core.h.

◆ Set_Array()

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

Definition at line 442 of file api_core.h.

◆ Set_Growth()

bool CSG_Array_Int::Set_Growth ( TSG_Array_Growth Growth)
inline

Definition at line 433 of file api_core.h.


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