This file is indexed.

/usr/include/oce/TFunction_DriverTable.hxx is in liboce-ocaf-lite-dev 0.9.1-3.

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
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TFunction_DriverTable_HeaderFile
#define _TFunction_DriverTable_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_TFunction_DriverTable_HeaderFile
#include <Handle_TFunction_DriverTable.hxx>
#endif

#ifndef _TFunction_DataMapOfGUIDDriver_HeaderFile
#include <TFunction_DataMapOfGUIDDriver.hxx>
#endif
#ifndef _Handle_TFunction_HArray1OfDataMapOfGUIDDriver_HeaderFile
#include <Handle_TFunction_HArray1OfDataMapOfGUIDDriver.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_TFunction_Driver_HeaderFile
#include <Handle_TFunction_Driver.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class TFunction_HArray1OfDataMapOfGUIDDriver;
class Standard_GUID;
class TFunction_Driver;


//! A container for instances of drivers. <br>
//! You create a new instance of TFunction_Driver <br>
//! and use the method AddDriver to load it into the driver table. <br>
class TFunction_DriverTable : public MMgt_TShared {

public:

  //! Returns the driver table. If a driver does not exist, creates it. <br>
  Standard_EXPORT   static  Handle_TFunction_DriverTable Get() ;
  //! Default constructor <br>
  Standard_EXPORT   TFunction_DriverTable();
  //! Returns true if the driver has been added successfully to the driver table. <br>
  Standard_EXPORT     Standard_Boolean AddDriver(const Standard_GUID& guid,const Handle(TFunction_Driver)& driver,const Standard_Integer thread = 0) ;
  //! Returns true if the driver exists in the driver table. <br>
  Standard_EXPORT     Standard_Boolean HasDriver(const Standard_GUID& guid,const Standard_Integer thread = 0) const;
  //! Returns true if the driver was found. <br>
  Standard_EXPORT     Standard_Boolean FindDriver(const Standard_GUID& guid,Handle(TFunction_Driver)& driver,const Standard_Integer thread = 0) const;
  
  Standard_EXPORT     Standard_OStream& Dump(Standard_OStream& anOS) const;
    Standard_OStream& operator <<(Standard_OStream& anOS) const
{
  return Dump(anOS);
}
  //! Removes a driver with the given GUID. <br>
//!     Returns true if the driver has been removed successfully. <br>
  Standard_EXPORT     Standard_Boolean RemoveDriver(const Standard_GUID& guid,const Standard_Integer thread = 0) ;
  //! Removes all drivers. Returns true if the driver has been removed successfully. <br>
  Standard_EXPORT     void Clear() ;




  DEFINE_STANDARD_RTTI(TFunction_DriverTable)

protected:




private: 


TFunction_DataMapOfGUIDDriver myDrivers;
Handle_TFunction_HArray1OfDataMapOfGUIDDriver myThreadDrivers;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif