// File: TDF_AttributeDelta.cxx // ---------------------- // Author: DAUTRY Philippe // // Copyright: Matra Datavision 1997 // Version: 0.0 // History: Version Date Purpose // 0.0 Sep 8 1997 Creation #include #include #include #include #include //======================================================================= //function : TDF_AttributeDelta //purpose : //======================================================================= TDF_AttributeDelta::TDF_AttributeDelta (const Handle(TDF_Attribute)& anAttribute) : myAttribute(anAttribute), myLabel(anAttribute->Label()) {} //======================================================================= //function : Label //purpose : //======================================================================= TDF_Label TDF_AttributeDelta::Label() const { return myLabel; } //======================================================================= //function : Attribute //purpose : //======================================================================= Handle(TDF_Attribute) TDF_AttributeDelta::Attribute() const { return myAttribute; } //======================================================================= //function : ID //purpose : //======================================================================= Standard_GUID TDF_AttributeDelta::ID() const { return myAttribute->ID(); } //======================================================================= //function : Dump //purpose : //======================================================================= Standard_OStream& TDF_AttributeDelta::Dump(Standard_OStream& OS) const { static TCollection_AsciiString entry; TDF_Tool::Entry(Label(),entry); OS<DynamicType()->Name()<<" at "<DynamicType()->Name(); return OS; }