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 addLinetype(const DL_LinetypeData&) {}
47  virtual void addLinetypeDash(double) {}
48  virtual void addBlock(const DL_BlockData&) {}
49  virtual void endBlock() {}
50  virtual void addTextStyle(const DL_StyleData&) {}
51  virtual void addPoint(const DL_PointData&) {}
52  virtual void addLine(const DL_LineData&) {}
53  virtual void addXLine(const DL_XLineData&) {}
54  virtual void addRay(const DL_RayData&) {}
55 
56  virtual void addArc(const DL_ArcData&) {}
57  virtual void addCircle(const DL_CircleData&) {}
58  virtual void addEllipse(const DL_EllipseData&) {}
59 
60  virtual void addPolyline(const DL_PolylineData&) {}
61  virtual void addVertex(const DL_VertexData&) {}
62 
63  virtual void addSpline(const DL_SplineData&) {}
64  virtual void addControlPoint(const DL_ControlPointData&) {}
65  virtual void addFitPoint(const DL_FitPointData&) {}
66  virtual void addKnot(const DL_KnotData&) {}
67 
68  virtual void addInsert(const DL_InsertData&) {}
69 
70  virtual void addMText(const DL_MTextData&) {}
71  virtual void addMTextChunk(const std::string&) {}
72  virtual void addText(const DL_TextData&) {}
73  virtual void addAttribute(const DL_AttributeData&) {}
74 
75  virtual void addDimAlign(const DL_DimensionData&,
76  const DL_DimAlignedData&) {}
77  virtual void addDimLinear(const DL_DimensionData&,
78  const DL_DimLinearData&) {}
79  virtual void addDimRadial(const DL_DimensionData&,
80  const DL_DimRadialData&) {}
81  virtual void addDimDiametric(const DL_DimensionData&,
82  const DL_DimDiametricData&) {}
83  virtual void addDimAngular(const DL_DimensionData&,
84  const DL_DimAngularData&) {}
85  virtual void addDimAngular3P(const DL_DimensionData&,
86  const DL_DimAngular3PData&) {}
87  virtual void addDimOrdinate(const DL_DimensionData&,
88  const DL_DimOrdinateData&) {}
89  virtual void addLeader(const DL_LeaderData&) {}
90  virtual void addLeaderVertex(const DL_LeaderVertexData&) {}
91 
92  virtual void addHatch(const DL_HatchData&) {}
93 
94  virtual void addTrace(const DL_TraceData&) {}
95  virtual void add3dFace(const DL_3dFaceData&) {}
96  virtual void addSolid(const DL_SolidData&) {}
97 
98  virtual void addImage(const DL_ImageData&) {}
99  virtual void linkImage(const DL_ImageDefData&) {}
100  virtual void addHatchLoop(const DL_HatchLoopData&) {}
101  virtual void addHatchEdge(const DL_HatchEdgeData&) {}
102 
103  virtual void addXRecord(const std::string&) {}
104  virtual void addXRecordString(int, const std::string&) {}
105  virtual void addXRecordReal(int, double) {}
106  virtual void addXRecordInt(int, int) {}
107  virtual void addXRecordBool(int, bool) {}
108 
109  virtual void addXDataApp(const std::string&) {}
110  virtual void addXDataString(int, const std::string&) {}
111  virtual void addXDataReal(int, double) {}
112  virtual void addXDataInt(int, int) {}
113 
114  virtual void addDictionary(const DL_DictionaryData&) {}
116 
117  virtual void endEntity() {}
118 
119  virtual void addComment(const std::string&) {}
120 
121  virtual void setVariableVector(const std::string&, double, double, double, int) {}
122  virtual void setVariableString(const std::string&, const std::string&, int) {}
123  virtual void setVariableInt(const std::string&, int, int) {}
124  virtual void setVariableDouble(const std::string&, double, int) {}
125 #ifdef DL_COMPAT
126  virtual void setVariableVector(const char*, double, double, double, int) {}
127  virtual void setVariableString(const char*, const char*, int) {}
128  virtual void setVariableInt(const char*, int, int) {}
129  virtual void setVariableDouble(const char*, double, int) {}
130  virtual void processCodeValuePair(unsigned int, char*) {}
131  virtual void addComment(const char*) {}
132  virtual void addMTextChunk(const char*) {}
133 #endif
134  virtual void endSequence() {}
135 };
136 
137 #endif