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