26 #ifndef DL_WRITER_ASCII_H
27 #define DL_WRITER_ASCII_H
29 #include "dl_global.h"
33 #endif // _MSC_VER > 1000
35 #include "dl_writer.h"
55 bool openFailed()
const;
58 void dxfInt(
int gc,
int value)
const;
59 void dxfHex(
int gc,
int 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;
Implements functions defined in DL_Writer for writing low level DXF constructs to an ASCII format DXF...
Definition: dl_writer_ascii.h:49
void dxfInt(int gc, int value) const
Must be overwritten by the implementing class to write an int value to the file.
void dxfString(int gc, const std::string &value) const
Must be overwritten by the implementing class to write a string to the file.
void dxfReal(int gc, double value) const
Must be overwritten by the implementing class to write a real value to the file.
void dxfHex(int gc, int value) const
Must be overwritten by the implementing class to write an int value (hex) to the file.
Defines interface for writing low level DXF constructs to a file.
Definition: dl_writer.h:57
void dxfString(int gc, const char *value) const
Must be overwritten by the implementing class to write a string to the file.
version
Version numbers for the DXF Format.
Definition: dl_codes.h:96