/usr/include/opencascade/TDF_ClosureMode.lxx is in libopencascade-ocaf-lite-dev 6.5.0.dfsg-2build1.
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 | // File: TDF_ClosureMode.lxx
// -------------------
// Author: DAUTRY Philippe
// <fid@fox.paris1.matra-dtv.fr>
// Copyright: Matra Datavision 1997
// Version: 0.0
// History: Version Date Purpose
// 0.0 May 26 1997 Creation
#define DescendantsFlag 1
#define ReferencesFlag 2
//#define DummyFlag 4
inline void TDF_ClosureMode::Descendants(const Standard_Boolean aStatus)
{ myFlags = (aStatus) ? (myFlags | DescendantsFlag) : (myFlags & ~DescendantsFlag);}
inline Standard_Boolean TDF_ClosureMode::Descendants() const
{ return (myFlags & DescendantsFlag) != 0 ; }
inline void TDF_ClosureMode::References(const Standard_Boolean aStatus)
{ myFlags = (aStatus) ? (myFlags | ReferencesFlag) : (myFlags & ~ReferencesFlag);}
inline Standard_Boolean TDF_ClosureMode::References() const
{ return (myFlags & ReferencesFlag) != 0 ; }
|