This file is indexed.

/usr/include/ossim/base/ossimOutputSource.h is in libossim-dev 1.7.21-3ubuntu2.

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
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
// 
// Author:  Garrett Potts
//
// Description:
//
// Contains class declaration for ossimImageWriter
//*******************************************************************
//  $Id: ossimOutputSource.h 9968 2006-11-29 14:01:53Z gpotts $
//
#ifndef ossimOutputSource_HEADER
#define ossimOutputSource_HEADER
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimSource.h>
#include <ossim/base/ossimCommon.h>

class OSSIMDLLEXPORT ossimOutputSource : public ossimSource
{
public:
   ossimOutputSource(ossimObject* owner=NULL)
      :ossimSource(owner)
      {}
   ossimOutputSource(ossimObject* owner,
                     ossim_uint32 inputListSize,
                     ossim_uint32 outputListSize,
                     bool inputListIsFixedFlag=true,
                     bool outputListIsFixedFlag=true)
      :ossimSource(owner,
                   inputListSize,
                   outputListSize,
                   inputListIsFixedFlag,
                  outputListIsFixedFlag)
      {
      }

   virtual ~ossimOutputSource(){}
   
   virtual bool isOpen()const = 0;
   
   /*!
    * Allows a generic interface to open a consumer for writing.  If
    * you are a display writer then you would probably show the window or
    * init the device context for writing.
    */
   virtual bool open()=0;

   /*!
    * Will set the output name and open the output device.
    */
   virtual bool open(const ossimString& outputName)
      {
         setOutputName(outputName);
         return open();
      }
   
   /*!
    * This is a generic interface to allow one to set the output name of
    * the writer.  If its a Visual display this could be used to
    * set the title.  If this is a file output then this could be a
    * directory or a file name.
    */
  virtual void setOutputName(const ossimString& outputName)
  {
    theOutputName = outputName;
  }

  virtual const ossimString& getOutputName()
  {
    return theOutputName;
  }
   /*!
    * Generic interface to allow one to close a consumer.  For displays
    * this might minimize the window and free up internal pointers for
    * file writers it will make sure the file stream is closed and flushed.
    */
   virtual void close()=0;
   
   virtual bool saveState(ossimKeywordlist& kwl,
                          const char* prefix=0)const;

   virtual bool loadState(const ossimKeywordlist& kwl,
                          const char* prefix=0);


protected:
  ossimString theOutputName;


TYPE_DATA
};

#endif