Quantum GIS API Documentation
1.8
|
#include <qgscrscache.h>
Public Member Functions | |
~QgsCRSCache () | |
const QgsCoordinateReferenceSystem & | crsByAuthId (const QString &authid) |
Returns the CRS for authid, e.g. | |
const QgsCoordinateReferenceSystem & | crsByEpsgId (long epgs) |
Static Public Member Functions | |
static QgsCRSCache * | instance () |
Protected Member Functions | |
QgsCRSCache () | |
Private Attributes | |
QHash< QString, QgsCoordinateReferenceSystem > | mCRS |
QgsCoordinateReferenceSystem | mInvalidCRS |
CRS that is not initialised (returned in case of error) | |
Static Private Attributes | |
static QgsCRSCache * | mInstance = 0 |
Definition at line 24 of file qgscrscache.h.
Definition at line 35 of file qgscrscache.cpp.
References mInstance.
QgsCRSCache::QgsCRSCache | ( | ) | [protected] |
Definition at line 31 of file qgscrscache.cpp.
Referenced by instance().
const QgsCoordinateReferenceSystem & QgsCRSCache::crsByAuthId | ( | const QString & | authid | ) |
Returns the CRS for authid, e.g.
'EPSG:4326' (or an invalid CRS in case of error)
Definition at line 40 of file qgscrscache.cpp.
References QgsCoordinateReferenceSystem::createFromOgcWmsCrs(), mCRS, and mInvalidCRS.
Referenced by crsByEpsgId().
const QgsCoordinateReferenceSystem & QgsCRSCache::crsByEpsgId | ( | long | epgs | ) |
Definition at line 58 of file qgscrscache.cpp.
References crsByAuthId().
QgsCRSCache * QgsCRSCache::instance | ( | ) | [static] |
Definition at line 22 of file qgscrscache.cpp.
References mInstance, and QgsCRSCache().
Referenced by QgsCoordinateReferenceSystem::readXML().
QHash< QString, QgsCoordinateReferenceSystem > QgsCRSCache::mCRS [private] |
Definition at line 38 of file qgscrscache.h.
Referenced by crsByAuthId().
QgsCRSCache * QgsCRSCache::mInstance = 0 [static, private] |
Definition at line 37 of file qgscrscache.h.
Referenced by instance(), and ~QgsCRSCache().
CRS that is not initialised (returned in case of error)
Definition at line 40 of file qgscrscache.h.
Referenced by crsByAuthId().