/usr/include/oce/TNaming_Scope.hxx is in liboce-ocaf-dev 0.15-5.
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 | // 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
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineAlloc_HeaderFile
#include <Standard_DefineAlloc.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _TDF_LabelMap_HeaderFile
#include <TDF_LabelMap.hxx>
#endif
#ifndef _Handle_TNaming_NamedShape_HeaderFile
#include <Handle_TNaming_NamedShape.hxx>
#endif
class TDF_LabelMap;
class TDF_Label;
class TopoDS_Shape;
class TNaming_NamedShape;
//! this class manage a scope of labels <br>
//! =================================== <br>
class TNaming_Scope {
public:
DEFINE_STANDARD_ALLOC
//! WithValid = FALSE <br>
Standard_EXPORT TNaming_Scope();
//! if <WithValid> the scope is defined by the map. If not <br>
//! on the whole framework. <br>
Standard_EXPORT TNaming_Scope(const Standard_Boolean WithValid);
//! create a scope with a map. WithValid = TRUE. <br>
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 <br>
//! Valid Scope. <br>
Standard_EXPORT TopoDS_Shape CurrentShape(const Handle(TNaming_NamedShape)& NS) const;
protected:
private:
Standard_Boolean myWithValid;
TDF_LabelMap myValid;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|