/usr/include/ossim/base/ossimEllipsoidFactory.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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
// Thie file contains the ossimEllipsoidFactory.
//*******************************************************************
// $Id: ossimEllipsoidFactory.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossimEllipsoidFactory_HEADER
#define ossimEllipsoidFactory_HEADER
#include <map>
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimString.h>
class ossimEllipsoid;
class ossimWgs84Ellipsoid;
class ossimWgs72Ellipsoid;
class OSSIMDLLEXPORT ossimEllipsoidFactory
{
public:
typedef std::map<ossimString, ossimEllipsoid*> TableType;
virtual ~ossimEllipsoidFactory();
const ossimEllipsoid* create(const ossimString &code)const;
const ossimEllipsoid* wgs84()const{return theWgs84Ellipsoid;}
const ossimEllipsoid* wgs72()const{return theWgs72Ellipsoid;}
static ossimEllipsoidFactory* instance();
private:
static ossimEllipsoidFactory* theInstance;
ossimEllipsoid* theWgs84Ellipsoid;
ossimEllipsoid* theWgs72Ellipsoid;
TableType theEllipsoidTable;
ossimEllipsoidFactory();
void initializeTable();
void deleteAll();
};
#endif
|