SAGA API  v9.6
CSG_Array_sLong Class Reference

#include <api_core.h>

Public Member Functions

 CSG_Array_sLong (const CSG_Array_sLong &Array)
 
sLongCreate (const CSG_Array_sLong &Array)
 
 CSG_Array_sLong (sLong nValues=0, TSG_Array_Growth Growth=TSG_Array_Growth::SG_ARRAY_GROWTH_0)
 
sLongCreate (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
 
sLongGet_Array (void) const
 
sLongGet_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 (sLong Value)
 
bool Add (const CSG_Array_sLong &Array)
 
bool Set (sLong Index, sLong Value)
 
sLongGet (sLong Index)
 
sLong Get (sLong Index) const
 
bool Assign (sLong Value)
 
CSG_Array_sLongoperator= (const CSG_Array_sLong &Array)
 
CSG_Array_sLongoperator= (sLong Value)
 
sLongoperator[] (sLong Index)
 
sLong operator[] (sLong Index) const
 
CSG_Array_sLongoperator+= (sLong Value)
 
CSG_Array_sLongoperator+= (const CSG_Array_sLong &Array)
 

Detailed Description

Definition at line 478 of file api_core.h.

Constructor & Destructor Documentation

◆ CSG_Array_sLong() [1/2]

CSG_Array_sLong::CSG_Array_sLong ( const CSG_Array_sLong Array)
inline

Definition at line 481 of file api_core.h.

◆ CSG_Array_sLong() [2/2]

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

Definition at line 484 of file api_core.h.

Member Function Documentation

◆ Add() [1/2]

bool CSG_Array_sLong::Add ( const CSG_Array_sLong Array)

Definition at line 641 of file api_memory.cpp.

References Add(), and Get_Size().

◆ Add() [2/2]

bool CSG_Array_sLong::Add ( sLong  Value)

Definition at line 628 of file api_memory.cpp.

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

Referenced by Add().

◆ Assign()

bool CSG_Array_sLong::Assign ( sLong  Value)

Definition at line 655 of file api_memory.cpp.

References Get_Array(), and Get_Size().

◆ Create() [1/2]

◆ Create() [2/2]

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

Definition at line 620 of file api_memory.cpp.

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

◆ Dec_Array()

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

Definition at line 500 of file api_core.h.

Referenced by CSG_KDTree_2D::Get_Duplicates(), and CSG_KDTree_3D::Get_Duplicates().

◆ Destroy()

void CSG_Array_sLong::Destroy ( void  )
inline

Definition at line 487 of file api_core.h.

Referenced by CSG_KDTree::Destroy().

◆ Get() [1/2]

sLong& CSG_Array_sLong::Get ( sLong  Index)
inline

Definition at line 506 of file api_core.h.

◆ Get() [2/2]

sLong CSG_Array_sLong::Get ( sLong  Index) const
inline

Definition at line 508 of file api_core.h.

◆ Get_Array() [1/2]

sLong* CSG_Array_sLong::Get_Array ( sLong  nValues)
inline

Definition at line 496 of file api_core.h.

◆ Get_Array() [2/2]

sLong* CSG_Array_sLong::Get_Array ( void  ) const
inline

Definition at line 495 of file api_core.h.

Referenced by Add(), and Assign().

◆ Get_Growth()

TSG_Array_Growth CSG_Array_sLong::Get_Growth ( void  ) const
inline

Definition at line 490 of file api_core.h.

◆ Get_Size()

sLong CSG_Array_sLong::Get_Size ( void  ) const
inline

Definition at line 492 of file api_core.h.

Referenced by Add(), Assign(), and CSG_Parameters_Point_Search_KDTree_2D::Get_Points().

◆ Get_uSize()

size_t CSG_Array_sLong::Get_uSize ( void  ) const
inline

Definition at line 493 of file api_core.h.

◆ Inc_Array()

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

Definition at line 499 of file api_core.h.

Referenced by Add().

◆ operator+=() [1/2]

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

Definition at line 519 of file api_core.h.

◆ operator+=() [2/2]

CSG_Array_sLong& CSG_Array_sLong::operator+= ( sLong  Value)
inline

Definition at line 518 of file api_core.h.

◆ operator=() [1/2]

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

Definition at line 512 of file api_core.h.

◆ operator=() [2/2]

CSG_Array_sLong& CSG_Array_sLong::operator= ( sLong  Value)
inline

Definition at line 513 of file api_core.h.

◆ operator[]() [1/2]

sLong& CSG_Array_sLong::operator[] ( sLong  Index)
inline

Definition at line 515 of file api_core.h.

◆ operator[]() [2/2]

sLong CSG_Array_sLong::operator[] ( sLong  Index) const
inline

Definition at line 516 of file api_core.h.

◆ Set()

bool CSG_Array_sLong::Set ( sLong  Index,
sLong  Value 
)
inline

Definition at line 504 of file api_core.h.

◆ Set_Array()

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

Definition at line 498 of file api_core.h.

◆ Set_Growth()

bool CSG_Array_sLong::Set_Growth ( TSG_Array_Growth  Growth)
inline

Definition at line 489 of file api_core.h.


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