SAGA API  v9.6
CSG_Stack Class Reference

#include <api_core.h>

Inheritance diagram for CSG_Stack:
CSG_Grid_Stack

Public Member Functions

 CSG_Stack (size_t RecordSize)
 
virtual ~CSG_Stack (void)
 
bool Destroy (void)
 
size_t Get_RecordSize (void) const
 
size_t Get_Size (void) const
 
bool Clear (bool bFreeMemory=false)
 

Protected Member Functions

void * Get_Record (size_t i) const
 
void * Get_Record_Push (void)
 
void * Get_Record_Pop (void)
 

Detailed Description

Definition at line 930 of file api_core.h.

Constructor & Destructor Documentation

◆ CSG_Stack()

CSG_Stack::CSG_Stack ( size_t  RecordSize)
inline

Definition at line 933 of file api_core.h.

References CSG_Array::Create().

◆ ~CSG_Stack()

virtual CSG_Stack::~CSG_Stack ( void  )
inlinevirtual

Definition at line 938 of file api_core.h.

Member Function Documentation

◆ Clear()

bool CSG_Stack::Clear ( bool  bFreeMemory = false)
inline

Definition at line 945 of file api_core.h.

References CSG_Array::Set_Array().

◆ Destroy()

bool CSG_Stack::Destroy ( void  )
inline

Definition at line 940 of file api_core.h.

References CSG_Array::Set_Array().

◆ Get_Record()

void* CSG_Stack::Get_Record ( size_t  i) const
inlineprotected

Definition at line 953 of file api_core.h.

References CSG_Array::Get_Entry().

Referenced by CSG_Grid_Stack::operator[]().

◆ Get_Record_Pop()

void* CSG_Stack::Get_Record_Pop ( void  )
inlineprotected

◆ Get_Record_Push()

void* CSG_Stack::Get_Record_Push ( void  )
inlineprotected

Definition at line 958 of file api_core.h.

References CSG_Array::Get_Entry(), CSG_Array::Get_Size(), and CSG_Array::Inc_Array().

Referenced by CSG_Grid_Stack::Push().

◆ Get_RecordSize()

size_t CSG_Stack::Get_RecordSize ( void  ) const
inline

Definition at line 942 of file api_core.h.

References CSG_Array::Get_Value_Size().

◆ Get_Size()

size_t CSG_Stack::Get_Size ( void  ) const
inline

Definition at line 943 of file api_core.h.

References CSG_Array::Get_uSize().


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