/usr/include/ossim/base/ossimProtocolStream.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 | #ifndef ossimProtocolStream_HEADER
#define ossimProtocolStream_HEADER
#include <ossim/base/ossimStreamBase.h>
class ossimProtocolStream : public ossimStreamBase
{
public:
ossimProtocolStream(){}
ossimProtocolStream(std::streambuf* buf):ossimStreamBase(buf)
{
}
/**
* This is a generic interface to any stream for opening and closing
* If supported this could be an interface to not only file streams
* but also http, https, ftp, ... etc
*/
virtual void open(const char* protocolString,
int openMode=0)=0;
/**
* Closes the stream
*/
virtual void close()=0;
virtual bool is_open()const=0;
virtual bool isCompressed()const=0;
};
#endif
|