Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-12 09:18:52

0001 // Created on: 2016-08-25
0002 // Created by: Irina KRYLOVA
0003 // Copyright (c) 2016 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_CharacterizedRepresentation_HeaderFile
0017 #define _StepRepr_CharacterizedRepresentation_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepRepr_Representation.hxx>
0023 class TCollection_HAsciiString;
0024 class StepRepr_RepresentationContext;
0025 
0026 class StepRepr_CharacterizedRepresentation : public StepRepr_Representation
0027 {
0028 
0029 public:
0030   Standard_EXPORT StepRepr_CharacterizedRepresentation();
0031 
0032   //! Returns a CharacterizedRepresentation
0033   Standard_EXPORT void Init(
0034     const occ::handle<TCollection_HAsciiString>& theName,
0035     const occ::handle<TCollection_HAsciiString>& theDescription,
0036     const occ::handle<NCollection_HArray1<occ::handle<StepRepr_RepresentationItem>>>& theItems,
0037     const occ::handle<StepRepr_RepresentationContext>& theContextOfItems);
0038 
0039   void SetDescription(const occ::handle<TCollection_HAsciiString>& theDescription)
0040   {
0041     myDescription = theDescription;
0042   }
0043 
0044   occ::handle<TCollection_HAsciiString> Description() const { return myDescription; }
0045 
0046   DEFINE_STANDARD_RTTIEXT(StepRepr_CharacterizedRepresentation, StepRepr_Representation)
0047 
0048 private:
0049   occ::handle<TCollection_HAsciiString> myDescription;
0050 };
0051 #endif // _StepRepr_CharacterizedRepresentation_HeaderFile