/usr/include/ossim/elevation/ossimElevSourceFactory.h is in libossim-dev 1.7.21-4.
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 | //----------------------------------------------------------------------------
// FILE: ossimElevSourceFactory.cc
//
// Copyright (C) 2002 ImageLinks, Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: David Burken
//
// Description:
//
// Class declaration for ossimElevSourceFactory.
//
// This is the base class interface for elevation source factories which main
// function is to return an elevation source that covers the ground point
// passed to the "getElevSource" method.
//
// Note the caller of "getElevSource" is responsible for managing the memory
// new'd from the method.
//
//----------------------------------------------------------------------------
// $Id: ossimElevSourceFactory.h 13269 2008-07-25 14:27:36Z dburken $
#ifndef ossimElevSourceFactory_HEADER
#define ossimElevSourceFactory_HEADER
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimFilename.h>
class ossimElevSource;
class ossimGpt;
/*!****************************************************************************
* CLASS: ossimElevSourceFactory
*
*****************************************************************************/
class OSSIM_DLL ossimElevSourceFactory : public ossimObject
{
public:
/** default constructor */
ossimElevSourceFactory();
/** virtual destructor */
virtual ~ossimElevSourceFactory();
/**
* Pure virtual method.
* return an elevation source pointer that has elevation coverage for the
* ground point passed in.
* Note the caller of this method is responsible for managing the memory
* allocated.
*/
virtual ossimElevSource* getNewElevSource(const ossimGpt& gpt)const=0;
/**
* @return The directory the factory returns data from.
*/
virtual ossimFilename getDirectory() const;
/**
* @param directory The directory to return data from.
*/
virtual void setDirectory(const ossimFilename& directory);
protected:
ossimFilename theDirectory;
TYPE_DATA
};
#endif /* End of "#ifndef ossimElevSourceFactory_HEADER" */
|