SAGA API  v9.5
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.

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

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

◆ Add() [2/2]

bool CSG_Array_Int::Add ( int  Value)

◆ Assign()

bool CSG_Array_Int::Assign ( int  Value)

Definition at line 594 of file api_memory.cpp.

References Get_Array(), and Get_Size().

◆ 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::Create(), and CSG_Array::Get_Array().

Referenced by CSG_Cluster_Analysis::Execute().

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

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

◆ Dec_Array()

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

Definition at line 444 of file api_core.h.

Referenced by CSG_Parameter_Choices::Select().

◆ Destroy()

◆ Get() [1/2]

int& CSG_Array_Int::Get ( sLong  Index)
inline

Definition at line 450 of file api_core.h.

◆ 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(), Assign(), and CSG_Table::Set_Index().

◆ Get_uSize()

size_t CSG_Array_Int::Get_uSize ( void  ) const
inline

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

◆ operator+=() [2/2]

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

Definition at line 462 of file api_core.h.

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

◆ operator=() [2/2]

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

Definition at line 457 of file api_core.h.

◆ operator[]() [1/2]

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

Definition at line 459 of file api_core.h.

◆ operator[]() [2/2]

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

Definition at line 460 of file api_core.h.

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