This file is indexed.

/usr/include/ossim/base/ossimDoubleGridProperty.h is in libossim-dev 1.7.21-4.

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
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks.com)
//
//*************************************************************************
// $Id: ossimDoubleGridProperty.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimDoubleGridProperty_HEADER
#define ossimDoubleGridProperty_HEADER
#include <ossim/base/ossimProperty.h>

class OSSIMDLLEXPORT ossimDoubleGridProperty : public ossimProperty
{
public:
  ossimDoubleGridProperty(const ossimString& name = ossimString(""),
			  int numberOfRows = 0,
			  int numberOfCols = 0,
			  const std::vector<double>& values = std::vector<double>());
  ossimDoubleGridProperty(const ossimDoubleGridProperty& rhs);
  
  virtual ~ossimDoubleGridProperty();

  ossimObject* dup()const;

  virtual const ossimProperty& assign(const ossimProperty& rhs);

  virtual bool setValue(const ossimString& value);
  virtual void valueToString(ossimString& valueResult)const;

  void clearConstraints();
  /*!
   * Setting both values to -1 will say no constraints.
   * if min is constrained and max not then it will not allow
   * the cols to grow any larger than the passed in max.
   *
   * If the min is -1 and max not then it will not exceed the 
   * max number of cols
   */
  void setColConstraints(int minNumberOfCols,
			 int maxNumberOfCols);

  void setRowConstraints(int minNumberOfRows,
			 int maxNumberOfRows);
  
  void setContraints(int minNumberOfRows,
		     int maxNumberOfRows,
		     int minNumberOfCols,
		     int maxNumberOfCols);

  ossim_uint32 getNumberOfRows()const;
  ossim_uint32 getNumberOfCols()const;

  double getValue(ossim_uint32 row, ossim_uint32 col)const;
protected:
  int theMinNumberOfCols;
  int theMaxNumberOfCols;
  int theMinNumberOfRows;
  int theMaxNumberOfRows;
  std::vector< std::vector<double> > theValues;
    

TYPE_DATA
};
#endif