/usr/include/ossim/base/ossimViewInterface.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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks)
//
//*************************************************************************
// $Id: ossimViewInterface.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimViewInterface_HEADER
#define ossimViewInterface_HEADER
#include <ossim/base/ossimRtti.h>
class ossimObject;
class OSSIMDLLEXPORT ossimViewInterface
{
public:
ossimViewInterface();
ossimViewInterface(ossimObject* base);
virtual ~ossimViewInterface();
/*!
* The derived classes should overrid this method and
* return true or false whether it was able to cast the
* past in view to a view that it can interface to.
* So if you are a projective view you might
* cast to an ossimProjection. The ownsTheView specifies
* whether or not it owns the passed in view pointer.
* This will specifiy whether or not the derived classes
* need to re-allocate the pointer or just delete its old
* pointer and set it to the passed in pointer.
*/
virtual bool setView(ossimObject* baseObject)=0;
virtual ossimObject* getView()=0;
virtual const ossimObject* getView()const=0;
virtual void refreshView();
ossimObject* getBaseObject();
protected:
ossimObject* theObject;
TYPE_DATA
};
#endif
|