This file is indexed.

/usr/include/ossim/base/ossimTDpt.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// ossimTDpt
// storage class for tie point (no height, no projection information)
// based on ossimDpt
// 
#ifndef ossimTDpt_HEADER
#define ossimTDpt_HEADER

#include <iostream>

#include <ossim/base/ossimDpt.h>

// Forward class declarations.
class ossimIpt;
class ossimFpt;
class ossimDpt3d;
class ossimGpt;

class OSSIMDLLEXPORT ossimTDpt : public ossimDpt
{
public:

   inline ossimTDpt() : ossimDpt(), tie(), score(0.0) {}

   inline ossimTDpt(const ossimDpt& aPt, const ossimDpt& aTie, const ossim_float64& aScore) : ossimDpt(aPt), tie(aTie), score(aScore) {}
         
   inline ossimTDpt(const ossimTDpt& tpt) : ossimDpt(tpt), tie(tpt.tie), score(tpt.score) {}

   const ossimTDpt& operator=(const ossimTDpt&);

   inline void            setMasterPoint(const ossimDpt& mPt) { ossimDpt::operator=(mPt); }
   inline const ossimDpt& getMasterPoint()const               { return *this; }
   inline       ossimDpt& refMasterPoint()                    { return *this; }

   inline void            setSlavePoint(const ossimDpt& sPt) { tie=sPt; }
   inline const ossimDpt& getSlavePoint()const               { return tie; }
   inline       ossimDpt& refSlavePoint()                    { return tie; }

   void makeNan() 
   {
      ossimDpt::makeNan();
      tie.makeNan();
      score=ossim::nan();
   }
   
   bool hasNans()const
   {
      return (ossimDpt::hasNans() || tie.hasNans() || (ossim::isnan(score)));
   }
   
   bool isNan()const
   {
      return (ossimDpt::isNan() && tie.isNan() && (ossim::isnan(score)));
   }

   std::ostream& print(std::ostream& os) const;
   std::ostream& printTab(std::ostream& os) const;

   friend OSSIMDLLEXPORT std::ostream& operator<<(std::ostream& os,
                                                  const ossimTDpt& pt);

   /**
    * Method to input the formatted string of the "operator<<".
    *
    * Expected format:  ( ( ossimDpt ), ( ossimDpt ), 0.50000000000000 )
    *                     --*this---- , ----tie-----, ---score--------
    * 
    */
   friend OSSIMDLLEXPORT std::istream& operator>>(std::istream& is,
                                                  ossimTDpt& pt);
   
   //***
   // Public data members:
   //***
   ossimDpt      tie;
   ossim_float64 score;
};

inline const ossimTDpt& ossimTDpt::operator=(const ossimTDpt& pt)
{
   if (this != &pt)
   {
      ossimDpt::operator=(pt);
      tie   = pt.tie;
      score = pt.score;
   }
   
   return *this;
}

#endif /* #ifndef ossimTDpt_HEADER */