Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-22 08:59:40

0001 // Created on: 2008-01-23
0002 // Created by: Sergey ZARITCHNY
0003 // Copyright (c) 2008-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 _TDataStd_DeltaOnModificationOfIntPackedMap_HeaderFile
0017 #define _TDataStd_DeltaOnModificationOfIntPackedMap_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 
0021 #include <TDF_DeltaOnModification.hxx>
0022 class TColStd_HPackedMapOfInteger;
0023 class TDataStd_IntPackedMap;
0024 
0025 //! This class provides default services for an
0026 //! AttributeDelta on a MODIFICATION action.
0027 class TDataStd_DeltaOnModificationOfIntPackedMap : public TDF_DeltaOnModification
0028 {
0029 
0030 public:
0031   //! Initializes a TDF_DeltaOnModification.
0032   Standard_EXPORT TDataStd_DeltaOnModificationOfIntPackedMap(
0033     const occ::handle<TDataStd_IntPackedMap>& Arr);
0034 
0035   //! Applies the delta to the attribute.
0036   Standard_EXPORT void Apply() override;
0037 
0038   DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntPackedMap, TDF_DeltaOnModification)
0039 
0040 private:
0041   occ::handle<TColStd_HPackedMapOfInteger> myAddition;
0042   occ::handle<TColStd_HPackedMapOfInteger> myDeletion;
0043 };
0044 
0045 #endif // _TDataStd_DeltaOnModificationOfIntPackedMap_HeaderFile