/usr/include/ossim/base/ossimStreamFactoryRegistry.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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
//*******************************************************************
// $Id: ossimStreamFactoryRegistry.h 11176 2007-06-07 19:45:56Z dburken $
//
#ifndef ossimStreamFactoryRegistry_HEADER
#define ossimStreamFactoryRegistry_HEADER
#include <vector>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/base/ossimIoStream.h>
#include <ossim/base/ossimStreamFactoryBase.h>
class OSSIM_DLL ossimStreamFactoryRegistry : public ossimStreamFactoryBase
{
public:
static ossimStreamFactoryRegistry* instance();
virtual ~ossimStreamFactoryRegistry();
void registerFactory(ossimStreamFactoryBase* factory);
virtual ossimRefPtr<ossimIFStream> createNewIFStream(
const ossimFilename& file, std::ios_base::openmode openMode) const;
protected:
ossimStreamFactoryRegistry();
private:
/** @brief copy constructor hidden from use */
ossimStreamFactoryRegistry(const ossimStreamFactoryRegistry&);
std::vector<ossimStreamFactoryBase*> theFactoryList;
static ossimStreamFactoryRegistry* theInstance;
};
#endif
|