Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-14 09:16:15

0001 // Created by: DAUTRY Philippe
0002 // Copyright (c) 1997-1999 Matra Datavision
0003 // Copyright (c) 1999-2014 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 _TDF_DefaultDeltaOnModification_HeaderFile
0017 #define _TDF_DefaultDeltaOnModification_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <TDF_DeltaOnModification.hxx>
0023 class TDF_Attribute;
0024 
0025 //! This class provides a default implementation of a
0026 //! TDF_DeltaOnModification.
0027 class TDF_DefaultDeltaOnModification : public TDF_DeltaOnModification
0028 {
0029 
0030 public:
0031   //! Creates a TDF_DefaultDeltaOnModification.
0032   //! <anAttribute> must be the backup copy.
0033   Standard_EXPORT TDF_DefaultDeltaOnModification(const occ::handle<TDF_Attribute>& anAttribute);
0034 
0035   //! Applies the delta to the attribute.
0036   Standard_EXPORT void Apply() override;
0037 
0038   DEFINE_STANDARD_RTTIEXT(TDF_DefaultDeltaOnModification, TDF_DeltaOnModification)
0039 };
0040 
0041 #endif // _TDF_DefaultDeltaOnModification_HeaderFile