summaryrefslogtreecommitdiff
path: root/src/TDF/TDF_DeltaOnResume.cxx
blob: f0f062295a2a69a24c2b19f8f4f930dc67dd4bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// File:	TDF_DeltaOnResume.cxx
//      	---------------------
// Author:	DAUTRY Philippe
//		<fid@fox.paris1.matra-dtv.fr>
// Copyright:	Matra Datavision 1998

// Version:	0.0
// History:	Version	Date		Purpose
//		0.0	Jul  6 1998	Creation



#include <TDF_DeltaOnResume.ixx>
#include <TDF_Label.hxx>


//=======================================================================
//function : TDF_DeltaOnResume
//purpose  : 
//=======================================================================

TDF_DeltaOnResume::TDF_DeltaOnResume
(const Handle(TDF_Attribute)& anAtt)
: TDF_AttributeDelta(anAtt)
{}


//=======================================================================
//function : Apply
//purpose  : 
//=======================================================================

void TDF_DeltaOnResume::Apply() 
{
  // Undo = Forget.
  Label().ForgetAttribute (Attribute());
#ifdef DEB
  cout<<"Forget attribute"<<endl;
#endif
}