This file is indexed.

/usr/include/ossim/base/ossimHexString.h is in libossim-dev 1.8.16-4ubuntu1.

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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks.com)
// 
//********************************************************************
// $Id: ossimHexString.h 12952 2008-06-01 16:23:19Z dburken $

#include <cstring>
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimConstants.h>

class OSSIMDLLEXPORT ossimHexString : public ossimString
{
public:
   ossimHexString():ossimString()
      {}
   template <class Iter>
      ossimHexString(Iter start, Iter end):ossimString(start, end){}
   ossimHexString(const std::string& aString):ossimString(aString)
      {}
   ossimHexString(const char *aString):ossimString(aString?aString:"")
      {}
   ossimHexString(const ossimString& aString):ossimString(aString.c_str())
      {}
   
   ossimHexString(char value):ossimString()
      {
         assign(value);
      }
   ossimHexString(ossim_int16 value):ossimString()
      {
         assign(value);
      }
   ossimHexString(ossim_int32 value):ossimString()
      {
         assign(value);
      }
   ossimHexString(ossim_uint8 value):ossimString()
      {
         assign(value);
      }
   ossimHexString(ossim_uint16 value):ossimString()
      {
         assign(value);
      }
   ossimHexString(ossim_uint32 value):ossimString()
      {
         assign(value);
      }

   bool operator==(const ossimHexString& s) const {return (std::strcmp(this->c_str(),s.c_str())==0);}
   bool operator==(const char* s) const {return (std::strcmp(this->c_str(),s)==0);}
   bool operator!=(const ossimHexString& s) const {return (std::strcmp(this->c_str(),s.c_str())!=0);}
   bool operator!=(const char* s) const {return (std::strcmp(this->c_str(),s)!=0);}
   operator const char*()const{return c_str();}
   const char* chars()const{return c_str();}
   char& operator[](int i)
      {
         return *( const_cast<char*>(c_str())+i);
      }
   const char& operator[](int i)const
      {
         return *(c_str()+i);
      }
   const ossimHexString& operator =(ossim_int16 value)
      {
         assign(value);
         return *this;
      }
   const ossimHexString& operator =(ossim_int32 value)
      {
         assign(value);
         return *this;
      }
   const ossimHexString& operator =(ossim_uint16 value)
      {
         assign(value);
         return *this;
      }
   const ossimHexString& operator =(ossim_uint32 value)
      {
         assign(value);
         return *this;
      }
   const ossimHexString& operator =(ossim_int8 value)
      {
         assign(value);
         return *this;
      }
   const ossimHexString& operator =(ossim_uint8 value)
      {
         assign(value);
         return *this;
      }
   const ossimHexString& operator =(const ossim_int8* value)
      {
         ossimString::operator=(value);
         return *this;
      }
   const ossimHexString& operator =(const ossimString& value)
      {
         ossimString::operator=(value);
         return *this;
      }

   const ossimHexString& operator =(const ossimHexString& value)
      {
         ossimString::operator=(value);
         return *this;
      }

   const ossimHexString& operator =(const std::string& value)
      {
         ossimString::operator=(value);
         return *this;
      }
   
   ossim_int32  toInt32()const;
   ossim_int16  toInt16()const;
   ossim_int8   toChar()const;
   ossim_uint8  toUchar()const;
   ossim_uint32 toUint32()const;
   ossim_uint16 toUint16()const;

   void assign(ossim_int16 value)
      {
         assign((ossim_uint16)value);
      }
   void assign(ossim_int32 value)
      {
         assign((ossim_uint32)value);
      }
   void assign(ossim_int8 value)
      {
         assign((ossim_uint8)value);
      }
   void assign(ossim_uint16 value);
   void assign(ossim_uint32 value);
   void assign(ossim_uint8  value);
};