GDAL
Public Member Functions | Protected Member Functions | List of all members
OGRStyleTool Class Referenceabstract

This class represents a style tool. More...

#include <ogr_featurestyle.h>

Inheritance diagram for OGRStyleTool:
OGRStyleBrush OGRStyleLabel OGRStylePen OGRStyleSymbol

Public Member Functions

 OGRStyleTool (OGRSTClassId eClassId)
 
GBool GetRGBFromString (const char *pszColor, int &nRed, int &nGreen, int &nBlue, int &nTransparence)
 
int GetSpecificId (const char *pszId, const char *pszWanted)
 
GBool IsStyleModified ()
 
void StyleModified ()
 
GBool IsStyleParsed ()
 
void StyleParsed ()
 
OGRSTClassId GetType ()
 
void SetInternalInputUnitFromParam (char *pszString)
 
void SetUnit (OGRSTUnitId, double dfScale=1.0)
 
OGRSTUnitId GetUnit ()
 
virtual const char * GetStyleString ()=0
 
void SetStyleString (const char *pszStyleString)
 
const char * GetStyleString (const OGRStyleParamId *pasStyleParam, OGRStyleValue *pasStyleValue, int nSize)
 
const char * GetParamStr (const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
 
int GetParamNum (const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
 
double GetParamDbl (const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
 
void SetParamStr (const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, const char *pszParamString)
 
void SetParamNum (const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, int nParam)
 
void SetParamDbl (const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, double dfParam)
 
double ComputeWithUnit (double, OGRSTUnitId)
 
int ComputeWithUnit (int, OGRSTUnitId)
 

Protected Member Functions

GBool Parse (const OGRStyleParamId *pasStyle, OGRStyleValue *pasValue, int nCount)
 

Detailed Description

This class represents a style tool.


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

Generated for GDAL by doxygen 1.8.9.1.