OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimEllipsoidFactory.h>
Public Member Functions | |
virtual | ~ossimEllipsoidFactory () |
const ossimEllipsoid * | create (const ossimString &code) const |
const ossimEllipsoid * | wgs84 () const |
const ossimEllipsoid * | wgs72 () const |
ossim_uint32 | findEpsgCode (const ossimString &alpha_code) const |
Given an alpha code (for example "WE" for WGS84), returns the corresponding EPSG code or 0 if not found. More... | |
Static Public Member Functions | |
static ossimEllipsoidFactory * | instance () |
Private Types | |
typedef std::map< std::string, ossimEllipsoid * > | TableType |
typedef std::map< ossim_uint32, std::string > | EpsgTableType |
Private Member Functions | |
ossimEllipsoidFactory () | |
void | initializeTable () |
void | deleteAll () |
Private Attributes | |
ossimEllipsoid * | theWgs84Ellipsoid |
ossimEllipsoid * | theWgs72Ellipsoid |
TableType | theEllipsoidTable |
EpsgTableType | theEpsgTable |
Definition at line 25 of file ossimEllipsoidFactory.h.
|
private |
Definition at line 41 of file ossimEllipsoidFactory.h.
|
private |
Definition at line 40 of file ossimEllipsoidFactory.h.
|
virtual |
|
private |
Definition at line 36 of file ossimEllipsoidFactory.cpp.
const ossimEllipsoid * ossimEllipsoidFactory::create | ( | const ossimString & | code | ) | const |
Definition at line 45 of file ossimEllipsoidFactory.cpp.
References ossimString::empty(), ossimNotify(), ossimNotifyLevel_WARN, theEllipsoidTable, theEpsgTable, and ossimString::toUInt32().
Referenced by ossimNgaProjectionFactory::createProjection(), and ossimEllipsoid::loadState().
|
private |
Definition at line 197 of file ossimEllipsoidFactory.cpp.
References theEllipsoidTable, theEpsgTable, theWgs72Ellipsoid, and theWgs84Ellipsoid.
Referenced by ~ossimEllipsoidFactory().
ossim_uint32 ossimEllipsoidFactory::findEpsgCode | ( | const ossimString & | alpha_code | ) | const |
Given an alpha code (for example "WE" for WGS84), returns the corresponding EPSG code or 0 if not found.
Definition at line 226 of file ossimEllipsoidFactory.cpp.
References ossimString::empty(), ossimString::string(), and theEpsgTable.
Referenced by ossimEllipsoid::getEpsgCode(), and ossimEllipsoid::ossimEllipsoid().
|
private |
Definition at line 79 of file ossimEllipsoidFactory.cpp.
References theEllipsoidTable, theEpsgTable, theWgs72Ellipsoid, and theWgs84Ellipsoid.
Referenced by instance().
|
static |
Definition at line 17 of file ossimEllipsoidFactory.cpp.
References initializeTable().
Referenced by ossimNgaProjectionFactory::createProjection(), ossimEllipsoid::getEpsgCode(), ossimEllipsoid::loadState(), ossimDatumFactory::ossimDatumFactory(), ossimEllipsoid::ossimEllipsoid(), ossimWgs72Datum::shiftFromWgs84(), and ossimWgs72Datum::shiftToWgs84().
|
inline |
Definition at line 31 of file ossimEllipsoidFactory.h.
Referenced by ossimWgs72Datum::shiftFromWgs84(), and ossimWgs72Datum::shiftToWgs84().
|
inline |
Definition at line 30 of file ossimEllipsoidFactory.h.
Referenced by ossimEllipsoid::loadState(), ossimEllipsoid::ossimEllipsoid(), ossimWgs72Datum::shiftFromWgs84(), and ossimWgs72Datum::shiftToWgs84().
|
private |
Definition at line 46 of file ossimEllipsoidFactory.h.
Referenced by create(), deleteAll(), and initializeTable().
|
private |
Definition at line 47 of file ossimEllipsoidFactory.h.
Referenced by create(), deleteAll(), findEpsgCode(), and initializeTable().
|
private |
Definition at line 45 of file ossimEllipsoidFactory.h.
Referenced by deleteAll(), and initializeTable().
|
private |
Definition at line 44 of file ossimEllipsoidFactory.h.
Referenced by deleteAll(), and initializeTable().