1 // Created by: VAUTHIER Jean-Claude & DAUTRY Philippe
2 // Copyright (c) 1997-1999 Matra Datavision
3 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
19 //Version Date Purpose
20 // 0.0 Feb 10 1997 Creation
24 #include <DDF_Data.ixx>
27 #include <Standard_GUID.hxx>
29 #include <TCollection_AsciiString.hxx>
31 #include <TDF_Attribute.hxx>
32 #include <TDF_Label.hxx>
33 #include <TDF_ChildIterator.hxx>
34 #include <TDF_AttributeIterator.hxx>
35 #include <TDF_IDFilter.hxx>
36 #include <TDF_Tool.hxx>
40 //=======================================================================
43 //=======================================================================
45 DDF_Data::DDF_Data(const Handle(TDF_Data)& aDF) : myDF (aDF) {}
49 //=======================================================================
52 //=======================================================================
54 void DDF_Data::DrawOn(Draw_Display& /*dis*/) const
56 { cout<<"DDF_Data"<<endl; }
60 //=======================================================================
63 //=======================================================================
65 Handle(Draw_Drawable3D) DDF_Data::Copy() const { return new DDF_Data (myDF); }
69 //=======================================================================
72 //=======================================================================
74 void DDF_Data::Dump(Standard_OStream& S) const
77 TDF_Tool::DeepDump(S,myDF);
81 //=======================================================================
82 //function : DataFramework
84 //=======================================================================
86 Handle(TDF_Data) DDF_Data::DataFramework () const { return myDF; }
91 //=======================================================================
92 //function : DataFramework
94 //=======================================================================
96 void DDF_Data::DataFramework (const Handle(TDF_Data)& aDF)
103 //=======================================================================
106 //=======================================================================
108 void DDF_Data::Whatis (Draw_Interpretor& I) const
111 I << "Data Framework";