Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
TDF_Delta Class Reference

A delta set is available at <aSourceTime>. If
applied, it restores the TDF_Data in the state it
was at <aTargetTime>.

#include <TDF_Delta.hxx>

Inheritance diagram for TDF_Delta:
Inheritance graph
[legend]

Public Member Functions

 TDF_Delta ()
 Creates a delta.

Standard_Boolean IsEmpty () const
 Returns true if there is nothing to undo.


Standard_Boolean IsApplicable (const Standard_Integer aCurrentTime) const
 Returns true if the Undo action of <me> is
applicable at <aCurrentTime>.


Standard_Integer BeginTime () const
 Returns the field <myBeginTime>.

Standard_Integer EndTime () const
 Returns the field <myEndTime>.

void Labels (TDF_LabelList &aLabelList) const
 Adds in <aLabelList> the labels of the attribute deltas.
Caution: <aLabelList> is not cleared before use.

const TDF_AttributeDeltaListAttributeDeltas () const
 Returns the field <myAttDeltaList>.

TCollection_ExtendedString Name () const
 Returns a name associated with this delta.

void SetName (const TCollection_ExtendedString &theName)
 Associates a name <theName> with this delta

void Dump (Standard_OStream &OS) const

Protected Member Functions

void Validity (const Standard_Integer aBeginTime, const Standard_Integer anEndTime)
 Validates <me> at <aBeginTime>. If applied, it
restores the TDF_Data in the state it was at
<anEndTime>. Reserved to TDF_Data.

void AddAttributeDelta (const Handle< TDF_AttributeDelta > &anAttributeDelta)
 Adds an AttributeDelta to the list. Reserved to
TDF_Data.


Constructor & Destructor Documentation


Member Function Documentation

void TDF_Delta::AddAttributeDelta ( const Handle< TDF_AttributeDelta > &  anAttributeDelta) [protected]
void TDF_Delta::Labels ( TDF_LabelList aLabelList) const
void TDF_Delta::Validity ( const Standard_Integer  aBeginTime,
const Standard_Integer  anEndTime 
) [protected]

The documentation for this class was generated from the following file: