Open CASCADE Technology
6.5.4
|
This class discribes the services we need to
implement Delta and Undo/Redo services.
AttributeDeltas are applied in an unpredictable
order. But by the redefinition of the method
IsNowApplicable, a condition can be verified
before application. If the AttributeDelta is not
yet applicable, it is put at the end of the
AttributeDelta list, to be treated later. If a
dead lock if found on the list, the
AttributeDeltas are forced to be applied in an
unpredictable order.
#include <TDF_AttributeDelta.hxx>
Public Member Functions | |
virtual void | Apply ()=0 |
Applies the delta to the attribute. | |
TDF_Label | Label () const |
Returns the label concerned by <me>. | |
Handle_TDF_Attribute | Attribute () const |
Returns the reference attribute. | |
Standard_GUID | ID () const |
Returns the ID of the attribute concerned by <me>. | |
virtual Standard_OStream & | Dump (Standard_OStream &OS) const |
Dumps the contents. | |
Standard_OStream & | operator<< (Standard_OStream &OS) const |
Protected Member Functions | |
TDF_AttributeDelta (const Handle< TDF_Attribute > &anAttribute) |
TDF_AttributeDelta::TDF_AttributeDelta | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [protected] |
virtual void TDF_AttributeDelta::Apply | ( | ) | [pure virtual] |
Implemented in TDataStd_DeltaOnModificationOfRealArray, TDataStd_DeltaOnModificationOfExtStringArray, TDataStd_DeltaOnModificationOfByteArray, TDataStd_DeltaOnModificationOfIntArray, TNaming_DeltaOnModification, TDataStd_DeltaOnModificationOfIntPackedMap, TDF_DeltaOnAddition, TDF_DeltaOnForget, TDF_DeltaOnResume, TNaming_DeltaOnRemoval, TDF_DeltaOnModification, TDF_DefaultDeltaOnModification, and TDF_DefaultDeltaOnRemoval.
Handle_TDF_Attribute TDF_AttributeDelta::Attribute | ( | ) | const |
virtual Standard_OStream& TDF_AttributeDelta::Dump | ( | Standard_OStream & | OS | ) | const [virtual] |
Standard_GUID TDF_AttributeDelta::ID | ( | ) | const |
TDF_Label TDF_AttributeDelta::Label | ( | ) | const |
Standard_OStream& TDF_AttributeDelta::operator<< | ( | Standard_OStream & | OS | ) | const [inline] |