#include <dl_writer_ascii.h>
Inheritance diagram for DL_WriterA:
Public Member Functions | |
DL_WriterA (const char *fname, DL_Codes::version version=VER_2000) | |
bool | openFailed () const |
void | close () const |
Closes the output file. | |
void | dxfReal (int gc, double value) const |
Writes a real (double) variable to the DXF file. | |
void | dxfInt (int gc, int value) const |
Writes an int variable to the DXF file. | |
void | dxfHex (int gc, int value) const |
Writes a hex int variable to the DXF file. | |
void | dxfString (int gc, const char *value) const |
Writes a string variable to the DXF file. | |
void | dxfString (int gc, const string &value) const |
Must be overwritten by the implementing class to write a string to the file. | |
Static Public Member Functions | |
static void | strReplace (char *str, char src, char dest) |
Replaces every occurence of src with dest in the null terminated str. |
fname File name of the file to be created. version DXF version. Defaults to VER_2002.
fname
is NULL? Or fname
can't be opened for another reason?
|
Writes a hex int variable to the DXF file.
Implements DL_Writer. |
|
Writes an int variable to the DXF file.
Implements DL_Writer. |
|
Writes a real (double) variable to the DXF file.
Implements DL_Writer. |
|
Must be overwritten by the implementing class to write a string to the file.
Implements DL_Writer. |
|
Writes a string variable to the DXF file.
Implements DL_Writer. |
|
|