This file is indexed.

/usr/include/ossim/base/ossimRefreshEvent.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
// 
// Author: Garrett Potts 
// Description: A brief description of the contents of the file.
//
//
//*************************************************************************
// $Id: ossimRefreshEvent.h 19819 2011-07-14 17:28:48Z gpotts $
#ifndef ossimRefreshEvent_HEADER
#define ossimRefreshEvent_HEADER
#include <ossim/base/ossimEvent.h>
#include <ossim/base/ossimDpt.h>

class OSSIMDLLEXPORT ossimRefreshEvent : public ossimEvent
{
public:
   enum RefreshType
   {
      REFRESH_NONE      = 0,
      REFRESH_POSITION  = 1,
      REFRESH_PIXELS    = 2,
      REFRESH_GEOMETRY  = 4,
      REFRESH_ALL       = (REFRESH_POSITION|REFRESH_PIXELS|REFRESH_GEOMETRY)
   };
   enum PositionAnchor
   {
      ANCHOR_UPPER_LEFT = 1,
      ANCHOR_CENTER     = 2
   };
   ossimRefreshEvent(ossimObject* object=0)  // the object associated with the event if any
   :ossimEvent(object, OSSIM_EVENT_REFRESH_ID),
    m_refreshType(static_cast<RefreshType>(REFRESH_PIXELS|REFRESH_GEOMETRY)),
    m_anchor(ANCHOR_CENTER)
   {m_position.makeNan();}
   ossimRefreshEvent(RefreshType refreshType, ossimObject* object=0)
   :ossimEvent(object, OSSIM_EVENT_REFRESH_ID),
    m_refreshType(refreshType),
    m_anchor(ANCHOR_CENTER)

   {
      m_position.makeNan();
   }
   ossimRefreshEvent(const ossimRefreshEvent& src)
   :ossimEvent(src),
    m_refreshType(src.m_refreshType),
    m_position(src.m_position),
    m_anchor(src.m_anchor)
   {
   }
   virtual ossimObject* dup()const
   {
      return new ossimRefreshEvent(*this);
   }
 
   void setRefreshType(int refreshType, bool on=true);
   RefreshType getRefreshType()const{return m_refreshType;}
   
   void setPosition(const ossimDpt& position)
   {
      m_position = position;
      if(!m_position.hasNans())setRefreshType(REFRESH_POSITION);
   }
   
   const ossimDpt& getPosition()const{return m_position;}
   
                     
protected:
   RefreshType m_refreshType;
   ossimDpt    m_position;
   PositionAnchor m_anchor;
   TYPE_DATA
};

#endif