This file is indexed.

/usr/include/ossim/base/ossimAdjustableParameterInfo.h is in libossim-dev 2.2.2-1.

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
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks.com)
//
//*************************************************************************
// $Id: ossimAdjustableParameterInfo.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimAdjustableParameterInfo_HEADER
#define ossimAdjustableParameterInfo_HEADER
#include <iostream>
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimKeywordlist.h>

class OSSIM_DLL ossimAdjustableParameterInfo
{
public:
   OSSIM_DLL friend std::ostream& operator <<(std::ostream& out, const ossimAdjustableParameterInfo& data);
   
   ossimAdjustableParameterInfo()
      : theParameter(0.0),
        theSigma(0.0),
	theCenter(0.0),
        theUnit(OSSIM_UNIT_UNKNOWN),
      theDescription(""),
      theLockFlag(false)
      {
      }
   ossimAdjustableParameterInfo(const ossimAdjustableParameterInfo& rhs)
      :theParameter(rhs.theParameter),
      theSigma(rhs.theSigma),
      theCenter(rhs.theCenter),
      theUnit(rhs.theUnit),
      theDescription(rhs.theDescription),
      theLockFlag(rhs.theLockFlag)
      {
      }
   double getParameter()const
      {
         return theParameter;
      }
   void setParameter(double parameter)
      {
         if(!theLockFlag)
         {
            theParameter = parameter;
         }
      }
   double getSigma()const
      {
         return theSigma;
      }
   void setSigma(double sigma)
      {
         if(!theLockFlag)
         {
            theSigma = sigma;
         }
      }
   const ossimString& getDescription()const
      {
         return theDescription;
      }
   
   void setDescription(const ossimString& description)
      {
         if(!theLockFlag)
         {
            theDescription = description;
         }
      }
   
   ossimUnitType getUnit()const
      {
         return theUnit;
      }
   void setUnit(ossimUnitType unit)
      {
         theUnit = unit;
      }
   ossimString getUnitAsString()const;

   void setCenter(double center);
   double getCenter()const;

   void setOffset(ossim_float64 value);
   
  /*!
   * will return theCenter + theSigma*theParameter
   */
   double computeOffset()const;

   void setLockFlag(bool flag)
   {
      theLockFlag = flag;
   }
   bool getLockFlag()const
   {
      return theLockFlag;
   }
   
   bool loadState(const ossimKeywordlist& kwl,
                  const ossimString& prefix=ossimString(""));
   
   bool saveState(ossimKeywordlist& kwl,
                  const ossimString& prefix=ossimString(""))const;
protected:
   double        theParameter;
   double        theSigma;
   double        theCenter;
   ossimUnitType theUnit;
   ossimString   theDescription;
   bool          theLockFlag;
};

#endif