SAGA API Version 9.14
Loading...
Searching...
No Matches
CMap_Base_Layer Class Referenceabstract

#include <mapping.h>

Inheritance diagram for CMap_Base_Layer:
CMap_BaseMap CMap_Graticule CMap_Layer

Public Member Functions

 CMap_Base_Layer (void)
virtual ~CMap_Base_Layer (void)
const SG_Char * List_Parameters (bool bDescription=true, bool bConstraints=true, bool bValue=true) const
bool Set_Parameter (const SG_Char *ID, const char *Value)
bool Set_Parameter (const SG_Char *ID, const wchar_t *Value)
bool Set_Parameter (const SG_Char *ID, const CSG_String &Value)
bool Set_Parameter (const SG_Char *ID, int Value)
bool Set_Parameter (const SG_Char *ID, double Value)
bool Set_Parameter (const SG_Char *ID, const CSG_Colors &Value)
virtual CSG_Parameters & Get_Parameters (void) const =0
bool Draw (CMap &Map)

Protected Member Functions

virtual bool On_Draw (class CSG_Map_DC &dc_Map)=0
virtual CSG_String Get_Name (void) const =0

Detailed Description

Definition at line 148 of file mapping.h.

Constructor & Destructor Documentation

◆ CMap_Base_Layer()

CMap_Base_Layer::CMap_Base_Layer ( void )

Definition at line 306 of file mapping.cpp.

◆ ~CMap_Base_Layer()

CMap_Base_Layer::~CMap_Base_Layer ( void )
virtual

Definition at line 310 of file mapping.cpp.

Member Function Documentation

◆ Draw()

bool CMap_Base_Layer::Draw ( CMap & Map)

Definition at line 350 of file mapping.cpp.

References On_Draw().

Referenced by CMap::Draw(), and Get_Parameters().

◆ Get_Name()

virtual CSG_String CMap_Base_Layer::Get_Name ( void ) const
protectedpure virtual

Implemented in CMap_BaseMap, CMap_Graticule, and CMap_Layer.

Referenced by List_Parameters().

◆ Get_Parameters()

virtual CSG_Parameters & CMap_Base_Layer::Get_Parameters ( void ) const
pure virtual

◆ List_Parameters()

const SG_Char * CMap_Base_Layer::List_Parameters ( bool bDescription = true,
bool bConstraints = true,
bool bValue = true ) const

◆ On_Draw()

virtual bool CMap_Base_Layer::On_Draw ( class CSG_Map_DC & dc_Map)
protectedpure virtual

Implemented in CMap_BaseMap, CMap_Graticule, and CMap_Layer.

Referenced by Draw().

◆ Set_Parameter() [1/6]

bool CMap_Base_Layer::Set_Parameter ( const SG_Char * ID,
const char * Value )

◆ Set_Parameter() [2/6]

bool CMap_Base_Layer::Set_Parameter ( const SG_Char * ID,
const CSG_Colors & Value )

Definition at line 344 of file mapping.cpp.

References Get_Parameters(), Set_Parameter(), and SG_Char.

◆ Set_Parameter() [3/6]

bool CMap_Base_Layer::Set_Parameter ( const SG_Char * ID,
const CSG_String & Value )

Definition at line 326 of file mapping.cpp.

References Get_Parameters(), Set_Parameter(), and SG_Char.

◆ Set_Parameter() [4/6]

bool CMap_Base_Layer::Set_Parameter ( const SG_Char * ID,
const wchar_t * Value )

Definition at line 325 of file mapping.cpp.

References Set_Parameter(), and SG_Char.

◆ Set_Parameter() [5/6]

bool CMap_Base_Layer::Set_Parameter ( const SG_Char * ID,
double Value )

Definition at line 338 of file mapping.cpp.

References Get_Parameters(), Set_Parameter(), and SG_Char.

◆ Set_Parameter() [6/6]

bool CMap_Base_Layer::Set_Parameter ( const SG_Char * ID,
int Value )

Definition at line 332 of file mapping.cpp.

References Get_Parameters(), Set_Parameter(), and SG_Char.


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