This file is indexed.

/usr/include/ossim/base/ossimEllipsoidFactory.h is in libossim-dev 1.8.16-4ubuntu1.

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
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
// Thie file contains the ossimEllipsoidFactory.
//*******************************************************************
//  $Id: ossimEllipsoidFactory.h 19682 2011-05-31 14:21:20Z dburken $

#ifndef ossimEllipsoidFactory_HEADER
#define ossimEllipsoidFactory_HEADER

#include <ossim/base/ossimConstants.h>
#include <map>
#include <string>

class ossimEllipsoid;
class ossimString;
class ossimWgs84Ellipsoid;
class ossimWgs72Ellipsoid;

class OSSIMDLLEXPORT ossimEllipsoidFactory
{
public:
   virtual ~ossimEllipsoidFactory();
   const ossimEllipsoid* create(const ossimString &code)const;
   const ossimEllipsoid* wgs84()const{return theWgs84Ellipsoid;}
   const ossimEllipsoid* wgs72()const{return theWgs72Ellipsoid;}

   //! Given an alpha code (for example "WE" for WGS84), returns the corresponding EPSG code or 0
   //! if not found.
   ossim_uint32 findEpsgCode(const ossimString &alpha_code) const;

   static ossimEllipsoidFactory* instance();
   
private:
   typedef std::map<std::string, ossimEllipsoid*> TableType;
   typedef std::map<ossim_uint32, std::string> EpsgTableType;

   static ossimEllipsoidFactory*     theInstance;
   ossimEllipsoid*       theWgs84Ellipsoid;
   ossimEllipsoid*       theWgs72Ellipsoid;
   TableType             theEllipsoidTable;
   EpsgTableType         theEpsgTable;
   ossimEllipsoidFactory();
   void initializeTable();
   void deleteAll();
};

#endif