0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / StepShape / StepShape_ShapeDimensionRepresentation.hxx
1 // Created on: 2000-04-18
2 // Created by: Andrey BETENEV
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _StepShape_ShapeDimensionRepresentation_HeaderFile
17 #define _StepShape_ShapeDimensionRepresentation_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
21
22 #include <StepShape_HArray1OfShapeDimensionRepresentationItem.hxx>
23 #include <StepShape_ShapeRepresentation.hxx>
24
25
26 class StepShape_ShapeDimensionRepresentation;
27 DEFINE_STANDARD_HANDLE(StepShape_ShapeDimensionRepresentation, StepShape_ShapeRepresentation)
28
29 //! Representation of STEP entity ShapeDimensionRepresentation
30 class StepShape_ShapeDimensionRepresentation : public StepShape_ShapeRepresentation
31 {
32
33 public:
34
35   
36   //! Empty constructor
37   Standard_EXPORT StepShape_ShapeDimensionRepresentation();
38   
39   //! Initialize all fields AP214
40   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(StepRepr_HArray1OfRepresentationItem)& theItems, const Handle(StepRepr_RepresentationContext)& theContextOfItems);
41
42   //! Initialize all fields AP242
43   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(StepShape_HArray1OfShapeDimensionRepresentationItem)& theItems, const Handle(StepRepr_RepresentationContext)& theContextOfItems);
44
45   Standard_EXPORT void SetItemsAP242 (const Handle(StepShape_HArray1OfShapeDimensionRepresentationItem)& theItems);
46   
47   Standard_EXPORT Handle(StepShape_HArray1OfShapeDimensionRepresentationItem) ItemsAP242() const;
48   
49   DEFINE_STANDARD_RTTIEXT(StepShape_ShapeDimensionRepresentation,StepShape_ShapeRepresentation)
50 private:
51
52   Handle(StepShape_HArray1OfShapeDimensionRepresentationItem) itemsAP242;
53 };
54 #endif // _StepShape_ShapeDimensionRepresentation_HeaderFile