SAGA API  v9.6
CSG_Grid_Stack Class Reference

#include <grid.h>

Inheritance diagram for CSG_Grid_Stack:
CSG_Stack

Public Member Functions

 CSG_Grid_Stack (void)
 
const TSG_Point_Intoperator[] (size_t i) const
 
virtual bool Push (int x, int y)
 
virtual bool Pop (int &x, int &y)
 
- Public Member Functions inherited from CSG_Stack
 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)
 

Additional Inherited Members

- Protected Member Functions inherited from CSG_Stack
void * Get_Record (size_t i) const
 
void * Get_Record_Push (void)
 
void * Get_Record_Pop (void)
 

Detailed Description

Definition at line 1042 of file grid.h.

Constructor & Destructor Documentation

◆ CSG_Grid_Stack()

CSG_Grid_Stack::CSG_Grid_Stack ( void  )
inline

Definition at line 1045 of file grid.h.

Member Function Documentation

◆ operator[]()

const TSG_Point_Int& CSG_Grid_Stack::operator[] ( size_t  i) const
inline

Definition at line 1048 of file grid.h.

References CSG_Stack::Get_Record().

◆ Pop()

virtual bool CSG_Grid_Stack::Pop ( int &  x,
int &  y 
)
inlinevirtual

Definition at line 1067 of file grid.h.

References CSG_Stack::Get_Record_Pop(), SSG_Point_Int::x, and SSG_Point_Int::y.

◆ Push()

virtual bool CSG_Grid_Stack::Push ( int  x,
int  y 
)
inlinevirtual

Definition at line 1051 of file grid.h.

References CSG_Stack::Get_Record_Push(), SSG_Point_Int::x, and SSG_Point_Int::y.


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