/usr/include/ossim/util/ossimToolFactory.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 | //**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//**************************************************************************************************
#ifndef ossimUtilityFactory_HEADER
#define ossimUtilityFactory_HEADER 1
#include <ossim/base/ossimString.h>
#include <ossim/util/ossimToolFactoryBase.h>
class ossimCoreUtility;
class ossimFilename;
class ossimKeywordlist;
class OSSIMDLLEXPORT ossimToolFactory : public ossimToolFactoryBase
{
public:
virtual ~ossimToolFactory();
static ossimToolFactory* instance();
virtual ossimTool* createTool(const std::string& typeName) const;
/*!
* This should return the type name of all objects in all factories.
* This is the name used to construct the objects dynamically and this name must be unique.
*/
virtual void getTypeNameList(std::vector<ossimString>& typeList) const;
/**
* Appends map with available utilities along with descriptions as <name, description> pairs.
* The names are the human-readable name of the utility/service, typically the utility's class
* name without the "ossim" prefix nor "Tool" suffix, all lowercase.
*/
virtual void getCapabilities(std::map<std::string, std::string>& capabilities) const;
virtual std::map<std::string, std::string> getCapabilities() const;
protected:
ossimToolFactory();
ossimToolFactory(const ossimToolFactory&){}
void operator = (const ossimToolFactory&){}
static ossimToolFactory* s_Instance;
};
#endif
|