This file is indexed.

/usr/include/ossim/plugin/ossimSharedPluginRegistry.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
#ifndef ossimSharedPluginRegistry_HEADER
#define ossimSharedPluginRegistry_HEADER
#include <iostream>
#include <vector>
#include <ossim/plugin/ossimSharedObjectBridge.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/plugin/ossimPluginLibrary.h>

class OSSIMDLLEXPORT ossimSharedPluginRegistry
{
public:
   virtual ~ossimSharedPluginRegistry();
   
   static ossimSharedPluginRegistry* instance();

   bool registerPlugin(const ossimFilename& filename, const ossimString& options="");//, bool insertFrontFlag=false);
   bool unregisterPlugin(int idx);
   bool unregisterPlugin(ossimPluginLibrary* plugin);
   const ossimPluginLibrary* getPlugin(const ossimFilename& filename)const;
   ossimPluginLibrary* getPlugin(const ossimFilename& filename);

   ossim_uint32 getIndex(const ossimPluginLibrary* lib)const;
   ossimPluginLibrary* getPlugin(ossim_uint32 idx);
   const ossimPluginLibrary* getPlugin(ossim_uint32 idx)const;
   ossim_uint32 getNumberOfPlugins()const;

   /**
    * Checks if filename is already loaded to avoid duplication.
    * 
    * @param filename The file to check.
    *
    * @return true if any of the plugins match file name, false if not.
    */
   bool isLoaded(const ossimFilename& filename) const;
   
   void printAllPluginInformation(std::ostream& out);
   
protected:
   ossimSharedPluginRegistry();
   ossimSharedPluginRegistry(const ossimSharedPluginRegistry&){}
   void operator = (const ossimSharedPluginRegistry&){}

   //static ossimSharedPluginRegistry* theInstance;   
   std::vector<ossimRefPtr<ossimPluginLibrary> > theLibraryList;
};

#endif