mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027047: STEP -- eliminate useless polymorhic methods Init()
Methods Init() in STEP data classes are made non-virtual, redundant variants just calling the same method of the base class are removed. A few places where removed method have been called are corrected.
This commit is contained in:
@@ -35,7 +35,8 @@ public:
|
||||
Standard_EXPORT StepAP242_IdAttribute();
|
||||
|
||||
//! Init all field own and inherited
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& theAttributeValue, const StepAP242_IdAttributeSelect& theIdentifiedItem) ;
|
||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theAttributeValue,
|
||||
const StepAP242_IdAttributeSelect& theIdentifiedItem);
|
||||
|
||||
// Set field AttributeValue
|
||||
inline void SetAttributeValue(const Handle(TCollection_HAsciiString)& theAttributeValue)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user