Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-12-03 10:56:48

0001 // Created on: 2001-04-24
0002 // Created by: Christian CAILLET
0003 // Copyright (c) 2001-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_CompoundRepresentationItem_HeaderFile
0017 #define _StepRepr_CompoundRepresentationItem_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepRepr_RepresentationItem.hxx>
0023 #include <NCollection_Array1.hxx>
0024 #include <NCollection_HArray1.hxx>
0025 #include <Standard_Integer.hxx>
0026 class TCollection_HAsciiString;
0027 
0028 //! Added for Dimensional Tolerances
0029 class StepRepr_CompoundRepresentationItem : public StepRepr_RepresentationItem
0030 {
0031 
0032 public:
0033   Standard_EXPORT StepRepr_CompoundRepresentationItem();
0034 
0035   Standard_EXPORT void Init(
0036     const occ::handle<TCollection_HAsciiString>&                                      aName,
0037     const occ::handle<NCollection_HArray1<occ::handle<StepRepr_RepresentationItem>>>& item_element);
0038 
0039   Standard_EXPORT occ::handle<NCollection_HArray1<occ::handle<StepRepr_RepresentationItem>>>
0040                   ItemElement() const;
0041 
0042   Standard_EXPORT int NbItemElement() const;
0043 
0044   Standard_EXPORT void SetItemElement(
0045     const occ::handle<NCollection_HArray1<occ::handle<StepRepr_RepresentationItem>>>& item_element);
0046 
0047   Standard_EXPORT occ::handle<StepRepr_RepresentationItem> ItemElementValue(const int num) const;
0048 
0049   Standard_EXPORT void SetItemElementValue(
0050     const int                                       num,
0051     const occ::handle<StepRepr_RepresentationItem>& anelement);
0052 
0053   DEFINE_STANDARD_RTTIEXT(StepRepr_CompoundRepresentationItem, StepRepr_RepresentationItem)
0054 
0055 private:
0056   occ::handle<NCollection_HArray1<occ::handle<StepRepr_RepresentationItem>>> theItemElement;
0057 };
0058 
0059 #endif // _StepRepr_CompoundRepresentationItem_HeaderFile