/usr/include/ossim/base/ossimViewInterface.h is in libossim-dev 1.7.21-3ubuntu2.
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 14789 2009-06-29 16:48:14Z dburken $
#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 fals 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, bool ownsTheView = false)=0;
virtual ossimObject* getView()=0;
virtual const ossimObject* getView()const=0;
virtual void refreshView();
ossimObject* getBaseObject();
protected:
ossimObject* theObject;
TYPE_DATA
};
#endif
|