|
||||
File indexing completed on 2025-01-18 10:04:03
0001 // Created on: 1996-10-11 0002 // Created by: Christian CAILLET 0003 // Copyright (c) 1996-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _IGESSelect_SelectSubordinate_HeaderFile 0018 #define _IGESSelect_SelectSubordinate_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_Type.hxx> 0022 0023 #include <Standard_Integer.hxx> 0024 #include <IFSelect_SelectExtract.hxx> 0025 class Standard_Transient; 0026 class Interface_InterfaceModel; 0027 class TCollection_AsciiString; 0028 0029 // resolve name collisions with X11 headers 0030 #ifdef Status 0031 #undef Status 0032 #endif 0033 0034 class IGESSelect_SelectSubordinate; 0035 DEFINE_STANDARD_HANDLE(IGESSelect_SelectSubordinate, IFSelect_SelectExtract) 0036 0037 //! This selections uses Subordinate Status as sort criterium 0038 //! It is an integer number which can be : 0039 //! 0 Independent 0040 //! 1 Physically Dependent 0041 //! 2 Logically Dependent 0042 //! 3 Both (recorded) 0043 //! + to sort : 0044 //! 4 : 1 or 3 -> at least Physically 0045 //! 5 : 2 or 3 -> at least Logically 0046 //! 6 : 1 or 2 or 3 -> any kind of dependence 0047 //! (corresponds to 0 reversed) 0048 class IGESSelect_SelectSubordinate : public IFSelect_SelectExtract 0049 { 0050 0051 public: 0052 0053 0054 //! Creates a SelectSubordinate with a status to be sorted 0055 Standard_EXPORT IGESSelect_SelectSubordinate(const Standard_Integer status); 0056 0057 //! Returns the status used for sorting 0058 Standard_EXPORT Standard_Integer Status() const; 0059 0060 //! Returns True if <ent> is an IGES Entity with Subordinate 0061 //! Status matching the criterium 0062 Standard_EXPORT Standard_Boolean Sort (const Standard_Integer rank, const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE; 0063 0064 //! Returns the Selection criterium : "IGES Entity, Independent" 0065 //! etc... 0066 Standard_EXPORT TCollection_AsciiString ExtractLabel() const Standard_OVERRIDE; 0067 0068 0069 0070 0071 DEFINE_STANDARD_RTTIEXT(IGESSelect_SelectSubordinate,IFSelect_SelectExtract) 0072 0073 protected: 0074 0075 0076 0077 0078 private: 0079 0080 0081 Standard_Integer thestatus; 0082 0083 0084 }; 0085 0086 0087 0088 0089 0090 0091 0092 #endif // _IGESSelect_SelectSubordinate_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |