This file is indexed.

/usr/include/ossim/base/ossimBilSplitter.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
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author:  David Burken
//
// Description:
//
// Contains class declaration for ossimBilSplitter.
// 
// Utility class for splitting an image that is band interleaved by line into
// separate files.
//*******************************************************************
//  $Id: ossimBilSplitter.h 9968 2006-11-29 14:01:53Z gpotts $

#ifndef ossimBilSplitter_HEADER
#define ossimBilSplitter_HEADER

#include <fstream>
using namespace std;

#include <ossim/base/ossimConstants.h>

class OSSIMDLLEXPORT ossimBilSplitter
{
public:
   ossimBilSplitter(const char* file_to_split,
                    ossim_uint32      header_size_in_bytes,
                    ossim_uint32      bytes_per_pixel,
                    ossim_uint32      samples_per_line,
                    ossim_uint32      number_of_channels);

   ~ossimBilSplitter();

   enum ossimStatus
   {
      OSSIM_OK    = 0,
      OSSIM_ERROR = 1
   };

   /*!
    *  Splits source image into separate bands and writes to output
    *  directory as channel_1.ras, channel_2.ras, ...
    *  Returns true on success, false on error.
    */
   bool output_multi_files(const char* output_dir);

   int errorStatus() const { return theErrorStatus; }

private:

   ifstream      theSourceFileStr;
   ossim_uint32  theHeaderSizeInBytes;
   ossim_uint32  theBytesPerLine;
   ossim_uint32  theLinesToWrite;
   ossim_uint32  theNumberOfChannels;
   ossimStatus   theErrorStatus;
};

#endif