Classes | |
| class | CurlWrapper |
| An abstraction to Lib Curl functions. More... | |
| struct | Exception |
| Base exception class for WS Core Runtime Library. More... | |
| struct | UnsupportedVersionException |
| Exception to be used when a XML has an unsupported version by WMSClient or WCSClient. More... | |
| struct | WrongVersionException |
| Exception to be used when a XML has an unsupported version by XMLParser. More... | |
Enumerations | |
| enum | AuthenticationMethod { NOT_AUTH = 0 , HTTP_BASIC = 1 , HTTP_DIGEST = 2 } |
Functions | |
| TEWSCOREEXPORT te::map::ImageType | FormatToImageType (const std::string &format) |
| This function gets an ImageType Enum according to an image format string (e.g. image/png). | |
| TEWSCOREEXPORT long | GetFileSize (const std::string &filename) |
| This function gets the size of a file, using C runtime stat struct that works on Windows, Mac and Linux. | |
| TEWSCOREEXPORT bool | IsInvertedEPSG (const std::string &epsg) |
| This function gets true for EPSGs that has inverted axis-order. Otherwise false. This implementation is using the MapServer's rule to define if the EPSG has inverted axis-order or not. If the EPSG code number is between 4000 and 5000, the axis-order of such EPSG is inverted. | |
| Enumerator | |
|---|---|
| NOT_AUTH | |
| HTTP_BASIC | |
| HTTP_DIGEST | |
Definition at line 49 of file CurlWrapper.h.
| TEWSCOREEXPORT te::map::ImageType te::ws::core::FormatToImageType | ( | const std::string & | format | ) |
This function gets an ImageType Enum according to an image format string (e.g. image/png).
| format | (e.g. image/png). |
| TEWSCOREEXPORT long te::ws::core::GetFileSize | ( | const std::string & | filename | ) |
This function gets the size of a file, using C runtime stat struct that works on Windows, Mac and Linux.
| filename | absolute name of a file. |
| TEWSCOREEXPORT bool te::ws::core::IsInvertedEPSG | ( | const std::string & | epsg | ) |
This function gets true for EPSGs that has inverted axis-order. Otherwise false. This implementation is using the MapServer's rule to define if the EPSG has inverted axis-order or not. If the EPSG code number is between 4000 and 5000, the axis-order of such EPSG is inverted.
| epsg | An EPSG in the following format EPSG:XXXX (e.g.: EPSG:4326) |