/usr/include/ossim/base/ossimWebRequest.h is in libossim-dev 1.8.16-4ubuntu1.
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 | #ifndef ossimWebRequest_HEADER
#define ossimWebRequest_HEADER
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimUrl.h>
#include <ossim/base/ossimWebResponse.h>
class OSSIM_DLL ossimWebRequest : public ossimObject
{
public:
ossimWebRequest(){}
ossimWebRequest(const ossimUrl& url)
:m_url(url)
{}
const ossimUrl& getUrl()const{return m_url;}
virtual bool setUrl(const ossimUrl& url){m_url = url; return true;}
void clearLastError(){m_lastError = "";}
const ossimString getLastError(){return m_lastError;}
virtual ossimWebResponse* getResponse(){return 0;}
protected:
ossimUrl m_url;
mutable ossimString m_lastError;
TYPE_DATA;
};
#endif
|