/usr/include/ossim/imaging/ossimStreamReaderInterface.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 | //----------------------------------------------------------------------------
// File: ossimStreamReaderInterface.h
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Description: Class interface ossimMetadataInterface.
//
// Has pure virtual "open" method that derived classes must
// implement to be concrete.
//
//----------------------------------------------------------------------------
// $Id$
#ifndef ossimStreamReaderInterface_HEADER
#define ossimStreamReaderInterface_HEADER 1
#include <ossim/base/ossimIosFwd.h>
#include <memory>
#include <string>
/** @class ossimStreamReaderInterface */
class ossimStreamReaderInterface
{
public:
/** @brief default constructor */
ossimStreamReaderInterface(){}
/** @brief virtual destructor. */
virtual ~ossimStreamReaderInterface(){}
/**
* @brief Pure virtual open method that takes a stream.
* @param str Open stream to image.
* @param connectionString
* @return true on success, false on error.
*/
virtual bool open( std::shared_ptr<ossim::istream>& str,
const std::string& connectionString ) = 0;
#if 0
virtual bool open( std::istream* str,
std::streamoff restartPosition,
bool youOwnIt ) = 0;
#endif
};
#endif /* #ifndef ossimStreamReaderInterface_HEADER */
|