This file is indexed.

/usr/include/ossim/base/ossimXmlDocument.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:  Oscar Kramer <okramer@imagelinks.com> (ossim port by D. Burken)
//
// Description:  
//
// Contains declaration of class ossimXmlDocument. This class provides read-only
// parsing and accessing of an XML document file.
// 
//*****************************************************************************
// $Id: ossimXmlDocument.h 12521 2008-02-28 20:09:25Z gpotts $
#ifndef ossimXmlDocument_HEADER
#define ossimXmlDocument_HEADER

#include <vector>
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimErrorStatusInterface.h>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/base/ossimFilename.h>

class ossimXmlNode;

class OSSIMDLLEXPORT ossimXmlDocument : public ossimObject,
                                     public ossimErrorStatusInterface
{
public:
   ossimXmlDocument(const ossimFilename& xmlFileName="");
   ossimXmlDocument(const ossimXmlDocument& src);
   virtual ossimObject* dup()const
   {
      return new ossimXmlDocument(*this);
   }
   ~ossimXmlDocument();

   bool write(const ossimFilename& file);
   bool openFile(const ossimFilename& filename);
   bool read(std::istream& in);
   /**
    * Appends any matching nodes to the list supplied (should be empty):
    */
   void findNodes(const ossimString& xpath,
                  std::vector<ossimRefPtr<ossimXmlNode> >& nodelist) const;
   
   OSSIMDLLEXPORT friend std::ostream& operator << (std::ostream& os, const ossimXmlDocument& xml_doc);

   void initRoot(ossimRefPtr<ossimXmlNode> node);

   ossimRefPtr<ossimXmlNode> getRoot();
   const ossimRefPtr<ossimXmlNode> getRoot()const;
   ossimRefPtr<ossimXmlNode> removeRoot();
   void fromKwl(const ossimKeywordlist& kwl);
   void toKwl(ossimKeywordlist& kwl, const ossimString& prefix = "")const;
   
private:
   ossimRefPtr<ossimXmlNode>  theRootNode;
   ossimString                theXmlHeader;
   ossimFilename              theFilename;

   bool readHeader(std::istream& in);
TYPE_DATA
};

#endif /* #ifndef ossimXmlDocument_HEADER */