| 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 [email protected] if any conditions of this licensing are |
| 21 | ** not clear to you. |
| 22 | ** |
| 23 | **********************************************************************/ |
| 24 | |
| 25 | #ifndef DL_DXF_H |
| 26 | #define DL_DXF_Hcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:26:9`! |
| 27 | |
| 28 | #include "dl_global.h"cxx . . $ `<file>/libs/qCC_io/extern/dxflib/src/dl_global.h`/ |
| 29 | |
| 30 | #include <limits> |
| 31 | #include <stdio.h> |
| 32 | #include <stdlib.h> |
| 33 | #include <string> |
| 34 | #include <sstream> |
| 35 | #include <map> |
| 36 | |
| 37 | #include "dl_attributes.h"cxx . . $ `<file>/libs/qCC_io/extern/dxflib/src/dl_attributes.h`/ |
| 38 | #include "dl_codes.h"cxx . . $ `<file>/libs/qCC_io/extern/dxflib/src/dl_codes.h`/ |
| 39 | #include "dl_entities.h"cxx . . $ `<file>/libs/qCC_io/extern/dxflib/src/dl_entities.h`/ |
| 40 | #include "dl_writer_ascii.h"cxx . . $ `<file>/libs/qCC_io/extern/dxflib/src/dl_writer_ascii.h`/ |
| 41 | |
| 42 | #ifdef _WIN32 |
| 43 | #undef M_PI |
| 44 | #define M_PI 3.14159265358979323846 |
| 45 | #pragma warning(disable : 4800) |
| 46 | #endif |
| 47 | |
| 48 | #ifndef M_PIcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_codes.h:55:9`! |
| 49 | #define M_PI 3.1415926535897932384626433832795 |
| 50 | #endif |
| 51 | |
| 52 | #ifndef DL_NANDOUBLE |
| 53 | #define DL_NANDOUBLEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:53:9`! std::numeric_limits<double>::quiet_NaN() |
| 54 | #endif |
| 55 | |
| 56 | class DL_CreationInterfacecxx . . $ DL_CreationInterface#; |
| 57 | class DL_WriterAcxx . . $ DL_WriterA#; |
| 58 | |
| 59 | |
| 60 | #define DL_VERSIONcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:60:9`! "3.17.0.0" |
| 61 | |
| 62 | #define DL_VERSION_MAJORcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:62:9`! 3 |
| 63 | #define DL_VERSION_MINORcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:63:9`! 17 |
| 64 | #define DL_VERSION_REVcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:64:9`! 0 |
| 65 | #define DL_VERSION_BUILDcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:65:9`! 0 |
| 66 | |
| 67 | #define DL_UNKNOWNcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:67:9`! 0 |
| 68 | #define DL_LAYERcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:68:9`! 10 |
| 69 | #define DL_BLOCKcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:69:9`! 11 |
| 70 | #define DL_ENDBLKcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:70:9`! 12 |
| 71 | #define DL_LINETYPEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:71:9`! 13 |
| 72 | #define DL_STYLEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:72:9`! 20 |
| 73 | #define DL_SETTINGcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:73:9`! 50 |
| 74 | #define DL_ENTITY_POINTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:74:9`! 100 |
| 75 | #define DL_ENTITY_LINEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:75:9`! 101 |
| 76 | #define DL_ENTITY_POLYLINEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:76:9`! 102 |
| 77 | #define DL_ENTITY_LWPOLYLINEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:77:9`! 103 |
| 78 | #define DL_ENTITY_VERTEXcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:78:9`! 104 |
| 79 | #define DL_ENTITY_SPLINEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:79:9`! 105 |
| 80 | #define DL_ENTITY_KNOTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:80:9`! 106 |
| 81 | #define DL_ENTITY_CONTROLPOINTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:81:9`! 107 |
| 82 | #define DL_ENTITY_ARCcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:82:9`! 108 |
| 83 | #define DL_ENTITY_CIRCLEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:83:9`! 109 |
| 84 | #define DL_ENTITY_ELLIPSEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:84:9`! 110 |
| 85 | #define DL_ENTITY_INSERTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:85:9`! 111 |
| 86 | #define DL_ENTITY_TEXTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:86:9`! 112 |
| 87 | #define DL_ENTITY_MTEXTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:87:9`! 113 |
| 88 | #define DL_ENTITY_DIMENSIONcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:88:9`! 114 |
| 89 | #define DL_ENTITY_LEADERcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:89:9`! 115 |
| 90 | #define DL_ENTITY_HATCHcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:90:9`! 116 |
| 91 | #define DL_ENTITY_ATTRIBcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:91:9`! 117 |
| 92 | #define DL_ENTITY_IMAGEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:92:9`! 118 |
| 93 | #define DL_ENTITY_IMAGEDEFcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:93:9`! 119 |
| 94 | #define DL_ENTITY_TRACEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:94:9`! 120 |
| 95 | #define DL_ENTITY_SOLIDcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:95:9`! 121 |
| 96 | #define DL_ENTITY_3DFACEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:96:9`! 122 |
| 97 | #define DL_ENTITY_XLINEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:97:9`! 123 |
| 98 | #define DL_ENTITY_RAYcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:98:9`! 124 |
| 99 | #define DL_ENTITY_ARCALIGNEDTEXTcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:99:9`! 125 |
| 100 | #define DL_ENTITY_SEQENDcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:100:9`! 126 |
| 101 | #define DL_XRECORDcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:101:9`! 200 |
| 102 | #define DL_DICTIONARYcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_dxf.h:102:9`! 210 |
| 103 | |
| 104 | |
| 105 | /** |
| 106 | * Reading and writing of DXF files. |
| 107 | * |
| 108 | * This class can read in a DXF file and calls methods from the |
| 109 | * interface DL_EntityContainer to add the entities to the |
| 110 | * contianer provided by the user of the library. |
| 111 | * |
| 112 | * It can also be used to write DXF files to a certain extent. |
| 113 | * |
| 114 | * When saving entities, special values for colors and linetypes |
| 115 | * can be used: |
| 116 | * |
| 117 | * Special colors are 0 (=BYBLOCK) and 256 (=BYLAYER). |
| 118 | * Special linetypes are "BYLAYER" and "BYBLOCK". |
| 119 | * |
| 120 | * @author Andrew Mustun |
| 121 | */ |
| 122 | class DXFLIB_EXPORTcxx . . $ `/build/tmp.dLA5QBHzaL/package/libs/qCC_io/extern/dxflib/src/dl_global.h:12:12`! DL_Dxfcxx . . $ DL_Dxf# { |
| 123 | public: |
| 124 | DL_Dxfcxx . . $ DL_Dxf#DL_Dxf(49f6e7a06ebc5aa8).(); |
| 125 | ~cxx . . $ DL_Dxf#`~DL_Dxf`(49f6e7a06ebc5aa8).DL_Dxfcxx . . $ DL_Dxf#(); |
| 126 | |
| 127 | #ifdef _MSC_VER |
| 128 | bool in(const std::wstring& file, |
| 129 | #else |
| 130 | bool incxx . . $ DL_Dxf#in(c102565f2828b63d).(const stdcxx . . $ std/::stringcxx . . $ std/string#& file, |
| 131 | #endif |
| 132 | DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 133 | bool readDxfGroupscxx . . $ DL_Dxf#readDxfGroups(d2edda1850e7276a).(FILE* fp, |
| 134 | DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 135 | static bool getStrippedLinecxx . . $ DL_Dxf#getStrippedLine(ec61468c86fd9205).(stdcxx . . $ std/::stringcxx . . $ std/string#& s, unsigned int size, |
| 136 | FILE* stream, bool stripSpace = true); |
| 137 | |
| 138 | bool readDxfGroupscxx . . $ DL_Dxf#readDxfGroups(670b6ef48fcf3177).(stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream#& stream, |
| 139 | DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 140 | bool incxx . . $ DL_Dxf#in(670b6ef48fcf3177).(stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream# &stream, |
| 141 | DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 142 | static bool getStrippedLinecxx . . $ DL_Dxf#getStrippedLine(ae02166abec673b2).(stdcxx . . $ std/::stringcxx . . $ std/string#& s, unsigned int size, |
| 143 | stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream#& stream, bool stripSpace = true); |
| 144 | |
| 145 | static bool stripWhiteSpacecxx . . $ DL_Dxf#stripWhiteSpace(ee29b0e399c39732).(char** s, bool stripSpaces = true); |
| 146 | |
| 147 | bool processDXFGroupcxx . . $ DL_Dxf#processDXFGroup(b28a72dd7550b72c).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface, |
| 148 | int groupCode, const stdcxx . . $ std/::stringcxx . . $ std/string#& groupValue); |
| 149 | void addSettingcxx . . $ DL_Dxf#addSetting(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 150 | void addLayercxx . . $ DL_Dxf#addLayer(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 151 | void addLinetypecxx . . $ DL_Dxf#addLinetype(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface# *creationInterface); |
| 152 | void addBlockcxx . . $ DL_Dxf#addBlock(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 153 | void endBlockcxx . . $ DL_Dxf#endBlock(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 154 | void addTextStylecxx . . $ DL_Dxf#addTextStyle(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 155 | |
| 156 | void addPointcxx . . $ DL_Dxf#addPoint(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 157 | void addLinecxx . . $ DL_Dxf#addLine(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 158 | void addXLinecxx . . $ DL_Dxf#addXLine(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 159 | void addRaycxx . . $ DL_Dxf#addRay(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 160 | |
| 161 | void addPolylinecxx . . $ DL_Dxf#addPolyline(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 162 | void addVertexcxx . . $ DL_Dxf#addVertex(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 163 | |
| 164 | void addSplinecxx . . $ DL_Dxf#addSpline(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 165 | |
| 166 | void addArccxx . . $ DL_Dxf#addArc(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 167 | void addCirclecxx . . $ DL_Dxf#addCircle(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 168 | void addEllipsecxx . . $ DL_Dxf#addEllipse(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 169 | void addInsertcxx . . $ DL_Dxf#addInsert(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 170 | |
| 171 | void addTracecxx . . $ DL_Dxf#addTrace(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 172 | void add3dFacecxx . . $ DL_Dxf#add3dFace(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 173 | void addSolidcxx . . $ DL_Dxf#addSolid(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 174 | |
| 175 | void addMTextcxx . . $ DL_Dxf#addMText(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 176 | void addTextcxx . . $ DL_Dxf#addText(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 177 | void addArcAlignedTextcxx . . $ DL_Dxf#addArcAlignedText(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 178 | |
| 179 | void addAttributecxx . . $ DL_Dxf#addAttribute(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 180 | |
| 181 | DL_DimensionDatacxx . . $ DL_DimensionData# getDimDatacxx . . $ DL_Dxf#getDimData(84294167a566267a).(); |
| 182 | void addDimLinearcxx . . $ DL_Dxf#addDimLinear(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 183 | void addDimAlignedcxx . . $ DL_Dxf#addDimAligned(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 184 | void addDimRadialcxx . . $ DL_Dxf#addDimRadial(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 185 | void addDimDiametriccxx . . $ DL_Dxf#addDimDiametric(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 186 | void addDimAngularcxx . . $ DL_Dxf#addDimAngular(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 187 | void addDimAngular3Pcxx . . $ DL_Dxf#addDimAngular3P(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 188 | void addDimOrdinatecxx . . $ DL_Dxf#addDimOrdinate(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 189 | |
| 190 | void addLeadercxx . . $ DL_Dxf#addLeader(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 191 | |
| 192 | void addHatchcxx . . $ DL_Dxf#addHatch(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 193 | void addHatchLoopcxx . . $ DL_Dxf#addHatchLoop(49f6e7a06ebc5aa8).(); |
| 194 | void addHatchEdgecxx . . $ DL_Dxf#addHatchEdge(49f6e7a06ebc5aa8).(); |
| 195 | bool handleHatchDatacxx . . $ DL_Dxf#handleHatchData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 196 | |
| 197 | void addImagecxx . . $ DL_Dxf#addImage(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 198 | void addImageDefcxx . . $ DL_Dxf#addImageDef(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 199 | |
| 200 | void addCommentcxx . . $ DL_Dxf#addComment(57272556092ef34b).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface, const stdcxx . . $ std/::stringcxx . . $ std/string#& comment); |
| 201 | |
| 202 | void addDictionarycxx . . $ DL_Dxf#addDictionary(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 203 | void addDictionaryEntrycxx . . $ DL_Dxf#addDictionaryEntry(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 204 | |
| 205 | bool handleXRecordDatacxx . . $ DL_Dxf#handleXRecordData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 206 | bool handleDictionaryDatacxx . . $ DL_Dxf#handleDictionaryData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 207 | |
| 208 | bool handleXDatacxx . . $ DL_Dxf#handleXData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface# *creationInterface); |
| 209 | bool handleMTextDatacxx . . $ DL_Dxf#handleMTextData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 210 | bool handleLWPolylineDatacxx . . $ DL_Dxf#handleLWPolylineData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 211 | bool handleSplineDatacxx . . $ DL_Dxf#handleSplineData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 212 | bool handleLeaderDatacxx . . $ DL_Dxf#handleLeaderData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 213 | bool handleLinetypeDatacxx . . $ DL_Dxf#handleLinetypeData(bbc0a6e8e0a900ce).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 214 | |
| 215 | void endEntitycxx . . $ DL_Dxf#endEntity(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 216 | |
| 217 | void endSequencecxx . . $ DL_Dxf#endSequence(52ee9a2c68a8b3cd).(DL_CreationInterfacecxx . . $ DL_CreationInterface#* creationInterface); |
| 218 | |
| 219 | //int stringToInt(const char* s, bool* ok=NULL); |
| 220 | |
| 221 | #ifdef _MSC_VER |
| 222 | DL_WriterA* out(const std::wstring& file, |
| 223 | #else |
| 224 | DL_WriterAcxx . . $ DL_WriterA#* outcxx . . $ DL_Dxf#out(2dd20ec70babdf38).(const stdcxx . . $ std/::stringcxx . . $ std/string#& file, |
| 225 | #endif |
| 226 | DL_Codescxx . . $ DL_Codes#::versioncxx . . $ DL_Codes#version# version=DL_VERSION_2000cxx . . $ DL_Codes#); |
| 227 | |
| 228 | void writeHeadercxx . . $ DL_Dxf#writeHeader(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 229 | |
| 230 | void writePointcxx . . $ DL_Dxf#writePoint(62390b547d90d6d3).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 231 | const DL_PointDatacxx . . $ DL_PointData#& data, |
| 232 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 233 | void writeLinecxx . . $ DL_Dxf#writeLine(929f46735708dc32).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 234 | const DL_LineDatacxx . . $ DL_LineData#& data, |
| 235 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 236 | void writeXLinecxx . . $ DL_Dxf#writeXLine(f4da532516d9dcb7).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 237 | const DL_XLineDatacxx . . $ DL_XLineData#& data, |
| 238 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 239 | void writeRaycxx . . $ DL_Dxf#writeRay(215a402ea6d548bb).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 240 | const DL_RayDatacxx . . $ DL_RayData#& data, |
| 241 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 242 | void writePolylinecxx . . $ DL_Dxf#writePolyline(6b67c8995302ca49).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 243 | const DL_PolylineDatacxx . . $ DL_PolylineData#& data, |
| 244 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 245 | void writeVertexcxx . . $ DL_Dxf#writeVertex(548fb8bd4487ac33).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 246 | const DL_VertexDatacxx . . $ DL_VertexData#& data); |
| 247 | void writePolylineEndcxx . . $ DL_Dxf#writePolylineEnd(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 248 | void writeSplinecxx . . $ DL_Dxf#writeSpline(a9f1f84006a88b79).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 249 | const DL_SplineDatacxx . . $ DL_SplineData#& data, |
| 250 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 251 | void writeControlPointcxx . . $ DL_Dxf#writeControlPoint(20598baad1914359).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 252 | const DL_ControlPointDatacxx . . $ DL_ControlPointData#& data); |
| 253 | void writeFitPointcxx . . $ DL_Dxf#writeFitPoint(11c6b7d35ef30fbb).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 254 | const DL_FitPointDatacxx . . $ DL_FitPointData#& data); |
| 255 | void writeKnotcxx . . $ DL_Dxf#writeKnot(2e1bc543b37f5404).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 256 | const DL_KnotDatacxx . . $ DL_KnotData#& data); |
| 257 | void writeCirclecxx . . $ DL_Dxf#writeCircle(c34d32e0a3278698).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 258 | const DL_CircleDatacxx . . $ DL_CircleData#& data, |
| 259 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 260 | void writeArccxx . . $ DL_Dxf#writeArc(679b0063c95205dc).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 261 | const DL_ArcDatacxx . . $ DL_ArcData#& data, |
| 262 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 263 | void writeEllipsecxx . . $ DL_Dxf#writeEllipse(586c0956bc6e02f6).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 264 | const DL_EllipseDatacxx . . $ DL_EllipseData#& data, |
| 265 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 266 | void writeSolidcxx . . $ DL_Dxf#writeSolid(1ff0433749b7bc76).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 267 | const DL_SolidDatacxx . . $ DL_SolidData#& data, |
| 268 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 269 | void writeTracecxx . . $ DL_Dxf#writeTrace(1ff0433749b7bc76).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 270 | const DL_TraceDatacxx . . $ DL_TraceData#& data, |
| 271 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 272 | void write3dFacecxx . . $ DL_Dxf#write3dFace(1ff0433749b7bc76).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 273 | const DL_3dFaceDatacxx . . $ DL_3dFaceData#& data, |
| 274 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 275 | void writeInsertcxx . . $ DL_Dxf#writeInsert(b1a06421981d952f).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 276 | const DL_InsertDatacxx . . $ DL_InsertData#& data, |
| 277 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 278 | void writeMTextcxx . . $ DL_Dxf#writeMText(28e5640335d4ca90).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 279 | const DL_MTextDatacxx . . $ DL_MTextData#& data, |
| 280 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 281 | void writeTextcxx . . $ DL_Dxf#writeText(edef8c9fe9b95325).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 282 | const DL_TextDatacxx . . $ DL_TextData#& data, |
| 283 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 284 | void writeAttributecxx . . $ DL_Dxf#writeAttribute(d9737f61930010dd).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 285 | const DL_AttributeDatacxx . . $ DL_AttributeData#& data, |
| 286 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 287 | void writeDimStyleOverridescxx . . $ DL_Dxf#writeDimStyleOverrides(917811c29cfe7fb4).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 288 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data); |
| 289 | void writeDimAlignedcxx . . $ DL_Dxf#writeDimAligned(80120a4410a0fe1d).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 290 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 291 | const DL_DimAlignedDatacxx . . $ DL_DimAlignedData#& edata, |
| 292 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 293 | void writeDimLinearcxx . . $ DL_Dxf#writeDimLinear(64aae7e27172789e).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 294 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 295 | const DL_DimLinearDatacxx . . $ DL_DimLinearData#& edata, |
| 296 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 297 | void writeDimRadialcxx . . $ DL_Dxf#writeDimRadial(3b451a9a69c19ecd).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 298 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 299 | const DL_DimRadialDatacxx . . $ DL_DimRadialData#& edata, |
| 300 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 301 | void writeDimDiametriccxx . . $ DL_Dxf#writeDimDiametric(95f8b57b3093f83c).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 302 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 303 | const DL_DimDiametricDatacxx . . $ DL_DimDiametricData#& edata, |
| 304 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 305 | void writeDimAngularcxx . . $ DL_Dxf#writeDimAngular(51edd4ee8c2850f1).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 306 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 307 | const DL_DimAngularDatacxx . . $ DL_DimAngularData#& edata, |
| 308 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 309 | void writeDimAngular3Pcxx . . $ DL_Dxf#writeDimAngular3P(9b665b0fe806b0f9).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 310 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 311 | const DL_DimAngular3PDatacxx . . $ DL_DimAngular3PData#& edata, |
| 312 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 313 | void writeDimOrdinatecxx . . $ DL_Dxf#writeDimOrdinate(4bbbcd37fe654f9a).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 314 | const DL_DimensionDatacxx . . $ DL_DimensionData#& data, |
| 315 | const DL_DimOrdinateDatacxx . . $ DL_DimOrdinateData#& edata, |
| 316 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 317 | void writeLeadercxx . . $ DL_Dxf#writeLeader(8875c8679bd7918a).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 318 | const DL_LeaderDatacxx . . $ DL_LeaderData#& data, |
| 319 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 320 | void writeLeaderVertexcxx . . $ DL_Dxf#writeLeaderVertex(c08fbdd6c438aa9c).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 321 | const DL_LeaderVertexDatacxx . . $ DL_LeaderVertexData#& data); |
| 322 | void writeHatch1cxx . . $ DL_Dxf#writeHatch1(a5c494c7cafc53a7).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 323 | const DL_HatchDatacxx . . $ DL_HatchData#& data, |
| 324 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 325 | void writeHatch2cxx . . $ DL_Dxf#writeHatch2(a5c494c7cafc53a7).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 326 | const DL_HatchDatacxx . . $ DL_HatchData#& data, |
| 327 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 328 | void writeHatchLoop1cxx . . $ DL_Dxf#writeHatchLoop1(1a5bbbb06ecd24e8).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 329 | const DL_HatchLoopDatacxx . . $ DL_HatchLoopData#& data); |
| 330 | void writeHatchLoop2cxx . . $ DL_Dxf#writeHatchLoop2(1a5bbbb06ecd24e8).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 331 | const DL_HatchLoopDatacxx . . $ DL_HatchLoopData#& data); |
| 332 | void writeHatchEdgecxx . . $ DL_Dxf#writeHatchEdge(8b9e637cca590bc9).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 333 | const DL_HatchEdgeDatacxx . . $ DL_HatchEdgeData#& data); |
| 334 | |
| 335 | int writeImagecxx . . $ DL_Dxf#writeImage(b8523176f263a138).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 336 | const DL_ImageDatacxx . . $ DL_ImageData#& data, |
| 337 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 338 | |
| 339 | void writeImageDefcxx . . $ DL_Dxf#writeImageDef(c8bcc975dd5e4ec2).(DL_WriterAcxx . . $ DL_WriterA#& dw, int handle, |
| 340 | const DL_ImageDatacxx . . $ DL_ImageData#& data); |
| 341 | |
| 342 | void writeLayercxx . . $ DL_Dxf#writeLayer(7947cceaa3282807).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 343 | const DL_LayerDatacxx . . $ DL_LayerData#& data, |
| 344 | const DL_Attributescxx . . $ DL_Attributes#& attrib); |
| 345 | |
| 346 | void writeLinetypecxx . . $ DL_Dxf#writeLinetype(592ada1169f6bbf4).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 347 | const DL_LinetypeDatacxx . . $ DL_LinetypeData#& data); |
| 348 | |
| 349 | void writeAppidcxx . . $ DL_Dxf#writeAppid(2822f000a15d61c4).(DL_WriterAcxx . . $ DL_WriterA#& dw, const stdcxx . . $ std/::stringcxx . . $ std/string#& name); |
| 350 | |
| 351 | void writeBlockcxx . . $ DL_Dxf#writeBlock(b66a20c04f5a64f2).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 352 | const DL_BlockDatacxx . . $ DL_BlockData#& data); |
| 353 | void writeEndBlockcxx . . $ DL_Dxf#writeEndBlock(2822f000a15d61c4).(DL_WriterAcxx . . $ DL_WriterA#& dw, const stdcxx . . $ std/::stringcxx . . $ std/string#& name); |
| 354 | |
| 355 | void writeVPortcxx . . $ DL_Dxf#writeVPort(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 356 | void writeStylecxx . . $ DL_Dxf#writeStyle(3204727ad36fc685).(DL_WriterAcxx . . $ DL_WriterA#& dw, const DL_StyleDatacxx . . $ DL_StyleData#& style); |
| 357 | void writeViewcxx . . $ DL_Dxf#writeView(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 358 | void writeUcscxx . . $ DL_Dxf#writeUcs(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 359 | void writeDimStylecxx . . $ DL_Dxf#writeDimStyle(8e4aef68c96da7f1).(DL_WriterAcxx . . $ DL_WriterA#& dw, |
| 360 | double dimasz, double dimexe, double dimexo, |
| 361 | double dimgap, double dimtxt); |
| 362 | void writeBlockRecordcxx . . $ DL_Dxf#writeBlockRecord(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 363 | void writeBlockRecordcxx . . $ DL_Dxf#writeBlockRecord(2822f000a15d61c4).(DL_WriterAcxx . . $ DL_WriterA#& dw, const stdcxx . . $ std/::stringcxx . . $ std/string#& name); |
| 364 | void writeObjectscxx . . $ DL_Dxf#writeObjects(2822f000a15d61c4).(DL_WriterAcxx . . $ DL_WriterA#& dw, const stdcxx . . $ std/::stringcxx . . $ std/string#& appDictionaryName = ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 365 | void writeAppDictionarycxx . . $ DL_Dxf#writeAppDictionary(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 366 | int writeDictionaryEntrycxx . . $ DL_Dxf#writeDictionaryEntry(3169c3f009bae66c).(DL_WriterAcxx . . $ DL_WriterA#& dw, const stdcxx . . $ std/::stringcxx . . $ std/string#& name); |
| 367 | void writeXRecordcxx . . $ DL_Dxf#writeXRecord(77bd372128aab125).(DL_WriterAcxx . . $ DL_WriterA#& dw, int handle, int value); |
| 368 | void writeXRecordcxx . . $ DL_Dxf#writeXRecord(612f9b7939653efb).(DL_WriterAcxx . . $ DL_WriterA#& dw, int handle, double value); |
| 369 | void writeXRecordcxx . . $ DL_Dxf#writeXRecord(4ef803851edef48f).(DL_WriterAcxx . . $ DL_WriterA#& dw, int handle, bool value); |
| 370 | void writeXRecordcxx . . $ DL_Dxf#writeXRecord(75e627fbfa6bb85b).(DL_WriterAcxx . . $ DL_WriterA#& dw, int handle, const stdcxx . . $ std/::stringcxx . . $ std/string#& value); |
| 371 | void writeObjectsEndcxx . . $ DL_Dxf#writeObjectsEnd(59f0537d983256d2).(DL_WriterAcxx . . $ DL_WriterA#& dw); |
| 372 | |
| 373 | void writeCommentcxx . . $ DL_Dxf#writeComment(2822f000a15d61c4).(DL_WriterAcxx . . $ DL_WriterA#& dw, const stdcxx . . $ std/::stringcxx . . $ std/string#& comment); |
| 374 | |
| 375 | /** |
| 376 | * Converts the given string into a double or returns the given |
| 377 | * default valud (def) if value is NULL or empty. |
| 378 | */ |
| 379 | //static double toReal(const char* value, double def=0.0); |
| 380 | |
| 381 | /** |
| 382 | * Converts the given string into an int or returns the given |
| 383 | * default valud (def) if value is NULL or empty. |
| 384 | */ |
| 385 | // static int toInt(const char* value, int def=0) { |
| 386 | // if (value!=NULL && value[0] != '\0') { |
| 387 | // return atoi(value); |
| 388 | // } |
| 389 | |
| 390 | // return def; |
| 391 | // } |
| 392 | |
| 393 | /** |
| 394 | * Converts the given string into a string or returns the given |
| 395 | * default valud (def) if value is NULL or empty. |
| 396 | */ |
| 397 | // static const char* toString(const char* value, const char* def="") { |
| 398 | // if (value!=NULL && value[0] != '\0') { |
| 399 | // return value; |
| 400 | // } else { |
| 401 | // return def; |
| 402 | // } |
| 403 | // } |
| 404 | |
| 405 | static bool checkVariablecxx . . $ DL_Dxf#checkVariable(e6a19ebcdfc5adae).(const char* var, DL_Codescxx . . $ DL_Codes#::versioncxx . . $ DL_Codes#version# version); |
| 406 | |
| 407 | DL_Codescxx . . $ DL_Codes#::versioncxx . . $ DL_Codes#version# getVersioncxx . . $ DL_Dxf#getVersion(9397a4725b77cbfd).() { |
| 408 | return versioncxx . . $ DL_Dxf#version.; |
| 409 | } |
| 410 | |
| 411 | int getLibVersioncxx . . $ DL_Dxf#getLibVersion(7787e0c995c81e02).(const stdcxx . . $ std/::stringcxx . . $ std/string# &str); |
| 412 | |
| 413 | static void testcxx . . $ DL_Dxf#test(49f6e7a06ebc5aa8).(); |
| 414 | |
| 415 | bool hasValuecxx . . $ DL_Dxf#hasValue(83c267b20bac841a).(int code) { |
| 416 | return valuescxx . . $ DL_Dxf#values..countcxx . . $ std/map#count(ea780b5adf43227).(code)==1; |
| 417 | } |
| 418 | |
| 419 | int getIntValuecxx . . $ DL_Dxf#getIntValue(9b79fb6aee4c0440).(int code, int def) { |
| 420 | if (!hasValuecxx . . $ DL_Dxf#hasValue(83c267b20bac841a).(code)) { |
| 421 | return def; |
| 422 | } |
| 423 | return toIntcxx . . $ DL_Dxf#toInt(7787e0c995c81e02).(valuescxx . . $ DL_Dxf#values.[cxx . . $ std/map#`operator[]`(bbd415b616967878).code]); |
| 424 | } |
| 425 | |
| 426 | int toIntcxx . . $ DL_Dxf#toInt(7787e0c995c81e02).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str) { |
| 427 | char* p; |
| 428 | return strtolcxx . . $ strtol(44bbb87609b212fc).(str.c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(), &p, 10); |
| 429 | } |
| 430 | |
| 431 | int getInt16Valuecxx . . $ DL_Dxf#getInt16Value(9b79fb6aee4c0440).(int code, int def) { |
| 432 | if (!hasValuecxx . . $ DL_Dxf#hasValue(83c267b20bac841a).(code)) { |
| 433 | return def; |
| 434 | } |
| 435 | return toInt16cxx . . $ DL_Dxf#toInt16(7787e0c995c81e02).(valuescxx . . $ DL_Dxf#values.[cxx . . $ std/map#`operator[]`(bbd415b616967878).code]); |
| 436 | } |
| 437 | |
| 438 | int toInt16cxx . . $ DL_Dxf#toInt16(7787e0c995c81e02).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str) { |
| 439 | char* p; |
| 440 | return strtolcxx . . $ strtol(44bbb87609b212fc).(str.c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(), &p, 16); |
| 441 | } |
| 442 | |
| 443 | bool toBoolcxx . . $ DL_Dxf#toBool(7c222eea44a24d43).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str) { |
| 444 | char* p; |
| 445 | return (bool)strtolcxx . . $ strtol(44bbb87609b212fc).(str.c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(), &p, 10); |
| 446 | } |
| 447 | |
| 448 | stdcxx . . $ std/::stringcxx . . $ std/string# getStringValuecxx . . $ DL_Dxf#getStringValue(2fd8dbb4c5e424a7).(int code, const stdcxx . . $ std/::stringcxx . . $ std/string#& def) { |
| 449 | if (!hasValuecxx . . $ DL_Dxf#hasValue(83c267b20bac841a).(code)) { |
| 450 | return defcxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).; |
| 451 | } |
| 452 | return valuescxx . . $ DL_Dxf#values.[cxx . . $ std/map#`operator[]`(bbd415b616967878).code]; |
| 453 | } |
| 454 | |
| 455 | double getRealValuecxx . . $ DL_Dxf#getRealValue(538a8530131fd110).(int code, double def) { |
| 456 | if (!hasValuecxx . . $ DL_Dxf#hasValue(83c267b20bac841a).(code)) { |
| 457 | return def; |
| 458 | } |
| 459 | return toRealcxx . . $ DL_Dxf#toReal(610a939d150cc19e).(valuescxx . . $ DL_Dxf#values.[cxx . . $ std/map#`operator[]`(bbd415b616967878).code]); |
| 460 | } |
| 461 | |
| 462 | double toRealcxx . . $ DL_Dxf#toReal(610a939d150cc19e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str) { |
| 463 | double ret; |
| 464 | // make sure the real value uses '.' not ',': |
| 465 | stdcxx . . $ std/::stringcxx . . $ std/string# str2 = strcxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).; |
| 466 | stdcxx . . $ std/::replacecxx . . $ std/replace(816cee973d7ce286).(str2.begincxx . . $ std/__cxx11/basic_string#begin(2d83d3f7098a8e9c).(), str2.endcxx . . $ std/__cxx11/basic_string#end(2d83d3f7098a8e9c).(), ',', '.'); |
| 467 | // make sure c++ expects '.' not ',': |
| 468 | stdcxx . . $ std/::istringstreamcxx . . $ std/istringstream# istrcxx . . $ std/__cxx11/basic_istringstream#basic_istringstream(d3c8ea0e6521074c).(str2); |
| 469 | //istr.imbue(std::locale("C")); |
| 470 | istr >>cxx . . $ std/basic_istream#`operator>>`(f2556f805cc4390e). ret; |
| 471 | return ret; |
| 472 | } |
| 473 | |
| 474 | private: |
| 475 | DL_Codescxx . . $ DL_Codes#::versioncxx . . $ DL_Codes#version# versioncxx . . $ DL_Dxf#version.; |
| 476 | |
| 477 | stdcxx . . $ std/::stringcxx . . $ std/string# polylineLayercxx . . $ DL_Dxf#polylineLayer.; |
| 478 | double* verticescxx . . $ DL_Dxf#vertices.; |
| 479 | int maxVerticescxx . . $ DL_Dxf#maxVertices.; |
| 480 | int vertexIndexcxx . . $ DL_Dxf#vertexIndex.; |
| 481 | |
| 482 | double* knotscxx . . $ DL_Dxf#knots.; |
| 483 | int maxKnotscxx . . $ DL_Dxf#maxKnots.; |
| 484 | int knotIndexcxx . . $ DL_Dxf#knotIndex.; |
| 485 | |
| 486 | double* weightscxx . . $ DL_Dxf#weights.; |
| 487 | int weightIndexcxx . . $ DL_Dxf#weightIndex.; |
| 488 | |
| 489 | double* controlPointscxx . . $ DL_Dxf#controlPoints.; |
| 490 | int maxControlPointscxx . . $ DL_Dxf#maxControlPoints.; |
| 491 | int controlPointIndexcxx . . $ DL_Dxf#controlPointIndex.; |
| 492 | |
| 493 | double* fitPointscxx . . $ DL_Dxf#fitPoints.; |
| 494 | int maxFitPointscxx . . $ DL_Dxf#maxFitPoints.; |
| 495 | int fitPointIndexcxx . . $ DL_Dxf#fitPointIndex.; |
| 496 | |
| 497 | double* leaderVerticescxx . . $ DL_Dxf#leaderVertices.; |
| 498 | int maxLeaderVerticescxx . . $ DL_Dxf#maxLeaderVertices.; |
| 499 | int leaderVertexIndexcxx . . $ DL_Dxf#leaderVertexIndex.; |
| 500 | |
| 501 | bool firstHatchLoopcxx . . $ DL_Dxf#firstHatchLoop.; |
| 502 | DL_HatchEdgeDatacxx . . $ DL_HatchEdgeData# hatchEdgecxx . . $ DL_Dxf#hatchEdge.; |
| 503 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::vectorcxx . . $ std/vector#<DL_HatchEdgeDatacxx . . $ DL_HatchEdgeData#> > hatchEdgescxx . . $ DL_Dxf#hatchEdges.; |
| 504 | |
| 505 | stdcxx . . $ std/::stringcxx . . $ std/string# xRecordHandlecxx . . $ DL_Dxf#xRecordHandle.; |
| 506 | bool xRecordValuescxx . . $ DL_Dxf#xRecordValues.; |
| 507 | |
| 508 | // Only the useful part of the group code |
| 509 | stdcxx . . $ std/::stringcxx . . $ std/string# groupCodeTmpcxx . . $ DL_Dxf#groupCodeTmp.; |
| 510 | // ...same as integer |
| 511 | unsigned int groupCodecxx . . $ DL_Dxf#groupCode.; |
| 512 | // Only the useful part of the group value |
| 513 | stdcxx . . $ std/::stringcxx . . $ std/string# groupValuecxx . . $ DL_Dxf#groupValue.; |
| 514 | // Current entity type |
| 515 | int currentObjectTypecxx . . $ DL_Dxf#currentObjectType.; |
| 516 | // Value of the current setting |
| 517 | char settingValuecxx . . $ DL_Dxf#settingValue.[DL_DXF_MAXLINEcxx . . $ `libs/qCC_io/extern/dxflib/src/dl_codes.h:58:9`!+1]; |
| 518 | // Key of the current setting (e.g. "$ACADVER") |
| 519 | stdcxx . . $ std/::stringcxx . . $ std/string# settingKeycxx . . $ DL_Dxf#settingKey.; |
| 520 | // Stores the group codes |
| 521 | stdcxx . . $ std/::mapcxx . . $ std/map#<int, stdcxx . . $ std/::stringcxx . . $ std/string#> valuescxx . . $ DL_Dxf#values.; |
| 522 | // First call of this method. We initialize all group values in |
| 523 | // the first call. |
| 524 | bool firstCallcxx . . $ DL_Dxf#firstCall.; |
| 525 | // Attributes of the current entity (layer, color, width, line type) |
| 526 | DL_Attributescxx . . $ DL_Attributes# attribcxx . . $ DL_Dxf#attrib.; |
| 527 | // library version. hex: 0x20003001 = 2.0.3.1 |
| 528 | int libVersioncxx . . $ DL_Dxf#libVersion.; |
| 529 | // app specific dictionary handle: |
| 530 | unsigned long appDictionaryHandlecxx . . $ DL_Dxf#appDictionaryHandle.; |
| 531 | // handle of standard text style, referenced by dimstyle: |
| 532 | unsigned long styleHandleStdcxx . . $ DL_Dxf#styleHandleStd.; |
| 533 | }; |
| 534 | |
| 535 | #endif |
| 536 | |
| 537 | // EOF |