QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dl_creationadapter.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** Copyright (C) 2001-2013 RibbonSoft, GmbH. All rights reserved.
3 **
4 ** This file is part of the dxflib project.
5 **
6 ** This file is free software; you can redistribute it and/or modify
7 ** it under the terms of the GNU General Public License as published by
8 ** the Free Software Foundation; either version 2 of the License, or
9 ** (at your option) any later version.
10 **
11 ** Licensees holding valid dxflib Professional Edition licenses may use
12 ** this file in accordance with the dxflib Commercial License
13 ** Agreement provided with the Software.
14 **
15 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 **
18 ** See http://www.ribbonsoft.com for further details.
19 **
20 ** Contact info@ribbonsoft.com if any conditions of this licensing are
21 ** not clear to you.
22 **
23 **********************************************************************/
24 
25 #ifndef DL_CREATIONADAPTER_H
26 #define DL_CREATIONADAPTER_H
27 
28 #include "dl_global.h"
29 
30 #include "dl_creationinterface.h"
31 
40 public:
42  virtual ~DL_CreationAdapter() {}
43  virtual void processCodeValuePair(unsigned int, const std::string&) {}
44  virtual void endSection() {}
45  virtual void addLayer(const DL_LayerData&) {}
46  virtual void addBlock(const DL_BlockData&) {}
47  virtual void endBlock() {}
48  virtual void addTextStyle(const DL_StyleData&) {}
49  virtual void addPoint(const DL_PointData&) {}
50  virtual void addLine(const DL_LineData&) {}
51  virtual void addXLine(const DL_XLineData&) {}
52  virtual void addRay(const DL_RayData&) {}
53 
54  virtual void addArc(const DL_ArcData&) {}
55  virtual void addCircle(const DL_CircleData&) {}
56  virtual void addEllipse(const DL_EllipseData&) {}
57 
58  virtual void addPolyline(const DL_PolylineData&) {}
59  virtual void addVertex(const DL_VertexData&) {}
60 
61  virtual void addSpline(const DL_SplineData&) {}
62  virtual void addControlPoint(const DL_ControlPointData&) {}
63  virtual void addFitPoint(const DL_FitPointData&) {}
64  virtual void addKnot(const DL_KnotData&) {}
65 
66  virtual void addInsert(const DL_InsertData&) {}
67 
68  virtual void addMText(const DL_MTextData&) {}
69  virtual void addMTextChunk(const std::string&) {}
70  virtual void addText(const DL_TextData&) {}
71 
72  virtual void addDimAlign(const DL_DimensionData&,
73  const DL_DimAlignedData&) {}
74  virtual void addDimLinear(const DL_DimensionData&,
75  const DL_DimLinearData&) {}
76  virtual void addDimRadial(const DL_DimensionData&,
77  const DL_DimRadialData&) {}
78  virtual void addDimDiametric(const DL_DimensionData&,
79  const DL_DimDiametricData&) {}
80  virtual void addDimAngular(const DL_DimensionData&,
81  const DL_DimAngularData&) {}
82  virtual void addDimAngular3P(const DL_DimensionData&,
83  const DL_DimAngular3PData&) {}
84  virtual void addDimOrdinate(const DL_DimensionData&,
85  const DL_DimOrdinateData&) {}
86  virtual void addLeader(const DL_LeaderData&) {}
87  virtual void addLeaderVertex(const DL_LeaderVertexData&) {}
88 
89  virtual void addHatch(const DL_HatchData&) {}
90 
91  virtual void addTrace(const DL_TraceData&) {}
92  virtual void add3dFace(const DL_3dFaceData&) {}
93  virtual void addSolid(const DL_SolidData&) {}
94 
95  virtual void addImage(const DL_ImageData&) {}
96  virtual void linkImage(const DL_ImageDefData&) {}
97  virtual void addHatchLoop(const DL_HatchLoopData&) {}
98  virtual void addHatchEdge(const DL_HatchEdgeData&) {}
99 
100  virtual void addXRecord(const std::string&) {}
101  virtual void addXRecordString(int, const std::string&) {}
102  virtual void addXRecordReal(int, double) {}
103  virtual void addXRecordInt(int, int) {}
104  virtual void addXRecordBool(int, bool) {}
105 
106  virtual void addXDataApp(const std::string&) {}
107  virtual void addXDataString(int, const std::string&) {}
108  virtual void addXDataReal(int, double) {}
109  virtual void addXDataInt(int, int) {}
110 
111  virtual void addDictionary(const DL_DictionaryData&) {}
113 
114  virtual void endEntity() {}
115 
116  virtual void addComment(const std::string&) {}
117 
118  virtual void setVariableVector(const std::string&, double, double, double, int) {}
119  virtual void setVariableString(const std::string&, const std::string&, int) {}
120  virtual void setVariableInt(const std::string&, int, int) {}
121  virtual void setVariableDouble(const std::string&, double, int) {}
122 #ifdef DL_COMPAT
123  virtual void setVariableVector(const char*, double, double, double, int) {}
124  virtual void setVariableString(const char*, const char*, int) {}
125  virtual void setVariableInt(const char*, int, int) {}
126  virtual void setVariableDouble(const char*, double, int) {}
127  virtual void processCodeValuePair(unsigned int, char*) {}
128  virtual void addComment(const char*) {}
129  virtual void addMTextChunk(const char*) {}
130 #endif
131  virtual void endSequence() {}
132 };
133 
134 #endif