OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
ossimErrorCodes Class Reference

#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 ossimErrorCodesinstance ()
 

Static Public Attributes

static const ossimErrorCode OSSIM_OK = 0
 
static const ossimErrorCode OSSIM_NO_ERROR = 0
 
static const ossimErrorCode OSSIM_WARNING = -1
 
static const ossimErrorCode OSSIM_ERROR = 1
 
static const ossimErrorCode OSSIM_ERROR_STD_PARALLEL_1 = 2
 
static const ossimErrorCode OSSIM_LAT_ERROR = 3
 
static const ossimErrorCode OSSIM_LON_ERROR = 4
 
static const ossimErrorCode OSSIM_NORTHING_ERROR = 5
 
static const ossimErrorCode OSSIM_ORIGIN_LAT_ERROR = 6
 
static const ossimErrorCode OSSIM_CENT_MER_ERROR = 7
 
static const ossimErrorCode OSSIM_A_ERROR = 8
 
static const ossimErrorCode OSSIM_B_ERROR = 9
 
static const ossimErrorCode OSSIM_A_LESS_B_ERROR = 10
 
static const ossimErrorCode OSSIM_FIRST_STDP_ERROR = 11
 
static const ossimErrorCode OSSIM_SEC_STDP_ERROR = 12
 
static const ossimErrorCode OSSIM_FIRST_SECOND_ERROR = 13
 
static const ossimErrorCode OSSIM_HEMISPHERE_ERROR = 14
 
static const ossimErrorCode OSSIM_EASTING_ERROR = 15
 
static const ossimErrorCode OSSIM_RADIUS_ERROR = 16
 
static const ossimErrorCode OSSIM_ORIGIN_LON_ERROR = 17
 
static const ossimErrorCode OSSIM_ORIENTATION_ERROR = 18
 
static const ossimErrorCode OSSIM_SCALE_FACTOR_ERROR = 19
 
static const ossimErrorCode OSSIM_ZONE_ERROR = 20
 
static const ossimErrorCode OSSIM_ZONE_OVERRIDE_ERROR = 21
 
static const ossimErrorCode OSSIM_INVALID_FILE_ERROR = 22
 
static const ossimErrorCode OSSIM_OPEN_FILE_ERROR = 23
 
static const ossimErrorCode OSSIM_WRITE_FILE_ERROR = 24
 
static const ossimErrorCode OSSIM_ERROR_UNKNOWN = OSSIM_INT_NAN
 

Protected Member Functions

 ossimErrorCodes ()
 
 ossimErrorCodes (const ossimErrorCodes &rhs)
 
const ossimErrorCodesoperator= (const ossimErrorCodes &rhs)
 

Static Protected Attributes

static ossimErrorCodestheInstance = NULL
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ossimErrorCodes()

ossimErrorCodes::~ossimErrorCodes ( )

Definition at line 60 of file ossimErrorCodes.cpp.

References theInstance.

61 {
62  if (theInstance)
63  {
64  delete theInstance;
65  theInstance = NULL;
66  }
67 }
static ossimErrorCodes * theInstance

◆ ossimErrorCodes() [1/2]

ossimErrorCodes::ossimErrorCodes ( )
protected

Definition at line 47 of file ossimErrorCodes.cpp.

Referenced by instance().

48 {
49 }

◆ ossimErrorCodes() [2/2]

ossimErrorCodes::ossimErrorCodes ( const ossimErrorCodes rhs)
protected

Definition at line 51 of file ossimErrorCodes.cpp.

52 {
53 }

Member Function Documentation

◆ getErrorCode()

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().

80 {
81  // Upcase...
82  ossimString str;
83  str = str.upcase(error_string);
84 
85  if (str == "OSSIM_OK")
86  {
88  }
89  else if (str == "OSSIM_NO_ERROR")
90  {
92  }
93  else if (str == "OSSIM_WARNING")
94  {
96  }
97  else if (str == "OSSIM_ERROR")
98  {
100  }
101  else if (str == "OSSIM_ERROR_STD_PARALLEL_1")
102  {
104  }
105  else if (str == "OSSIM_LAT_ERROR")
106  {
108  }
109  else if (str == "OSSIM_LON_ERROR")
110  {
112  }
113  else if (str == "OSSIM_NORTHING_ERROR")
114  {
116  }
117  else if (str == "OSSIM_ORIGIN_LAT_ERROR")
118  {
120  }
121  else if (str == "OSSIM_CENT_MER_ERROR")
122  {
124  }
125  else if (str == "OSSIM_A_ERROR")
126  {
128  }
129  else if (str == "OSSIM_A_LESS_B_ERROR")
130  {
132  }
133  else if (str == "OSSIM_FIRST_STDP_ERROR")
134  {
136  }
137  else if (str == "OSSIM_SEC_STDP_ERROR")
138  {
140  }
141  else if (str == "OSSIM_FIRST_SECOND_ERROR")
142  {
144  }
145  else if (str == "OSSIM_HEMISPHERE_ERROR")
146  {
148  }
149  else if (str == "OSSIM_EASTING_ERROR")
150  {
152  }
153  else if (str == "OSSIM_RADIUS_ERROR")
154  {
156  }
157  else if (str == "OSSIM_ORIGIN_LON_ERROR")
158  {
160  }
161  else if (str == "OSSIM_ORIENTATION_ERROR")
162  {
164  }
165  else if (str == "OSSIM_SCALE_FACTOR_ERROR")
166  {
168  }
169  else if (str == "OSSIM_ZONE_ERROR")
170  {
172  }
173  else if (str == "OSSIM_ZONE_OVERRIDE_ERROR")
174  {
176  }
177  else if (str == "OSSIM_INVALID_FILE_ERROR")
178  {
180  }
181  else if (str == "OSSIM_OPEN_FILE_ERROR")
182  {
184  }
185  else if (str == "OSSIM_WRITE_FILE_ERROR")
186  {
188  }
189 
190  return OSSIM_ERROR_UNKNOWN;
191 }
static const ossimErrorCode OSSIM_RADIUS_ERROR
static ossimString upcase(const ossimString &aString)
Definition: ossimString.cpp:34
static const ossimErrorCode OSSIM_ORIGIN_LAT_ERROR
static const ossimErrorCode OSSIM_OK
static const ossimErrorCode OSSIM_ERROR_STD_PARALLEL_1
static const ossimErrorCode OSSIM_SEC_STDP_ERROR
static const ossimErrorCode OSSIM_ERROR
static const ossimErrorCode OSSIM_HEMISPHERE_ERROR
static const ossimErrorCode OSSIM_EASTING_ERROR
static const ossimErrorCode OSSIM_FIRST_SECOND_ERROR
static const ossimErrorCode OSSIM_B_ERROR
static const ossimErrorCode OSSIM_NO_ERROR
static const ossimErrorCode OSSIM_LON_ERROR
static const ossimErrorCode OSSIM_LAT_ERROR
static const ossimErrorCode OSSIM_NORTHING_ERROR
static const ossimErrorCode OSSIM_WARNING
static const ossimErrorCode OSSIM_CENT_MER_ERROR
static const ossimErrorCode OSSIM_INVALID_FILE_ERROR
static const ossimErrorCode OSSIM_FIRST_STDP_ERROR
static const ossimErrorCode OSSIM_ZONE_ERROR
static const ossimErrorCode OSSIM_SCALE_FACTOR_ERROR
static const ossimErrorCode OSSIM_ERROR_UNKNOWN
static const ossimErrorCode OSSIM_ORIGIN_LON_ERROR
static const ossimErrorCode OSSIM_WRITE_FILE_ERROR
static const ossimErrorCode OSSIM_OPEN_FILE_ERROR
static const ossimErrorCode OSSIM_A_LESS_B_ERROR
static const ossimErrorCode OSSIM_ORIENTATION_ERROR
static const ossimErrorCode OSSIM_ZONE_OVERRIDE_ERROR

◆ getErrorString()

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().

194 {
195  if(error_code == OSSIM_OK)
196  {
197  // No difference between OSSIM_NO_ERROR and OSSIM_OK.
198  return ossimString("OSSIM_OK");
199  }
200  if(error_code == OSSIM_WARNING)
201  {
202  return ossimString("OSSIM_WARNING");
203  }
204  if(error_code == OSSIM_ERROR)
205  {
206  return ossimString("OSSIM_ERROR");
207  }
208  if(error_code == OSSIM_ERROR_STD_PARALLEL_1)
209  {
210  return ossimString("OSSIM_ERROR_STD_PARALLEL_1");
211  }
212  if(error_code == OSSIM_LAT_ERROR)
213  {
214  return ossimString("OSSIM_LAT_ERROR");
215  }
216  if(error_code == OSSIM_LON_ERROR)
217  {
218  return ossimString("OSSIM_LON_ERROR");
219  }
220  if(error_code == OSSIM_NORTHING_ERROR)
221  {
222  return ossimString("OSSIM_NORTHING_ERROR");
223  }
224  if(error_code == OSSIM_ORIGIN_LAT_ERROR)
225  {
226  return ossimString("OSSIM_ORIGIN_LAT_ERROR");
227  }
228  if(error_code == OSSIM_CENT_MER_ERROR)
229  {
230  return ossimString("OSSIM_CENT_MER_ERROR");
231  }
232  if(error_code == OSSIM_A_ERROR)
233  {
234  return ossimString("OSSIM_A_ERROR");
235  }
236  if(error_code == OSSIM_B_ERROR)
237  {
238  return ossimString("OSSIM_B_ERROR");
239  }
240  if(error_code == OSSIM_A_LESS_B_ERROR)
241  {
242  return ossimString("OSSIM_A_LESS_B_ERROR");
243  }
244  if(error_code == OSSIM_FIRST_STDP_ERROR)
245  {
246  return ossimString("OSSIM_FIRST_STDP_ERROR");
247  }
248  if(error_code == OSSIM_SEC_STDP_ERROR)
249  {
250  return ossimString("OSSIM_SEC_STDP_ERROR");
251  }
252  if(error_code == OSSIM_FIRST_SECOND_ERROR)
253  {
254  return ossimString("OSSIM_FIRST_SECOND_ERROR");
255  }
256  if(error_code == OSSIM_HEMISPHERE_ERROR)
257  {
258  return ossimString("OSSIM_HEMISPHERE_ERROR");
259  }
260  if(error_code == OSSIM_EASTING_ERROR)
261  {
262  return ossimString("OSSIM_EASTING_ERROR");
263  }
264  if(error_code == OSSIM_RADIUS_ERROR)
265  {
266  return ossimString("OSSIM_RADIUS_ERROR");
267  }
268  if(error_code == OSSIM_ORIGIN_LON_ERROR)
269  {
270  return ossimString("OSSIM_ORIGIN_LON_ERROR");
271  }
272  if(error_code == OSSIM_ORIENTATION_ERROR)
273  {
274  return ossimString("OSSIM_ORIENTATION_ERROR");
275  }
276  if(error_code == OSSIM_SCALE_FACTOR_ERROR)
277  {
278  return ossimString("OSSIM_SCALE_FACTOR_ERROR");
279  }
280  if(error_code == OSSIM_ZONE_ERROR)
281  {
282  return ossimString("OSSIM_ZONE_ERROR");
283  }
284  if(error_code == OSSIM_ZONE_OVERRIDE_ERROR)
285  {
286  return ossimString("OSSIM_ZONE_OVERRIDE_ERROR");
287  }
288  if(error_code == OSSIM_INVALID_FILE_ERROR)
289  {
290  return ossimString("OSSIM_INVALID_FILE_ERROR");
291  }
292  if(error_code == OSSIM_OPEN_FILE_ERROR)
293  {
294  return ossimString("OSSIM_OPEN_FILE_ERROR");
295  }
296  if(error_code == OSSIM_WRITE_FILE_ERROR)
297  {
298  return ossimString("OSSIM_WRITE_FILE_ERROR");
299  }
300 
301  return ossimString("OSSIM_ERROR_UNKNOWN");
302 }
static const ossimErrorCode OSSIM_RADIUS_ERROR
static const ossimErrorCode OSSIM_ORIGIN_LAT_ERROR
static const ossimErrorCode OSSIM_OK
static const ossimErrorCode OSSIM_A_ERROR
static const ossimErrorCode OSSIM_ERROR_STD_PARALLEL_1
static const ossimErrorCode OSSIM_SEC_STDP_ERROR
static const ossimErrorCode OSSIM_ERROR
static const ossimErrorCode OSSIM_HEMISPHERE_ERROR
static const ossimErrorCode OSSIM_EASTING_ERROR
static const ossimErrorCode OSSIM_FIRST_SECOND_ERROR
static const ossimErrorCode OSSIM_B_ERROR
static const ossimErrorCode OSSIM_LON_ERROR
static const ossimErrorCode OSSIM_LAT_ERROR
static const ossimErrorCode OSSIM_NORTHING_ERROR
static const ossimErrorCode OSSIM_WARNING
static const ossimErrorCode OSSIM_CENT_MER_ERROR
static const ossimErrorCode OSSIM_INVALID_FILE_ERROR
static const ossimErrorCode OSSIM_FIRST_STDP_ERROR
static const ossimErrorCode OSSIM_ZONE_ERROR
static const ossimErrorCode OSSIM_SCALE_FACTOR_ERROR
static const ossimErrorCode OSSIM_ORIGIN_LON_ERROR
static const ossimErrorCode OSSIM_WRITE_FILE_ERROR
static const ossimErrorCode OSSIM_OPEN_FILE_ERROR
static const ossimErrorCode OSSIM_A_LESS_B_ERROR
static const ossimErrorCode OSSIM_ORIENTATION_ERROR
static const ossimErrorCode OSSIM_ZONE_OVERRIDE_ERROR

◆ instance()

ossimErrorCodes * ossimErrorCodes::instance ( )
static

Returns a pointer to "theInstance".

Definition at line 69 of file ossimErrorCodes.cpp.

References ossimErrorCodes(), and theInstance.

Referenced by ossimErrorStatusInterface::getErrorStatusString().

70 {
71  if (!theInstance)
72  {
74  }
75 
76  return theInstance;
77 }
static ossimErrorCodes * theInstance

◆ operator=()

const ossimErrorCodes & ossimErrorCodes::operator= ( const ossimErrorCodes rhs)
protected

Definition at line 55 of file ossimErrorCodes.cpp.

56 {
57  return *this;
58 }

Member Data Documentation

◆ OSSIM_A_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_A_ERROR = 8
static

Definition at line 60 of file ossimErrorCodes.h.

Referenced by getErrorString().

◆ OSSIM_A_LESS_B_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_A_LESS_B_ERROR = 10
static

Definition at line 62 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_B_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_B_ERROR = 9
static

Definition at line 61 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_CENT_MER_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_CENT_MER_ERROR = 7
static

Definition at line 59 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_EASTING_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_EASTING_ERROR = 15
static

Definition at line 67 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_ERROR = 1
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().

◆ OSSIM_ERROR_STD_PARALLEL_1

const ossimErrorCode ossimErrorCodes::OSSIM_ERROR_STD_PARALLEL_1 = 2
static

Definition at line 54 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ERROR_UNKNOWN

const ossimErrorCode ossimErrorCodes::OSSIM_ERROR_UNKNOWN = OSSIM_INT_NAN
static

Definition at line 77 of file ossimErrorCodes.h.

Referenced by getErrorCode().

◆ OSSIM_FIRST_SECOND_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_FIRST_SECOND_ERROR = 13
static

Definition at line 65 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_FIRST_STDP_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_FIRST_STDP_ERROR = 11
static

Definition at line 63 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_HEMISPHERE_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_HEMISPHERE_ERROR = 14
static

Definition at line 66 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_INVALID_FILE_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_INVALID_FILE_ERROR = 22
static

Definition at line 74 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_LAT_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_LAT_ERROR = 3
static

Definition at line 55 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_LON_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_LON_ERROR = 4
static

Definition at line 56 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_NO_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_NO_ERROR = 0
static

Definition at line 51 of file ossimErrorCodes.h.

Referenced by getErrorCode().

◆ OSSIM_NORTHING_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_NORTHING_ERROR = 5
static

Definition at line 57 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_OK

const ossimErrorCode ossimErrorCodes::OSSIM_OK = 0
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().

◆ OSSIM_OPEN_FILE_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_OPEN_FILE_ERROR = 23
static

Definition at line 75 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ORIENTATION_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_ORIENTATION_ERROR = 18
static

Definition at line 70 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ORIGIN_LAT_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_ORIGIN_LAT_ERROR = 6
static

Definition at line 58 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ORIGIN_LON_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_ORIGIN_LON_ERROR = 17
static

Definition at line 69 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_RADIUS_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_RADIUS_ERROR = 16
static

Definition at line 68 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_SCALE_FACTOR_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_SCALE_FACTOR_ERROR = 19
static

Definition at line 71 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_SEC_STDP_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_SEC_STDP_ERROR = 12
static

Definition at line 64 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_WARNING

const ossimErrorCode ossimErrorCodes::OSSIM_WARNING = -1
static

Definition at line 52 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_WRITE_FILE_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_WRITE_FILE_ERROR = 24
static

Definition at line 76 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ZONE_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_ZONE_ERROR = 20
static

Definition at line 72 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ OSSIM_ZONE_OVERRIDE_ERROR

const ossimErrorCode ossimErrorCodes::OSSIM_ZONE_OVERRIDE_ERROR = 21
static

Definition at line 73 of file ossimErrorCodes.h.

Referenced by getErrorCode(), and getErrorString().

◆ theInstance

ossimErrorCodes * ossimErrorCodes::theInstance = NULL
staticprotected

Definition at line 85 of file ossimErrorCodes.h.

Referenced by instance(), and ~ossimErrorCodes().


The documentation for this class was generated from the following files: