mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-19 01:39:00 +08:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
-- Created by: DAUTRY Philippe
|
|
-- Copyright (c) 1997-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
-- -------------------
|
|
|
|
---Version: 0.0
|
|
--Version Date Purpose
|
|
-- 0.0 May 26 1997 Creation
|
|
|
|
|
|
class ClosureMode from TDF
|
|
|
|
---Purpose: This class provides options closure management.
|
|
|
|
-- uses
|
|
|
|
-- raises
|
|
|
|
is
|
|
|
|
Create(aMode : Boolean from Standard = Standard_True)
|
|
returns ClosureMode from TDF;
|
|
---Purpose: Creates an objet with all modes set to <aMode>.
|
|
|
|
|
|
Descendants(me : in out; aStatus : Boolean from Standard);
|
|
---Purpose: Sets the mode "Descendants" to <aStatus>.
|
|
--
|
|
-- "Descendants" mode means we add to the data set
|
|
-- the children labels of each USER GIVEN label. We
|
|
-- do not do that with the labels found applying
|
|
-- UpToFirstLevel option.
|
|
--
|
|
---C++: inline
|
|
|
|
Descendants(me) returns Boolean from Standard;
|
|
---Purpose: Returns true if the mode "Descendants" is set.
|
|
--
|
|
---C++: inline
|
|
|
|
|
|
References(me : in out; aStatus : Boolean from Standard);
|
|
---Purpose: Sets the mode "References" to <aStatus>.
|
|
--
|
|
-- "References" mode means we add to the data set
|
|
-- the descendants of an attribute, by calling the
|
|
-- attribute method Descendants().
|
|
--
|
|
---C++: inline
|
|
|
|
References(me) returns Boolean from Standard;
|
|
---Purpose: Returns true if the mode "References" is set.
|
|
--
|
|
---C++: inline
|
|
|
|
|
|
fields
|
|
|
|
myFlags : Integer from Standard;
|
|
-- Bit Mask Use
|
|
-- 0 1 Descendants
|
|
-- 1 2 References
|
|
-- 2 4 Unused
|
|
|
|
end ClosureMode;
|