|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
26 #ifndef DL_WRITER_ASCII_H
27 #define DL_WRITER_ASCII_H
33 #endif // _MSC_VER > 1000
55 bool openFailed()
const;
57 void dxfReal(
int gc,
double value)
const;
58 void dxfInt(
int gc,
int value)
const;
59 void dxfHex(
int gc,
int value)
const;
60 void dxfString(
int gc,
const char* value)
const;
61 void dxfString(
int gc,
const std::string& value)
const;
63 static void strReplace(
char* str,
char src,
char dest);
69 mutable std::ofstream m_ofile;
version
Version numbers for the DXF Format.
Definition: dl_codes.h:96
DL_Writer(DL_Codes::version version)
Definition: dl_writer.h:86
Implements functions defined in DL_Writer for writing low level DXF constructs to an ASCII format DXF...
Definition: dl_writer_ascii.h:49
Defines interface for writing low level DXF constructs to a file.
Definition: dl_writer.h:58
void version()
Prints version information.
Definition: autostart.js:54
virtual void dxfHex(int gc, int value) const =0
Must be overwritten by the implementing class to write an int value (hex) to the file.
virtual void dxfReal(int gc, double value) const =0
Must be overwritten by the implementing class to write a real value to the file.
#define DXFLIB_EXPORT
Definition: dl_global.h:12
#define DL_VERSION_2000
Definition: dl_codes.h:378
virtual void dxfInt(int gc, int value) const =0
Must be overwritten by the implementing class to write an int value to the file.
virtual void dxfString(int gc, const char *value) const =0
Must be overwritten by the implementing class to write a string to the file.