This file is indexed.

/usr/include/oce/TNaming_Scope.hxx is in liboce-ocaf-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
90
// 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 _TNaming_Scope_HeaderFile
#define _TNaming_Scope_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Standard_Boolean.hxx>
#include <TDF_LabelMap.hxx>
#include <Handle_TNaming_NamedShape.hxx>
class TDF_LabelMap;
class TDF_Label;
class TopoDS_Shape;
class TNaming_NamedShape;


//! this class manage a scope of labels
//! ===================================
class TNaming_Scope 
{
public:

  DEFINE_STANDARD_ALLOC

  
  //! WithValid = FALSE
  Standard_EXPORT TNaming_Scope();
  
  //! if <WithValid> the scope is defined by the map. If not
  //! on the whole framework.
  Standard_EXPORT TNaming_Scope(const Standard_Boolean WithValid);
  
  //! create a scope with a map. WithValid = TRUE.
  Standard_EXPORT TNaming_Scope(TDF_LabelMap& valid);
  
  Standard_EXPORT   Standard_Boolean WithValid()  const;
  
  Standard_EXPORT   void WithValid (const Standard_Boolean mode) ;
  
  Standard_EXPORT   void ClearValid() ;
  
  Standard_EXPORT   void Valid (const TDF_Label& L) ;
  
  Standard_EXPORT   void ValidChildren (const TDF_Label& L, const Standard_Boolean withroot = Standard_True) ;
  
  Standard_EXPORT   void Unvalid (const TDF_Label& L) ;
  
  Standard_EXPORT   void UnvalidChildren (const TDF_Label& L, const Standard_Boolean withroot = Standard_True) ;
  
  Standard_EXPORT   Standard_Boolean IsValid (const TDF_Label& L)  const;
  
  Standard_EXPORT  const  TDF_LabelMap& GetValid()  const;
  
  Standard_EXPORT   TDF_LabelMap& ChangeValid() ;
  
  //! Returns  the current  value of  <NS> according to the
  //! Valid Scope.
  Standard_EXPORT   TopoDS_Shape CurrentShape (const Handle(TNaming_NamedShape)& NS)  const;




protected:





private:



  Standard_Boolean myWithValid;
  TDF_LabelMap myValid;


};







#endif // _TNaming_Scope_HeaderFile