This file is indexed.

/usr/include/ossim/base/ossimErrorCodes.h is in libossim-dev 1.7.21-3ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author:  David Burken
// 
// Description:
// 
// Contains class declaration with common error codes and methods to go
// from code to string and string to code.
//
//*************************************************************************
// $Id: ossimErrorCodes.h 14789 2009-06-29 16:48:14Z dburken $

#ifndef ossimErrorCodes_HEADER
#define ossimErrorCodes_HEADER

#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimString.h>


/*!
 *  class ossimErrorCodes
 *  Contains class declaration with common error codes and methods to go
 *  from code to string and string to code.
 */
class OSSIMDLLEXPORT ossimErrorCodes
{
public:

   ~ossimErrorCodes();

   /*!
    *  Returns a pointer to "theInstance".
    */
   static ossimErrorCodes* instance();

   /*!
    *  Returns the error code from a string.  Returns OSSIM_ERROR_UNKNOWN if
    *  the string does not match.
    */
   ossimErrorCode getErrorCode(const ossimString& error_string) const;

   /*!
    *  Returns the string matching the error code.
    *  Returns "OSSIM_ERROR_UNKNOWN" if code is not valid.
    */
   ossimString getErrorString(ossimErrorCode error_code) const;
   
   static const ossimErrorCode OSSIM_OK;
   static const ossimErrorCode OSSIM_NO_ERROR;
   static const ossimErrorCode OSSIM_WARNING;
   static const ossimErrorCode OSSIM_ERROR;
   static const ossimErrorCode OSSIM_ERROR_STD_PARALLEL_1; 
   static const ossimErrorCode OSSIM_LAT_ERROR;
   static const ossimErrorCode OSSIM_LON_ERROR;
   static const ossimErrorCode OSSIM_NORTHING_ERROR;
   static const ossimErrorCode OSSIM_ORIGIN_LAT_ERROR;
   static const ossimErrorCode OSSIM_CENT_MER_ERROR;
   static const ossimErrorCode OSSIM_A_ERROR;
   static const ossimErrorCode OSSIM_B_ERROR;
   static const ossimErrorCode OSSIM_A_LESS_B_ERROR;
   static const ossimErrorCode OSSIM_FIRST_STDP_ERROR;
   static const ossimErrorCode OSSIM_SEC_STDP_ERROR;
   static const ossimErrorCode OSSIM_FIRST_SECOND_ERROR;
   static const ossimErrorCode OSSIM_HEMISPHERE_ERROR;
   static const ossimErrorCode OSSIM_EASTING_ERROR;
   static const ossimErrorCode OSSIM_RADIUS_ERROR;
   static const ossimErrorCode OSSIM_ORIGIN_LON_ERROR;
   static const ossimErrorCode OSSIM_ORIENTATION_ERROR;
   static const ossimErrorCode OSSIM_SCALE_FACTOR_ERROR;
   static const ossimErrorCode OSSIM_ZONE_ERROR;
   static const ossimErrorCode OSSIM_ZONE_OVERRIDE_ERROR;
   static const ossimErrorCode OSSIM_INVALID_FILE_ERROR;
   static const ossimErrorCode OSSIM_OPEN_FILE_ERROR;
   static const ossimErrorCode OSSIM_WRITE_FILE_ERROR;
   static const ossimErrorCode OSSIM_ERROR_UNKNOWN;
   
protected:
   // Only allow instantiation through the "instance()" method.
   ossimErrorCodes();
   ossimErrorCodes(const ossimErrorCodes& rhs);
   const ossimErrorCodes& operator=(const ossimErrorCodes &rhs);

   static ossimErrorCodes* theInstance;
};

#endif