Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
TDF_AttributeDelta Class Reference

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>

Inheritance diagram for TDF_AttributeDelta:
Inheritance graph
[legend]

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_OStreamDump (Standard_OStream &OS) const
 Dumps the contents.


Standard_OStreamoperator<< (Standard_OStream &OS) const

Protected Member Functions

 TDF_AttributeDelta (const Handle< TDF_Attribute > &anAttribute)

Constructor & Destructor Documentation

TDF_AttributeDelta::TDF_AttributeDelta ( const Handle< TDF_Attribute > &  anAttribute) [protected]

Member Function Documentation

virtual void TDF_AttributeDelta::Apply ( ) [pure virtual]
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]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines