#include "qgis.h"
#include "qgsversion.h"
#include <QCoreApplication>
#include <QColor>
#include <QDate>
#include <QTime>
#include <QDateTime>
#include "qgsconfig.h"
#include "qgslogger.h"
#include <ogr_api.h>
Go to the source code of this file.
Functions |
| void * | qgsCalloc (size_t nmemb, size_t size) |
| | Allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory.
|
| void | qgsFree (void *ptr) |
| | Frees the memory space pointed to by ptr.
|
| void * | qgsMalloc (size_t size) |
| | Allocates size bytes and returns a pointer to the allocated memory.
|
| bool | qgsVariantGreaterThan (const QVariant &lhs, const QVariant &rhs) |
| bool | qgsVariantLessThan (const QVariant &lhs, const QVariant &rhs) |
| QString | qgsVsiPrefix (QString path) |
Variables |
| const CORE_EXPORT QString | GEO_EPSG_CRS_AUTHID = "EPSG:4326" |
| | Geographic coord sys from EPSG authority.
|
| const CORE_EXPORT QString | GEO_NONE = "NONE" |
| | Constant that holds the string representation for "No ellips/No CRS".
|
| const CORE_EXPORT QString | GEOPROJ4 = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" |
| | PROJ4 string that represents a geographic coord sys.
|
| const CORE_EXPORT QString | GEOWKT = " AUTHORITY[\"EPSG\",4326]]" |
| | Wkt string that represents a geographic coord sys.
|
| const CORE_EXPORT QString | PROJECT_SCALES = "1:10000,1:5000,1:2500,1:1000,1:500" |
Macro Definition Documentation
| #define DEGREE_TO_METER 111319.49079327358 |
| #define FEET_TO_METER 0.3048 |
| #define NMILE_TO_METER 1852.0 |
Function Documentation
| void* qgsCalloc |
( |
size_t |
nmemb, |
|
|
size_t |
size |
|
) |
| |
Allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory.
Works like C calloc() but prints debug message by QgsLogger if allocation fails.
- Parameters
-
| nmemb | number of elements |
| size | size of element in bytes |
Definition at line 202 of file qgis.cpp.
| void qgsFree |
( |
void * |
ptr | ) |
|
Frees the memory space pointed to by ptr.
Works like C free().
- Parameters
-
| ptr | pointer to memory space |
Definition at line 217 of file qgis.cpp.
| void* qgsMalloc |
( |
size_t |
size | ) |
|
Allocates size bytes and returns a pointer to the allocated memory.
Works like C malloc() but prints debug message by QgsLogger if allocation fails.
- Parameters
-
Definition at line 187 of file qgis.cpp.
| bool qgsVariantGreaterThan |
( |
const QVariant & |
lhs, |
|
|
const QVariant & |
rhs |
|
) |
| |
| bool qgsVariantLessThan |
( |
const QVariant & |
lhs, |
|
|
const QVariant & |
rhs |
|
) |
| |
| QString qgsVsiPrefix |
( |
QString |
path | ) |
|
Variable Documentation
| const CORE_EXPORT QString GEO_EPSG_CRS_AUTHID = "EPSG:4326" |
Geographic coord sys from EPSG authority.
Definition at line 71 of file qgis.cpp.
| const CORE_EXPORT QString GEO_NONE = "NONE" |
Constant that holds the string representation for "No ellips/No CRS".
Definition at line 73 of file qgis.cpp.
| const CORE_EXPORT QString GEOPROJ4 = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" |
PROJ4 string that represents a geographic coord sys.
Definition at line 51 of file qgis.cpp.
| const CORE_EXPORT QString GEOWKT = " AUTHORITY[\"EPSG\",4326]]" |
Wkt string that represents a geographic coord sys.
- Note
- added to replace GEOWkt
Definition at line 54 of file qgis.cpp.
| const CORE_EXPORT QString PROJECT_SCALES = "1:10000,1:5000,1:2500,1:1000,1:500" |