Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:13

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 
0033 //! Representation of STEP SELECT type RepresentedDefinition
0034 class StepRepr_RepresentedDefinition  : public StepData_SelectType
0035 {
0036 public:
0037 
0038   DEFINE_STANDARD_ALLOC
0039 
0040   
0041   //! Empty constructor
0042   Standard_EXPORT StepRepr_RepresentedDefinition();
0043   
0044   //! Recognizes a kind of RepresentedDefinition select type
0045   //! 1 -> GeneralProperty from StepBasic
0046   //! 2 -> PropertyDefinition from StepRepr
0047   //! 3 -> PropertyDefinitionRelationship from StepRepr
0048   //! 4 -> ShapeAspect from StepRepr
0049   //! 5 -> ShapeAspectRelationship from StepRepr
0050   //! 0 else
0051   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
0052   
0053   //! Returns Value as GeneralProperty (or Null if another type)
0054   Standard_EXPORT Handle(StepBasic_GeneralProperty) GeneralProperty() const;
0055   
0056   //! Returns Value as PropertyDefinition (or Null if another type)
0057   Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const;
0058   
0059   //! Returns Value as PropertyDefinitionRelationship (or Null if another type)
0060   Standard_EXPORT Handle(StepRepr_PropertyDefinitionRelationship) PropertyDefinitionRelationship() const;
0061   
0062   //! Returns Value as ShapeAspect (or Null if another type)
0063   Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const;
0064   
0065   //! Returns Value as ShapeAspectRelationship (or Null if another type)
0066   Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
0067 
0068 
0069 
0070 
0071 protected:
0072 
0073 
0074 
0075 
0076 
0077 private:
0078 
0079 
0080 
0081 
0082 
0083 };
0084 
0085 
0086 
0087 
0088 
0089 
0090 
0091 #endif // _StepRepr_RepresentedDefinition_HeaderFile