0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
[occt.git] / src / StepShape / StepShape_FacetedBrepAndBrepWithVoids.hxx
CommitLineData
42cf5bc1 1// Created on: 1994-06-17
2// Created by: EXPRESS->CDL V0.2 Translator
3// Copyright (c) 1994-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _StepShape_FacetedBrepAndBrepWithVoids_HeaderFile
18#define _StepShape_FacetedBrepAndBrepWithVoids_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <StepShape_ManifoldSolidBrep.hxx>
24#include <StepShape_HArray1OfOrientedClosedShell.hxx>
25#include <Standard_Integer.hxx>
26class StepShape_FacetedBrep;
27class StepShape_BrepWithVoids;
28class TCollection_HAsciiString;
29class StepShape_ClosedShell;
30class StepShape_OrientedClosedShell;
31
32
33class StepShape_FacetedBrepAndBrepWithVoids;
34DEFINE_STANDARD_HANDLE(StepShape_FacetedBrepAndBrepWithVoids, StepShape_ManifoldSolidBrep)
35
36
37class StepShape_FacetedBrepAndBrepWithVoids : public StepShape_ManifoldSolidBrep
38{
39
40public:
41
42
43 //! Returns a FacetedBrepAndBrepWithVoids
44 Standard_EXPORT StepShape_FacetedBrepAndBrepWithVoids();
45
46 Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_ClosedShell)& aOuter) Standard_OVERRIDE;
47
48 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_ClosedShell)& aOuter, const Handle(StepShape_FacetedBrep)& aFacetedBrep, const Handle(StepShape_BrepWithVoids)& aBrepWithVoids);
49
50 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_ClosedShell)& aOuter, const Handle(StepShape_HArray1OfOrientedClosedShell)& aVoids);
51
52 Standard_EXPORT void SetFacetedBrep (const Handle(StepShape_FacetedBrep)& aFacetedBrep);
53
54 Standard_EXPORT Handle(StepShape_FacetedBrep) FacetedBrep() const;
55
56 Standard_EXPORT void SetBrepWithVoids (const Handle(StepShape_BrepWithVoids)& aBrepWithVoids);
57
58 Standard_EXPORT Handle(StepShape_BrepWithVoids) BrepWithVoids() const;
59
60 Standard_EXPORT void SetVoids (const Handle(StepShape_HArray1OfOrientedClosedShell)& aVoids);
61
62 Standard_EXPORT Handle(StepShape_HArray1OfOrientedClosedShell) Voids() const;
63
64 Standard_EXPORT Handle(StepShape_OrientedClosedShell) VoidsValue (const Standard_Integer num) const;
65
66 Standard_EXPORT Standard_Integer NbVoids() const;
67
68
69
70
92efcf78 71 DEFINE_STANDARD_RTTIEXT(StepShape_FacetedBrepAndBrepWithVoids,StepShape_ManifoldSolidBrep)
42cf5bc1 72
73protected:
74
75
76
77
78private:
79
80
81 Handle(StepShape_FacetedBrep) facetedBrep;
82 Handle(StepShape_BrepWithVoids) brepWithVoids;
83
84
85};
86
87
88
89
90
91
92
93#endif // _StepShape_FacetedBrepAndBrepWithVoids_HeaderFile