Open CASCADE Technology 6.6.0
|
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>
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_AttributeDeltaList & | AttributeDeltas () 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. |
TDF_Delta::TDF_Delta | ( | ) |
void TDF_Delta::AddAttributeDelta | ( | const Handle< TDF_AttributeDelta > & | anAttributeDelta | ) | [protected] |
const TDF_AttributeDeltaList& TDF_Delta::AttributeDeltas | ( | ) | const |
Standard_Integer TDF_Delta::BeginTime | ( | ) | const |
void TDF_Delta::Dump | ( | Standard_OStream & | OS | ) | const |
Standard_Integer TDF_Delta::EndTime | ( | ) | const |
Standard_Boolean TDF_Delta::IsApplicable | ( | const Standard_Integer | aCurrentTime | ) | const |
Standard_Boolean TDF_Delta::IsEmpty | ( | ) | const |
void TDF_Delta::Labels | ( | TDF_LabelList & | aLabelList | ) | const |
TCollection_ExtendedString TDF_Delta::Name | ( | ) | const |
void TDF_Delta::SetName | ( | const TCollection_ExtendedString & | theName | ) |
void TDF_Delta::Validity | ( | const Standard_Integer | aBeginTime, |
const Standard_Integer | anEndTime | ||
) | [protected] |