83 str = str.
upcase(error_string);
85 if (str ==
"OSSIM_OK")
89 else if (str ==
"OSSIM_NO_ERROR")
93 else if (str ==
"OSSIM_WARNING")
97 else if (str ==
"OSSIM_ERROR")
101 else if (str ==
"OSSIM_ERROR_STD_PARALLEL_1")
105 else if (str ==
"OSSIM_LAT_ERROR")
109 else if (str ==
"OSSIM_LON_ERROR")
113 else if (str ==
"OSSIM_NORTHING_ERROR")
117 else if (str ==
"OSSIM_ORIGIN_LAT_ERROR")
121 else if (str ==
"OSSIM_CENT_MER_ERROR")
125 else if (str ==
"OSSIM_A_ERROR")
129 else if (str ==
"OSSIM_A_LESS_B_ERROR")
133 else if (str ==
"OSSIM_FIRST_STDP_ERROR")
137 else if (str ==
"OSSIM_SEC_STDP_ERROR")
141 else if (str ==
"OSSIM_FIRST_SECOND_ERROR")
145 else if (str ==
"OSSIM_HEMISPHERE_ERROR")
149 else if (str ==
"OSSIM_EASTING_ERROR")
153 else if (str ==
"OSSIM_RADIUS_ERROR")
157 else if (str ==
"OSSIM_ORIGIN_LON_ERROR")
161 else if (str ==
"OSSIM_ORIENTATION_ERROR")
165 else if (str ==
"OSSIM_SCALE_FACTOR_ERROR")
169 else if (str ==
"OSSIM_ZONE_ERROR")
173 else if (str ==
"OSSIM_ZONE_OVERRIDE_ERROR")
177 else if (str ==
"OSSIM_INVALID_FILE_ERROR")
181 else if (str ==
"OSSIM_OPEN_FILE_ERROR")
185 else if (str ==
"OSSIM_WRITE_FILE_ERROR")
ossimErrorCode getErrorCode(const ossimString &error_string) const
ossim_int32 ossimErrorCode
static const ossimErrorCode OSSIM_RADIUS_ERROR
static ossimString upcase(const ossimString &aString)
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_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
ossimString getErrorString(ossimErrorCode error_code) const
static const ossimErrorCode OSSIM_ZONE_ERROR
const ossimErrorCodes & operator=(const ossimErrorCodes &rhs)
static const ossimErrorCode OSSIM_SCALE_FACTOR_ERROR
static ossimErrorCodes * instance()
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 ossimErrorCodes * theInstance
static const ossimErrorCode OSSIM_ORIENTATION_ERROR
static const ossimErrorCode OSSIM_ZONE_OVERRIDE_ERROR