|
||||
File indexing completed on 2025-01-18 10:05:20
0001 // Created by: DAUTRY Philippe 0002 // Copyright (c) 1997-1999 Matra Datavision 0003 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0004 // 0005 // This file is part of Open CASCADE Technology software library. 0006 // 0007 // This library is free software; you can redistribute it and/or modify it under 0008 // the terms of the GNU Lesser General Public License version 2.1 as published 0009 // by the Free Software Foundation, with special exception defined in the file 0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0011 // distribution for complete text of the license and disclaimer of any warranty. 0012 // 0013 // Alternatively, this file may be used under the terms of Open CASCADE 0014 // commercial license or contractual agreement. 0015 0016 #ifndef _TDF_ClosureMode_HeaderFile 0017 #define _TDF_ClosureMode_HeaderFile 0018 0019 #include <Standard.hxx> 0020 #include <Standard_DefineAlloc.hxx> 0021 #include <Standard_Handle.hxx> 0022 0023 #include <Standard_Boolean.hxx> 0024 0025 0026 //! This class provides options closure management. 0027 class TDF_ClosureMode 0028 { 0029 public: 0030 0031 DEFINE_STANDARD_ALLOC 0032 0033 0034 //! Creates an object with all modes set to <aMode>. 0035 Standard_EXPORT TDF_ClosureMode(const Standard_Boolean aMode = Standard_True); 0036 0037 //! Sets the mode "Descendants" to <aStatus>. 0038 //! 0039 //! "Descendants" mode means we add to the data set 0040 //! the children labels of each USER GIVEN label. We 0041 //! do not do that with the labels found applying 0042 //! UpToFirstLevel option. 0043 void Descendants (const Standard_Boolean aStatus); 0044 0045 //! Returns true if the mode "Descendants" is set. 0046 Standard_Boolean Descendants() const; 0047 0048 //! Sets the mode "References" to <aStatus>. 0049 //! 0050 //! "References" mode means we add to the data set 0051 //! the descendants of an attribute, by calling the 0052 //! attribute method Descendants(). 0053 void References (const Standard_Boolean aStatus); 0054 0055 //! Returns true if the mode "References" is set. 0056 Standard_Boolean References() const; 0057 0058 0059 0060 0061 protected: 0062 0063 0064 0065 0066 0067 private: 0068 0069 0070 0071 Standard_Integer myFlags; 0072 0073 0074 }; 0075 0076 0077 #include <TDF_ClosureMode.lxx> 0078 0079 0080 0081 0082 0083 #endif // _TDF_ClosureMode_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |