1 -- Created by: DAUTRY Philippe
2 -- Copyright (c) 1997-1999 Matra Datavision
3 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 -- The content of this file is subject to the Open CASCADE Technology Public
6 -- License Version 6.5 (the "License"). You may not use the content of this file
7 -- except in compliance with the License. Please obtain a copy of the License
8 -- at http://www.opencascade.org and read it completely before using this file.
10 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 -- The Original Code and all software distributed under the License is
14 -- distributed on an "AS IS" basis, without warranty of any kind, and the
15 -- Initial Developer hereby disclaims all such warranties, including without
16 -- limitation, any warranties of merchantability, fitness for a particular
17 -- purpose or non-infringement. Please see the License for the specific terms
18 -- and conditions governing the rights and limitations under the License.
20 -- ----------------------
23 --Version Date Purpose
24 -- 0.0 Sep 8 1997 Creation
28 deferred class AttributeDelta from TDF inherits TShared from MMgt
30 ---Purpose: This class discribes the services we need to
31 -- implement Delta and Undo/Redo services.
33 -- AttributeDeltas are applied in an unpredictable
34 -- order. But by the redefinition of the method
35 -- IsNowApplicable, a condition can be verified
36 -- before application. If the AttributeDelta is not
37 -- yet applicable, it is put at the end of the
38 -- AttributeDelta list, to be treated later. If a
39 -- dead lock if found on the list, the
40 -- AttributeDeltas are forced to be applied in an
41 -- unpredictable order.
51 Initialize(anAttribute: Attribute from TDF);
56 ---Purpose: Applies the delta to the attribute.
59 returns Label from TDF;
60 ---Purpose: Returns the label concerned by <me>.
63 returns Attribute from TDF;
64 ---Purpose: Returns the reference attribute.
67 returns GUID from Standard;
68 ---Purpose: Returns the ID of the attribute concerned by <me>.
71 ---Category: Miscelleaneous
72 -- --------------------------------------------------------------
74 Dump(me; OS : in out OStream from Standard)
75 returns OStream from Standard
77 ---Purpose: Dumps the contents.
80 ---C++: alias operator<<
84 myAttribute : Attribute from TDF;
85 myLabel : Label from TDF;