// File: DDF.cxx // ------- // Author: DAUTRY Philippe // Copyright: Matra Datavision 1997 // Version: 0.0 // History: Version Date Purpose // 0.0 Feb 10 1997 Creation #include #include #include #include #include #include #include #include #include #include //======================================================================= //function : AddLabel //purpose : //======================================================================= Standard_Boolean DDF::AddLabel ( const Handle(TDF_Data)& DF, const Standard_CString Entry, TDF_Label& Label ) { TDF_Tool::Label (DF,Entry,Label,Standard_True); return Standard_True; } //======================================================================= //function : FindLabel //purpose : //======================================================================= Standard_Boolean DDF::FindLabel (const Handle(TDF_Data)& DF, const Standard_CString Entry, TDF_Label& Label, const Standard_Boolean Complain) { Label.Nullify(); TDF_Tool::Label(DF,Entry,Label,Standard_False); if (Label.IsNull() && Complain) cout << "No label for entry " << Entry <DataFramework(); return Standard_True; } if (Complain) cout <<"framework "<