42cf5bc1 |
1 | // Created on: 1995-12-01 |
2 | // Created by: EXPRESS->CDL V0.2 Translator |
3 | // Copyright (c) 1995-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 _StepBasic_ProductRelatedProductCategory_HeaderFile |
18 | #define _StepBasic_ProductRelatedProductCategory_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_Type.hxx> |
22 | |
23 | #include <StepBasic_HArray1OfProduct.hxx> |
24 | #include <StepBasic_ProductCategory.hxx> |
25 | #include <Standard_Boolean.hxx> |
26 | #include <Standard_Integer.hxx> |
27 | class TCollection_HAsciiString; |
28 | class StepBasic_Product; |
29 | |
30 | |
31 | class StepBasic_ProductRelatedProductCategory; |
32 | DEFINE_STANDARD_HANDLE(StepBasic_ProductRelatedProductCategory, StepBasic_ProductCategory) |
33 | |
34 | |
35 | class StepBasic_ProductRelatedProductCategory : public StepBasic_ProductCategory |
36 | { |
37 | |
38 | public: |
39 | |
40 | |
41 | //! Returns a ProductRelatedProductCategory |
42 | Standard_EXPORT StepBasic_ProductRelatedProductCategory(); |
43 | |
18f7c9a5 |
44 | Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Boolean hasAdescription, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_HArray1OfProduct)& aProducts); |
42cf5bc1 |
45 | |
46 | Standard_EXPORT void SetProducts (const Handle(StepBasic_HArray1OfProduct)& aProducts); |
47 | |
48 | Standard_EXPORT Handle(StepBasic_HArray1OfProduct) Products() const; |
49 | |
50 | Standard_EXPORT Handle(StepBasic_Product) ProductsValue (const Standard_Integer num) const; |
51 | |
52 | Standard_EXPORT Standard_Integer NbProducts() const; |
53 | |
54 | |
55 | |
56 | |
92efcf78 |
57 | DEFINE_STANDARD_RTTIEXT(StepBasic_ProductRelatedProductCategory,StepBasic_ProductCategory) |
42cf5bc1 |
58 | |
59 | protected: |
60 | |
61 | |
62 | |
63 | |
64 | private: |
65 | |
66 | |
67 | Handle(StepBasic_HArray1OfProduct) products; |
68 | |
69 | |
70 | }; |
71 | |
72 | |
73 | |
74 | |
75 | |
76 | |
77 | |
78 | #endif // _StepBasic_ProductRelatedProductCategory_HeaderFile |