mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -62,8 +62,8 @@ void RWStepVisual_RWAnnotationCurveOccurrence::ReadStep
|
||||
}
|
||||
|
||||
// Inherited field : item
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// Initialisation of the read entity
|
||||
ent->Init(aName, aStyles, aItem);
|
||||
|
@@ -62,8 +62,8 @@ const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomR
|
||||
}
|
||||
|
||||
// Inherited field : item
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 2, "item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 2, "item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// Initialization of the read entity
|
||||
ent->Init(aName, aStyles, aItem);
|
||||
|
@@ -62,8 +62,8 @@ const Handle(StepVisual_AnnotationFillAreaOccurrence)& ent) const
|
||||
}
|
||||
|
||||
// Inherited field : item
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3, "item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3, "item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// Own field : fill_style_target
|
||||
Handle(StepGeom_GeometricRepresentationItem) aFillStyleTarget;
|
||||
|
@@ -62,8 +62,8 @@ void RWStepVisual_RWAnnotationOccurrence::ReadStep
|
||||
}
|
||||
|
||||
// Inherited field : item
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// Initialisation of the read entity
|
||||
ent->Init(aName, aStyles, aItem);
|
||||
|
@@ -62,8 +62,8 @@ void RWStepVisual_RWAnnotationPlane::ReadStep
|
||||
}
|
||||
|
||||
// Inherited field : item
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// Own field: elements
|
||||
Handle(StepVisual_HArray1OfAnnotationPlaneElement) anElements;
|
||||
|
@@ -63,8 +63,8 @@ void RWStepVisual_RWContextDependentOverRidingStyledItem::ReadStep
|
||||
|
||||
// --- inherited field : item ---
|
||||
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// --- inherited field : overRiddenStyle ---
|
||||
|
||||
|
@@ -61,8 +61,8 @@ void RWStepVisual_RWOverRidingStyledItem::ReadStep
|
||||
|
||||
// --- inherited field : item ---
|
||||
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// --- own field : overRiddenStyle ---
|
||||
|
||||
|
@@ -60,8 +60,8 @@ void RWStepVisual_RWStyledItem::ReadStep
|
||||
|
||||
// --- own field : item ---
|
||||
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
//--- Initialisation of the read entity ---
|
||||
|
||||
|
@@ -62,8 +62,8 @@ void RWStepVisual_RWTessellatedAnnotationOccurrence::ReadStep
|
||||
}
|
||||
|
||||
// Inherited field : item
|
||||
Handle(MMgt_TShared) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(MMgt_TShared), aItem);
|
||||
Handle(Standard_Transient) aItem;
|
||||
data->ReadEntity(num, 3,"item", ach, STANDARD_TYPE(Standard_Transient), aItem);
|
||||
|
||||
// Initialisation of the read entity
|
||||
ent->Init(aName, aStyles, aItem);
|
||||
|
Reference in New Issue
Block a user