OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimErrorCodes.h>
Public Member Functions | |
~ossimErrorCodes () | |
ossimErrorCode | getErrorCode (const ossimString &error_string) const |
ossimString | getErrorString (ossimErrorCode error_code) const |
Static Public Member Functions | |
static ossimErrorCodes * | instance () |
Protected Member Functions | |
ossimErrorCodes () | |
ossimErrorCodes (const ossimErrorCodes &rhs) | |
const ossimErrorCodes & | operator= (const ossimErrorCodes &rhs) |
Static Protected Attributes | |
static ossimErrorCodes * | theInstance = NULL |
class ossimErrorCodes Contains class declaration with common error codes and methods to go from code to string and string to code.
Definition at line 27 of file ossimErrorCodes.h.
ossimErrorCodes::~ossimErrorCodes | ( | ) |
|
protected |
|
protected |
Definition at line 51 of file ossimErrorCodes.cpp.
ossimErrorCode ossimErrorCodes::getErrorCode | ( | const ossimString & | error_string | ) | const |
Returns the error code from a string. Returns OSSIM_ERROR_UNKNOWN if the string does not match.
Definition at line 79 of file ossimErrorCodes.cpp.
References OSSIM_A_LESS_B_ERROR, OSSIM_B_ERROR, OSSIM_CENT_MER_ERROR, OSSIM_EASTING_ERROR, OSSIM_ERROR, OSSIM_ERROR_STD_PARALLEL_1, OSSIM_ERROR_UNKNOWN, OSSIM_FIRST_SECOND_ERROR, OSSIM_FIRST_STDP_ERROR, OSSIM_HEMISPHERE_ERROR, OSSIM_INVALID_FILE_ERROR, OSSIM_LAT_ERROR, OSSIM_LON_ERROR, OSSIM_NO_ERROR, OSSIM_NORTHING_ERROR, OSSIM_OK, OSSIM_OPEN_FILE_ERROR, OSSIM_ORIENTATION_ERROR, OSSIM_ORIGIN_LAT_ERROR, OSSIM_ORIGIN_LON_ERROR, OSSIM_RADIUS_ERROR, OSSIM_SCALE_FACTOR_ERROR, OSSIM_SEC_STDP_ERROR, OSSIM_WARNING, OSSIM_WRITE_FILE_ERROR, OSSIM_ZONE_ERROR, OSSIM_ZONE_OVERRIDE_ERROR, and ossimString::upcase().
ossimString ossimErrorCodes::getErrorString | ( | ossimErrorCode | error_code | ) | const |
Returns the string matching the error code. Returns "OSSIM_ERROR_UNKNOWN" if code is not valid.
Definition at line 193 of file ossimErrorCodes.cpp.
References OSSIM_A_ERROR, OSSIM_A_LESS_B_ERROR, OSSIM_B_ERROR, OSSIM_CENT_MER_ERROR, OSSIM_EASTING_ERROR, OSSIM_ERROR, OSSIM_ERROR_STD_PARALLEL_1, OSSIM_FIRST_SECOND_ERROR, OSSIM_FIRST_STDP_ERROR, OSSIM_HEMISPHERE_ERROR, OSSIM_INVALID_FILE_ERROR, OSSIM_LAT_ERROR, OSSIM_LON_ERROR, OSSIM_NORTHING_ERROR, OSSIM_OK, OSSIM_OPEN_FILE_ERROR, OSSIM_ORIENTATION_ERROR, OSSIM_ORIGIN_LAT_ERROR, OSSIM_ORIGIN_LON_ERROR, OSSIM_RADIUS_ERROR, OSSIM_SCALE_FACTOR_ERROR, OSSIM_SEC_STDP_ERROR, OSSIM_WARNING, OSSIM_WRITE_FILE_ERROR, OSSIM_ZONE_ERROR, and OSSIM_ZONE_OVERRIDE_ERROR.
Referenced by ossimErrorStatusInterface::getErrorStatusString().
|
static |
Returns a pointer to "theInstance".
Definition at line 69 of file ossimErrorCodes.cpp.
References ossimErrorCodes(), and theInstance.
Referenced by ossimErrorStatusInterface::getErrorStatusString().
|
protected |
Definition at line 55 of file ossimErrorCodes.cpp.
|
static |
Definition at line 60 of file ossimErrorCodes.h.
Referenced by getErrorString().
|
static |
Definition at line 62 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 61 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 59 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 67 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 53 of file ossimErrorCodes.h.
Referenced by ossimImageData::computeAlphaChannel(), ossimImageData::computeAverageBandValue(), ossimImageData::computeMeanSquaredError(), ossimFfL5::convertGeoPoint(), ossimFfL7::convertGeoPoint(), ossimS16ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyNormalizedBufferToTile(), ossimU13ImageData::copyNormalizedBufferToTile(), ossimU14ImageData::copyNormalizedBufferToTile(), ossimU15ImageData::copyNormalizedBufferToTile(), ossimU16ImageData::copyNormalizedBufferToTile(), ossimU8ImageData::copyNormalizedBufferToTile(), ossimS16ImageData::copyTileToNormalizedBuffer(), ossimU11ImageData::copyTileToNormalizedBuffer(), ossimU12ImageData::copyTileToNormalizedBuffer(), ossimU13ImageData::copyTileToNormalizedBuffer(), ossimU14ImageData::copyTileToNormalizedBuffer(), ossimU15ImageData::copyTileToNormalizedBuffer(), ossimU8ImageData::copyTileToNormalizedBuffer(), ossimU16ImageData::copyTileToNormalizedBuffer(), ossimImageData::createTestTile(), ossimImageData::fill(), ossimAdrgTileSource::fillBuffer(), ossimCcfTileSource::fillBuffer(), ossimTilePatch::fillTile(), ossimGeoPdfReader::fillTile(), ossimCcfTileSource::fillUcharBuffer(), ossimCcfTileSource::fillUshortBuffer(), for(), getErrorCode(), getErrorString(), ossimHistogramThreshholdFilter::getTile(), ossimMultiBandHistogramTileSource::getTile(), ossimBandAverageFilter::getTile(), ossimKmlSuperOverlayReader::getTopLevelKmlFileInfo(), ossimImageData::loadBand(), ossimImageData::loadBandTemplate(), ossimImageData::loadShortBand(), ossimCastTileSourceFilter::loadState(), ossimElevImageSource::loadState(), ossimRangeDomeTileSource::loadState(), ossimImageData::loadTile(), ossimImageData::loadTileFromBil(), ossimImageData::loadTileFromBilTemplate(), ossimImageData::loadTileFromBip(), ossimImageData::loadTileFromBipAlpha(), ossimImageData::loadTileFromBipAlphaTemplate(), ossimImageData::loadTileFromBipTemplate(), ossimImageData::loadTileFromBsq(), ossimImageData::loadTileFromBsqTemplate(), ossimImageData::loadTileWithAlpha(), ossimImageData::makeBlank(), ossimImageData::nullTileAlpha(), ossimImageData::nullTileAlphaTemplate(), ossimVpfDatabaseHeader::open(), ossimERSTileSource::open(), ossimSrtmHandler::open(), ossimDtedHandler::open(), ossimJpegTileSource::open(), ossimTiffWriter::openTiff(), ossimAffineProjection::ossimAffineProjection(), ossimCcfHead::ossimCcfHead(), ossimDtedAcc::ossimDtedAcc(), ossimDtedDsi::ossimDtedDsi(), ossimDtedHdr::ossimDtedHdr(), ossimDtedUhl::ossimDtedUhl(), ossimDtedVol::ossimDtedVol(), ossimERS::ossimERS(), ossimERSTileSource::ossimERSTileSource(), ossimFfL7::ossimFfL7(), ossimGeneralRasterElevHandler::ossimGeneralRasterElevHandler(), ossimJpegTileSource::ossimJpegTileSource(), ossimKeywordlist::ossimKeywordlist(), ossimWarpProjection::ossimWarpProjection(), ossimDtedVol::parse(), ossimDtedHdr::parse(), ossimDtedAcc::parse(), ossimDtedUhl::parse(), ossimDtedDsi::parse(), ossimCcfHead::parseCcfHeader(), ossimERS::parseError(), ossimRpfFrameFileReader::parseFile(), ossimRpfCompressionLookupOffsetRecord::parseStream(), ossimRpfColorConverterOffsetRecord::parseStream(), ossimRpfColorGrayscaleOffsetRecord::parseStream(), ossimRpfCompressionSectionSubheader::parseStream(), ossimRpfAttributeOffsetRecord::parseStream(), ossimRpfColorConverterTable::parseStream(), ossimRpfColorGrayscaleSubheader::parseStream(), ossimRpfMaskSubheader::parseStream(), ossimRpfColorGrayscaleTable::parseStream(), ossimRpfColorConverterSubsection::parseStream(), ossimRpfImageDisplayParameterSubheader::parseStream(), ossimRpfAttributeSectionSubheader::parseStream(), ossimRpfMaskSubsection::parseStream(), ossimRpfImageDescriptionSubheader::parseStream(), ossimRpfCompressionSection::parseStream(), ossimRpfFrameFileIndexRecord::parseStream(), ossimRpfCoverageSection::parseStream(), ossimRpfPathnameRecord::parseStream(), ossimRpfFrameFileIndexSectionSubheader::parseStream(), ossimRpfBoundaryRectRecord::parseStream(), ossimRpfBoundaryRectSectionSubheader::parseStream(), ossimRpfBoundaryRectTable::parseStream(), ossimRpfFrameFileIndexSubsection::parseStream(), ossimRpfReplaceUpdateRecord::parseStream(), ossimRpfComponentLocationRecord::parseStream(), ossimRpfReplaceUpdateSectionSubheader::parseStream(), ossimRpfFrame::populateColorGrayscaleSection(), ossimRpfFrame::populateMasks(), ossimRpfFrame::populateReplaceUpdateTable(), ossimFfL7::readAdminRecord(), ossimFfL7::readGeomRecord(), ossimFfL5::readHeaderRevB(), ossimFfL7::readRadiomRecord(), ossimElevImageSource::saveState(), ossimRangeDomeTileSource::saveState(), ossimPointCloudImageHandler::saveState(), ossimImageHandler::saveState(), ossimErrorStatusInterface::setErrorStatus(), ossimGeneralRasterElevHandler::setFilename(), ossimImageData::stretchMinMax(), ossimImageData::unloadBand(), ossimImageData::unloadBandToBsq(), ossimImageData::unloadTile(), ossimImageData::unloadTileToBil(), ossimImageData::unloadTileToBip(), ossimImageData::unloadTileToBipAlpha(), ossimImageData::unloadTileToBsq(), ossimplugins::ossimFormosatModel::updateModel(), ossimTiffWriter::writeTiffTags(), and ossimKmlSuperOverlayWriter::zipWithMinizip().
|
static |
Definition at line 54 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 77 of file ossimErrorCodes.h.
Referenced by getErrorCode().
|
static |
Definition at line 65 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 63 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 66 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 74 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 55 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 56 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 51 of file ossimErrorCodes.h.
Referenced by getErrorCode().
|
static |
Definition at line 57 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 50 of file ossimErrorCodes.h.
Referenced by ossimErrorStatusInterface::clearErrorStatus(), ossimERS::clearFields(), ossimFfL5::convertGeoPoint(), ossimFfL7::convertGeoPoint(), ossimChipProcTool::execute(), ossimRpfCacheTileSource::fillTile(), ossimCibCadrgTileSource::fillTile(), getErrorCode(), getErrorString(), ossimRpfHeader::getNewAttributeSectionSubheader(), ossimRpfHeader::getNewBoundaryRectSectSubheader(), ossimRpfHeader::getNewBoundaryRectTable(), ossimRpfHeader::getNewColorGrayscaleSubheader(), ossimRpfHeader::getNewCompressionSection(), ossimRpfHeader::getNewCompressionSectionSubheader(), ossimRpfHeader::getNewFileIndexSubsection(), ossimRpfHeader::getNewFrameFileIndexSectionSubheader(), ossimRpfHeader::getNewImageDescriptionSubheader(), ossimRpfHeader::getNewImageDisplayParameterSubheader(), ossimRpfHeader::getNewMaskSubsection(), ossimDtedInfo::getProperty(), ossimErrorStatusInterface::hasError(), ossimSpot5Model::initFromMetadata(), ossimplugins::ossimFormosatModel::initFromMetadata(), ossimImageHandler::initVertices(), ossimDemUtil::isUsgsDem(), ossimSpot5Model::loadState(), ossimplugins::ossimFormosatModel::loadState(), ossimplugins::ossimFormosatModel::loadSupportData(), ossimQuickbirdRpcHeader::open(), ossimVpfDatabaseHeader::open(), ossimDtedInfo::open(), ossimNitfTileSource::open(), ossimplugins::ossimFormosatModel::ossimFormosatModel(), ossimGeoidEgm96::ossimGeoidEgm96(), ossimRpfFrameFileReader::parseFile(), ossimERS::parseHeader(), ossimRpfCompressionLookupOffsetRecord::parseStream(), ossimRpfColorConverterOffsetRecord::parseStream(), ossimRpfColorGrayscaleOffsetRecord::parseStream(), ossimRpfCompressionSectionSubheader::parseStream(), ossimRpfAttributeOffsetRecord::parseStream(), ossimRpfColorConverterTable::parseStream(), ossimRpfColorGrayscaleSubheader::parseStream(), ossimRpfMaskSubheader::parseStream(), ossimRpfColorGrayscaleTable::parseStream(), ossimRpfColorConverterSubsection::parseStream(), ossimRpfImageDisplayParameterSubheader::parseStream(), ossimRpfAttributeSectionSubheader::parseStream(), ossimRpfMaskSubsection::parseStream(), ossimRpfImageDescriptionSubheader::parseStream(), ossimRpfTocEntry::parseStream(), ossimRpfCompressionSection::parseStream(), ossimRpfCoverageSection::parseStream(), ossimRpfFrameFileIndexRecord::parseStream(), ossimRpfPathnameRecord::parseStream(), ossimRpfBoundaryRectRecord::parseStream(), ossimRpfBoundaryRectSectionSubheader::parseStream(), ossimRpfBoundaryRectTable::parseStream(), ossimRpfFrameFileIndexSubsection::parseStream(), ossimRpfReplaceUpdateRecord::parseStream(), ossimRpfComponentLocationRecord::parseStream(), ossimRpfLocationSection::parseStream(), ossimRpfFrame::populateColorGrayscaleSection(), ossimRpfFrame::populateCompressionSection(), ossimRpfFrame::populateCoverageSection(), ossimRpfFrame::populateImageSection(), ossimRpfCacheTileSource::populateLut(), ossimCibCadrgTileSource::populateLut(), ossimRpfFrame::populateMasks(), ossimRpfFrame::populateReplaceUpdateTable(), ossimNitfFile::print(), ossimDtedInfo::print(), ossimFfL7::readAdminRecord(), ossimFfL7::readGeomRecord(), ossimFfL5::readHeaderRevB(), ossimOverviewBuilderBase::setInputSource(), ossimTiffWriter::setProjectionInfo(), ossimCibCadrgTileSource::updatePropertiesToFirstValidFrame(), ossimGeneralRasterWriter::writeFile(), ossimJpegWriter::writeFile(), ossimKmlSuperOverlayWriter::writeFile(), ossimKakaduJp2Writer::writeFile(), ossimKakaduNitfWriter::writeFile(), ossimWriter::writeFile(), ossimPngWriter::writeFile(), and ossimGeneralRasterWriter::writeStream().
|
static |
Definition at line 75 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 70 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 58 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 69 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 68 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 71 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 64 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 52 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 76 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 72 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
static |
Definition at line 73 of file ossimErrorCodes.h.
Referenced by getErrorCode(), and getErrorString().
|
staticprotected |
Definition at line 85 of file ossimErrorCodes.h.
Referenced by instance(), and ~ossimErrorCodes().