Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2000-05-11
0002 // Created by: data exchange team
0003 // Copyright (c) 2000-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_CharacterizedDefinition_HeaderFile
0017 #define _StepRepr_CharacterizedDefinition_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_CharacterizedObject;
0027 class StepBasic_ProductDefinition;
0028 class StepBasic_ProductDefinitionRelationship;
0029 class StepRepr_ProductDefinitionShape;
0030 class StepRepr_ShapeAspect;
0031 class StepRepr_ShapeAspectRelationship;
0032 class StepBasic_DocumentFile;
0033 
0034 
0035 //! Representation of STEP SELECT type CharacterizedDefinition
0036 class StepRepr_CharacterizedDefinition  : public StepData_SelectType
0037 {
0038 public:
0039 
0040   DEFINE_STANDARD_ALLOC
0041 
0042   
0043   //! Empty constructor
0044   Standard_EXPORT StepRepr_CharacterizedDefinition();
0045   
0046   //! Recognizes a kind of CharacterizedDefinition select type
0047   //! 1 -> CharacterizedObject from StepBasic
0048   //! 2 -> ProductDefinition from StepBasic
0049   //! 3 -> ProductDefinitionRelationship from StepBasic
0050   //! 4 -> ProductDefinitionShape from StepRepr
0051   //! 5 -> ShapeAspect from StepRepr
0052   //! 6 -> ShapeAspectRelationship from StepRepr
0053   //! 7 -> DocumentFile from StepBasic
0054   //! 0 else
0055   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
0056   
0057   //! Returns Value as CharacterizedObject (or Null if another type)
0058   Standard_EXPORT Handle(StepBasic_CharacterizedObject) CharacterizedObject() const;
0059   
0060   //! Returns Value as ProductDefinition (or Null if another type)
0061   Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const;
0062   
0063   //! Returns Value as ProductDefinitionRelationship (or Null if another type)
0064   Standard_EXPORT Handle(StepBasic_ProductDefinitionRelationship) ProductDefinitionRelationship() const;
0065   
0066   //! Returns Value as ProductDefinitionShape (or Null if another type)
0067   Standard_EXPORT Handle(StepRepr_ProductDefinitionShape) ProductDefinitionShape() const;
0068   
0069   //! Returns Value as ShapeAspect (or Null if another type)
0070   Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const;
0071   
0072   //! Returns Value as ShapeAspectRelationship (or Null if another type)
0073   Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
0074   
0075   //! Returns Value as DocumentFile (or Null if another type)
0076   Standard_EXPORT Handle(StepBasic_DocumentFile) DocumentFile() const;
0077 
0078 
0079 
0080 
0081 protected:
0082 
0083 
0084 
0085 
0086 
0087 private:
0088 
0089 
0090 
0091 
0092 
0093 };
0094 
0095 
0096 
0097 
0098 
0099 
0100 
0101 #endif // _StepRepr_CharacterizedDefinition_HeaderFile