/usr/include/ossim/base/ossimWebResponse.h is in libossim-dev 1.8.16-3+b1.
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 | #ifndef ossimWebResponse_HEADER
#define ossimWebResponse_HEADER
#include <ossim/base/ossimObject.h>
#include <iostream>
#include <vector>
class OSSIM_DLL ossimWebResponse : public ossimObject
{
public:
typedef std::vector<char> ByteBuffer;
ossimWebResponse():ossimObject(){}
/**
* This might have to change in the future if we start doing other protocols
* such as ftp scp, ... etc.
*
* We currently will return the main input stream that can be used to read the
* bytes returned from the request. If you need access to say a header stream
* from an http protocol then you can dynamic_cast to an ossimHttpResponse.
*/
virtual std::istream* getInputStream()=0;
void copyAllDataFromInputStream(ByteBuffer& buffer);
TYPE_DATA;
};
#endif
|