0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / XmlMXCAFDoc / XmlMXCAFDoc_MaterialToolDriver.cxx
CommitLineData
b311480e 1// Created on: 2008-12-10
2// Created by: Pavel TELKOV
973c2be1 3// Copyright (c) 2008-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 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
973c2be1 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.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
16#include <XmlMXCAFDoc_MaterialToolDriver.ixx>
17#include <XCAFDoc_MaterialTool.hxx>
18
19//=======================================================================
20//function :
21//purpose :
22//=======================================================================
23XmlMXCAFDoc_MaterialToolDriver::XmlMXCAFDoc_MaterialToolDriver
24 (const Handle(CDM_MessageDriver)& theMsgDriver)
25: XmlMDF_ADriver (theMsgDriver, "xcaf", "MaterialTool")
26{
27}
28
29//=======================================================================
30//function :
31//purpose :
32//=======================================================================
33Handle(TDF_Attribute) XmlMXCAFDoc_MaterialToolDriver::NewEmpty() const
34{
35 return new XCAFDoc_MaterialTool();
36}
37
38//=======================================================================
39//function :
40//purpose :
41//=======================================================================
42Standard_Boolean XmlMXCAFDoc_MaterialToolDriver::Paste(const XmlObjMgt_Persistent& ,
43 const Handle(TDF_Attribute)& ,
44 XmlObjMgt_RRelocationTable& ) const
45{
46 return Standard_True;
47}
48
49//=======================================================================
50//function :
51//purpose :
52//=======================================================================
53void XmlMXCAFDoc_MaterialToolDriver::Paste(const Handle(TDF_Attribute)& ,
54 XmlObjMgt_Persistent& ,
55 XmlObjMgt_SRelocationTable& ) const
56{
57}