This file is indexed.

/usr/include/ossim/imaging/ossimWorldFileWriter.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
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
//*******************************************************************
// Copyright (C) 2003 Storage Area Networks, Inc.
//
// License:  See top level LICENSE.txt file.
//
// Author:  Kenneth Melero (kmelero@sanz.com)
//
//*******************************************************************
//  $Id: ossimWorldFileWriter.h 9094 2006-06-13 19:12:40Z dburken $

#ifndef ossimWorldFileWriter_H
#define ossimWorldFileWriter_H

#include <ossim/imaging/ossimMetadataFileWriter.h>

/** ossimWorldFileWriter */
class OSSIMDLLEXPORT ossimWorldFileWriter : public ossimMetadataFileWriter
{
public:
   
   /** default constructor */
   ossimWorldFileWriter();

   /** default constructor */
   virtual ~ossimWorldFileWriter();

   /**
    * Load state method:
    *
    * This method call base class ossimMetadataFileWriter::loadState after
    * looking for its keywords.
    *
    * @param kwl Keyword list to initialize from.
    *
    * @param prefix Usually something like: "object1."
    *
    * @return This method will alway return true as it is intended to be
    * used in conjuction with the set methods.
    *
    * Keywords picked up by loadState:
    *
    * (linear units must be "feet", "us_survey_feet", or "meters")
    * (If projection is geographic units will always be decimal degrees.)
    * 
    * linear_units: us_survey_feet
    */
   virtual bool loadState(const ossimKeywordlist& kwl, const char* prefix=0);

   /**
    * Satisfies pure virtual from ossimMetadataWriter base.
    *
    * Appends the writers image types to the "metadatatypeList".
    * 
    * @param metadatatypeList stl::vector<ossimString> list to append to.
    *
    * @note Appends to the list, does not clear it first.
    */
   virtual void getMetadatatypeList(
      std::vector<ossimString>& metadatatypeList) const;

   /**
    * Satisfies pure virtual from ossimMetadataWriter base.
    *
    * @param imageType string representing image type.
    *
    * @return true if "metadataType" is supported by writer.
    */
   virtual bool hasMetadataType(const ossimString& metadataType)const;

   /**
    * Sets the linear units of the output file to either feet,
    * us_survey_feet, or meters.
    *
    * If the projection is geographic, the call has no affect.
    *
    * If units is not feet, us_survey_feet or meters this call has no effect.
    *
    * @param units Desired output units of the world file.
    */
   void setLinearUnits(ossimUnitType units);
   
private:
   virtual bool writeFile();

   ossimUnitType theUnits;

TYPE_DATA
};

#endif /* End of #ifndef ossimWorldFileWriter_H */