26#ifndef DL_WRITER_ASCII_H
27#define DL_WRITER_ASCII_H
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);
void version()
Prints version information.
Definition autostart.js:59
version
Version numbers for the DXF Format.
Definition dl_codes.h:96
Implements functions defined in DL_Writer for writing low level DXF constructs to an ASCII format DXF...
Definition dl_writer_ascii.h:49
virtual ~DL_WriterA()
Definition dl_writer_ascii.h:53
std::ofstream m_ofile
DXF file to be created.
Definition dl_writer_ascii.h:69
DL_WriterA(const char *fname, DL_Codes::version version=DL_VERSION_2000)
Definition dl_writer_ascii.h:51
Defines interface for writing low level DXF constructs to a file.
Definition dl_writer.h:58
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.
virtual void dxfReal(int gc, double value) const =0
Must be overwritten by the implementing class to write a real value to the file.
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.
#define DL_VERSION_2000
Definition dl_codes.h:378
#define DXFLIB_EXPORT
Definition dl_global.h:12