// File: TDF_DeltaOnAddition.cxx // ----------------------- // Author: DAUTRY Philippe // // Copyright: Matra Datavision 1997 // Version: 0.0 // History: Version Date Purpose // 0.0 Oct 10 1997 Creation #include #include #include //======================================================================= //function : TDF_DeltaOnAddition //purpose : //======================================================================= TDF_DeltaOnAddition::TDF_DeltaOnAddition (const Handle(TDF_Attribute)& anAtt) : TDF_AttributeDelta(anAtt) {} //======================================================================= //function : Apply //purpose : //======================================================================= void TDF_DeltaOnAddition::Apply() { Handle(TDF_Attribute) currentAtt; if (Label().FindAttribute(ID(),currentAtt)) { Label().ForgetAttribute (currentAtt); } }