/usr/include/ossim/util/ossimEquationUtil.h is in libossim-dev 2.2.2-1.
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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Oscar Kramer
//
//*************************************************************************
// $Id: ossimEquationUtil.h 23408 2015-07-07 10:20:17Z okramer $
#ifndef ossimEquationUtil_HEADER
#define ossimEquationUtil_HEADER
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/base/ossimProcessInterface.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimArgumentParser.h>
#include <ossim/base/ossimApplicationUsage.h>
#include <ossim/imaging/ossimImageSource.h>
#include <ossim/imaging/ossimImageGeometry.h>
#include <vector>
class OSSIMDLLEXPORT ossimEquationUtil : public ossimObject,
public ossimProcessInterface,
public ossimListenerManager
{
public:
ossimEquationUtil(ossimArgumentParser& ap);
~ossimEquationUtil() {}
/**
* Returns true if successful
*/
virtual bool execute();
virtual ossimObject* getObject() { return this; }
virtual const ossimObject* getObject() const { return this; }
virtual ossimListenerManager* getManager() { return this; };
protected:
ossimEquationUtil() : m_argumentParser(0) {}
void addArguments(ossimArgumentParser& ap);
void outputTemplateKeywordlist(const ossimFilename &templateFilename);
bool parseKwl(const ossimFilename& kwl_file,
std::vector<ossimFilename>& inputs,
ossimString& equationSpec,
ossimFilename& output,
ossimString& writerType);
bool initInputSources(std::vector<ossimFilename>& fileList);
ossimArgumentParser* m_argumentParser;
ossimApplicationUsage m_usage;
ossimConnectableObject::ConnectableObjectList m_inputSources;
ossimRefPtr<ossimImageGeometry> m_prodGeometry;
};
#endif
|