|
|
|||
File indexing completed on 2026-05-20 08:18:05
0001 // Created on: 2002-12-12 0002 // Created by: data exchange team 0003 // Copyright (c) 2002-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 _StepRepr_RepresentedDefinition_HeaderFile 0017 #define _StepRepr_RepresentedDefinition_HeaderFile 0018 0019 #include <Standard.hxx> 0020 #include <Standard_DefineAlloc.hxx> 0021 #include <Standard_Handle.hxx> 0022 0023 #include <StepData_SelectType.hxx> 0024 #include <Standard_Integer.hxx> 0025 class Standard_Transient; 0026 class StepBasic_GeneralProperty; 0027 class StepRepr_PropertyDefinition; 0028 class StepRepr_PropertyDefinitionRelationship; 0029 class StepRepr_ShapeAspect; 0030 class StepRepr_ShapeAspectRelationship; 0031 0032 //! Representation of STEP SELECT type RepresentedDefinition 0033 class StepRepr_RepresentedDefinition : public StepData_SelectType 0034 { 0035 public: 0036 DEFINE_STANDARD_ALLOC 0037 0038 //! Empty constructor 0039 Standard_EXPORT StepRepr_RepresentedDefinition(); 0040 0041 //! Recognizes a kind of RepresentedDefinition select type 0042 //! 1 -> GeneralProperty from StepBasic 0043 //! 2 -> PropertyDefinition from StepRepr 0044 //! 3 -> PropertyDefinitionRelationship from StepRepr 0045 //! 4 -> ShapeAspect from StepRepr 0046 //! 5 -> ShapeAspectRelationship from StepRepr 0047 //! 0 else 0048 Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; 0049 0050 //! Returns Value as GeneralProperty (or Null if another type) 0051 Standard_EXPORT Handle(StepBasic_GeneralProperty) GeneralProperty() const; 0052 0053 //! Returns Value as PropertyDefinition (or Null if another type) 0054 Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const; 0055 0056 //! Returns Value as PropertyDefinitionRelationship (or Null if another type) 0057 Standard_EXPORT Handle(StepRepr_PropertyDefinitionRelationship) PropertyDefinitionRelationship() 0058 const; 0059 0060 //! Returns Value as ShapeAspect (or Null if another type) 0061 Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const; 0062 0063 //! Returns Value as ShapeAspectRelationship (or Null if another type) 0064 Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const; 0065 0066 protected: 0067 private: 0068 }; 0069 0070 #endif // _StepRepr_RepresentedDefinition_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|