0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / StepAP242 / StepAP242_ItemIdentifiedRepresentationUsage.hxx
index 7c0b017..36c3a02 100644 (file)
@@ -19,7 +19,7 @@
 #include <Standard.hxx>
 #include <Standard_Type.hxx>
 
-#include <MMgt_TShared.hxx>
+#include <Standard_Transient.hxx>
 #include <StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx>
 #include <Standard_Integer.hxx>
 #include <StepRepr_HArray1OfRepresentationItem.hxx>
@@ -30,8 +30,8 @@ class StepAP242_ItemIdentifiedRepresentationUsageDefinition;
 class StepRepr_RepresentationItem;
 
 class StepAP242_ItemIdentifiedRepresentationUsage;
-DEFINE_STANDARD_HANDLE(StepAP242_ItemIdentifiedRepresentationUsage, MMgt_TShared)
-class StepAP242_ItemIdentifiedRepresentationUsage : public MMgt_TShared
+DEFINE_STANDARD_HANDLE(StepAP242_ItemIdentifiedRepresentationUsage, Standard_Transient)
+class StepAP242_ItemIdentifiedRepresentationUsage : public Standard_Transient
 {
 
 public:
@@ -40,7 +40,11 @@ public:
   Standard_EXPORT StepAP242_ItemIdentifiedRepresentationUsage();
   
   //! Init all fields own and inherited
-  Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const StepAP242_ItemIdentifiedRepresentationUsageDefinition& theDefinition, const Handle(StepRepr_Representation)& theUsedRepresentation, const Handle(StepRepr_HArray1OfRepresentationItem)& theIdentifiedItem) ;
+  Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
+                             const Handle(TCollection_HAsciiString)& theDescription,
+                             const StepAP242_ItemIdentifiedRepresentationUsageDefinition& theDefinition,
+                             const Handle(StepRepr_Representation)& theUsedRepresentation,
+                             const Handle(StepRepr_HArray1OfRepresentationItem)& theIdentifiedItem);
   
   //! Set field Name
   inline void SetName(const Handle(TCollection_HAsciiString)& theName)
@@ -121,7 +125,7 @@ public:
     identifiedItem->SetValue (num, theItem);
   }
 
-  DEFINE_STANDARD_RTTIEXT(StepAP242_ItemIdentifiedRepresentationUsage,MMgt_TShared)
+  DEFINE_STANDARD_RTTIEXT(StepAP242_ItemIdentifiedRepresentationUsage,Standard_Transient)
 
 private: 
   Handle(TCollection_HAsciiString) name;