/usr/include/ossim/base/ossimDatumFactoryInterface.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 | //----------------------------------------------------------------------------
//
// License: See top level LICENSE.txt file
//
// Author: David Burken
//
// Description: Interface class for datum factories.
//
//----------------------------------------------------------------------------
// $Id$
#ifndef ossimDatumFactoryInterface_HEADER
#define ossimDatumFactoryInterface_HEADER
#include <ossim/base/ossimConstants.h> /* for OSSIM_DLL macro */
#include <vector>
// Forward class declarations:
class ossimString;
class ossimDatum;
class ossimKeywordlist;
class OSSIM_DLL ossimDatumFactoryInterface
{
public:
/** default constructor */
ossimDatumFactoryInterface(){}
/** virtual destructor */
virtual ~ossimDatumFactoryInterface(){}
/**
* Pure virtual create method.
*
* @return const pointer to a datum.
*/
virtual const ossimDatum* create(const ossimString& code) const = 0;
virtual const ossimDatum* create(const ossimKeywordlist& kwl, const char *prefix=0) const = 0;
/**
* Pure virtual getList method.
*
* @param list The list to add to.
*/
virtual void getList(std::vector<ossimString>& list) const = 0;
};
#endif /* #ifndef ossimDatumFactoryInterface_HEADER */
|