0025923: Remove small wires on face read from STEP
[occt.git] / src / MXCAFDoc / MXCAFDoc_DimTolToolRetrievalDriver.cxx
1 // Created on: 2008-12-10
2 // Created by: Pavel TELKOV
3 // Copyright (c) 2008-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
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.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #include <MDF_RRelocationTable.hxx>
17 #include <MXCAFDoc_DimTolToolRetrievalDriver.ixx>
18 #include <PXCAFDoc_DimTolTool.hxx>
19 #include <XCAFDoc_DimTolTool.hxx>
20
21
22 //=======================================================================
23 //function : Constructor
24 //purpose  : 
25 //=======================================================================
26
27 MXCAFDoc_DimTolToolRetrievalDriver::MXCAFDoc_DimTolToolRetrievalDriver
28   (const Handle(CDM_MessageDriver)& theMsgDriver) : MDF_ARDriver (theMsgDriver)
29 {
30 }
31
32 //=======================================================================
33 //function : VersionNumber
34 //purpose  : 
35 //=======================================================================
36
37 Standard_Integer MXCAFDoc_DimTolToolRetrievalDriver::VersionNumber() const
38 {
39   return 0;
40 }
41
42 //=======================================================================
43 //function : SourceType
44 //purpose  : 
45 //=======================================================================
46
47 Handle(Standard_Type) MXCAFDoc_DimTolToolRetrievalDriver::SourceType() const
48 {
49   static Handle(Standard_Type) sourceType = STANDARD_TYPE(PXCAFDoc_DimTolTool);
50   return sourceType;
51 }
52
53 //=======================================================================
54 //function : NewEmpty
55 //purpose  : 
56 //=======================================================================
57
58 Handle(TDF_Attribute) MXCAFDoc_DimTolToolRetrievalDriver::NewEmpty() const
59 {
60   return new XCAFDoc_DimTolTool();
61 }
62
63 //=======================================================================
64 //function : Paste
65 //purpose  : 
66 //=======================================================================
67
68 void MXCAFDoc_DimTolToolRetrievalDriver::Paste 
69   (const Handle(PDF_Attribute)& /* Source */,
70    const Handle(TDF_Attribute)& /* Target */,
71    const Handle(MDF_RRelocationTable)& /*RelocTable*/) const
72 {
73 }