This file is indexed.

/usr/include/oce/BinMDF_ADriverTable.hxx is in liboce-ocaf-lite-dev 0.17.2-2.

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
// 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 _BinMDF_ADriverTable_HeaderFile
#define _BinMDF_ADriverTable_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_BinMDF_ADriverTable.hxx>

#include <BinMDF_TypeADriverMap.hxx>
#include <BinMDF_TypeIdMap.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_BinMDF_ADriver.hxx>
#include <Handle_Standard_Type.hxx>
#include <Standard_Integer.hxx>
class BinMDF_ADriver;
class Standard_Type;
class TColStd_IndexedMapOfTransient;
class TColStd_SequenceOfAsciiString;


//! A driver table is an object building links between
//! object types and object drivers. In the
//! translation process, a driver table is asked to
//! give a translation driver for each current object
//! to be translated.
class BinMDF_ADriverTable : public MMgt_TShared
{

public:

  
  //! Constructor
  Standard_EXPORT BinMDF_ADriverTable();
  
  //! Adds a translation driver <theDriver>.
  Standard_EXPORT   void AddDriver (const Handle(BinMDF_ADriver)& theDriver) ;
  
  //! Assigns the IDs to the drivers of the given Types.
  //! It uses indices in the map as IDs.
  //! Useful in storage procedure.
  Standard_EXPORT   void AssignIds (const TColStd_IndexedMapOfTransient& theTypes) ;
  
  //! Assigns the IDs to the drivers of the given Type Names;
  //! It uses indices in the sequence as IDs.
  //! Useful in retrieval procedure.
  Standard_EXPORT   void AssignIds (const TColStd_SequenceOfAsciiString& theTypeNames) ;
  
  //! Gets a driver <theDriver> according to <theType>.
  //! Returns Type ID if the driver was assigned an ID; 0 otherwise.
      Standard_Integer GetDriver (const Handle(Standard_Type)& theType, Handle(BinMDF_ADriver)& theDriver)  const;
  
  //! Returns a driver according to <theTypeId>.
  //! Returns null handle if a driver is not found
      Handle(BinMDF_ADriver) GetDriver (const Standard_Integer theTypeId)  const;




  DEFINE_STANDARD_RTTI(BinMDF_ADriverTable)

protected:




private: 

  
  //! Assigns the ID to the driver of the Type
      void AssignId (const Handle(Standard_Type)& theType, const Standard_Integer theId) ;

  BinMDF_TypeADriverMap myMap;
  BinMDF_TypeIdMap myMapId;


};


#include <BinMDF_ADriverTable.lxx>





#endif // _BinMDF_ADriverTable_HeaderFile