#include <dxiface.h>
Public Member Functions | |
dx_iface (const std::string &file, DRW::Version v, VarMeasurement varMeasurement, VarInsunits varInsunits) | |
virtual | ~dx_iface () |
bool | fileExport (bool binary) |
void | writeEntity (DRW_Entity *e) |
virtual void | writeHeader (DRW_Header &data) |
virtual void | writeBlocks () |
virtual void | writeBlockRecords () |
virtual void | writeEntities () |
virtual void | writeLTypes () |
virtual void | writeLayers () |
virtual void | writeTextstyles () |
virtual void | writeVports () |
virtual void | writeDimstyles () |
virtual void | writeAppId () |
void | AddEntity (DRW_Entity *e) |
UTF8STRING | AddFont (const QFont &f) |
void | AddBlock (dx_ifaceBlock *block) |
void | AddQtLTypes () |
void | AddDefLayers () |
void | AddAAMALayers () |
void | AddAAMAHeaderData () |
Private Member Functions | |
void | InitHeader (VarMeasurement varMeasurement, VarInsunits varInsunits) |
void | InitTextstyles () |
void | InitAppId () |
Static Private Member Functions | |
static std::string | LocaleToISO () |
Private Attributes | |
dxfRW * | dxfW |
dx_data | cData |
DRW::Version | version |
dx_iface::dx_iface | ( | const std::string & | file, |
DRW::Version | v, | ||
VarMeasurement | varMeasurement, | ||
VarInsunits | varInsunits | ||
) |
Definition at line 22 of file dxiface.cpp.
References InitAppId(), InitHeader(), and InitTextstyles().
|
virtual |
Definition at line 32 of file dxiface.cpp.
References dxfW.
void dx_iface::AddAAMAHeaderData | ( | ) |
Definition at line 280 of file dxiface.cpp.
References cData, and dx_data::headerC.
void dx_iface::AddAAMALayers | ( | ) |
Definition at line 238 of file dxiface.cpp.
References cData, and dx_data::layers.
void dx_iface::AddBlock | ( | dx_ifaceBlock * | block | ) |
Definition at line 349 of file dxiface.cpp.
References dx_data::blocks, and cData.
void dx_iface::AddDefLayers | ( | ) |
Definition at line 285 of file dxiface.cpp.
References cData, and dx_data::layers.
void dx_iface::AddEntity | ( | DRW_Entity * | e | ) |
Definition at line 311 of file dxiface.cpp.
References cData, dx_ifaceBlock::ent, and dx_data::mBlock.
UTF8STRING dx_iface::AddFont | ( | const QFont & | f | ) |
Definition at line 316 of file dxiface.cpp.
References cData, and dx_data::textStyles.
void dx_iface::AddQtLTypes | ( | ) |
Definition at line 193 of file dxiface.cpp.
References cData, and dx_data::lineTypes.
bool dx_iface::fileExport | ( | bool | binary | ) |
Definition at line 37 of file dxiface.cpp.
|
private |
Definition at line 304 of file dxiface.cpp.
References dx_data::appIds, and cData.
Referenced by dx_iface().
|
private |
Definition at line 168 of file dxiface.cpp.
References cData, dx_data::headerC, LocaleToISO(), and version.
Referenced by dx_iface().
|
private |
Definition at line 294 of file dxiface.cpp.
References cData, and dx_data::textStyles.
Referenced by dx_iface().
|
staticprivate |
|
virtual |
Definition at line 163 of file dxiface.cpp.
References dx_data::appIds, cData, and dxfW.
|
virtual |
Definition at line 128 of file dxiface.cpp.
References dx_data::blocks, cData, and dxfW.
|
virtual |
Definition at line 117 of file dxiface.cpp.
References dx_data::blocks, cData, dxfW, dx_ifaceBlock::ent, and writeEntity().
|
virtual |
Definition at line 158 of file dxiface.cpp.
References cData, dx_data::dimStyles, and dxfW.
|
virtual |
Definition at line 133 of file dxiface.cpp.
References cData, dx_ifaceBlock::ent, dx_data::mBlock, and writeEntity().
void dx_iface::writeEntity | ( | DRW_Entity * | e | ) |
Definition at line 43 of file dxiface.cpp.
References dxfW.
Referenced by writeBlocks(), and writeEntities().
|
virtual |
Definition at line 109 of file dxiface.cpp.
References cData, and dx_data::headerC.
|
virtual |
Definition at line 143 of file dxiface.cpp.
References cData, dxfW, and dx_data::layers.
|
virtual |
Definition at line 138 of file dxiface.cpp.
References cData, dxfW, and dx_data::lineTypes.
|
virtual |
Definition at line 148 of file dxiface.cpp.
References cData, dxfW, and dx_data::textStyles.
|
virtual |
Definition at line 153 of file dxiface.cpp.
References cData, dxfW, and dx_data::VPorts.
|
private |
Definition at line 131 of file dxiface.h.
Referenced by AddAAMAHeaderData(), AddAAMALayers(), AddBlock(), AddDefLayers(), AddEntity(), AddFont(), AddQtLTypes(), InitAppId(), InitHeader(), InitTextstyles(), writeAppId(), writeBlockRecords(), writeBlocks(), writeDimstyles(), writeEntities(), writeHeader(), writeLayers(), writeLTypes(), writeTextstyles(), and writeVports().
|
private |
Definition at line 130 of file dxiface.h.
Referenced by fileExport(), writeAppId(), writeBlockRecords(), writeBlocks(), writeDimstyles(), writeEntity(), writeLayers(), writeLTypes(), writeTextstyles(), writeVports(), and ~dx_iface().
|
private |
Definition at line 132 of file dxiface.h.
Referenced by fileExport(), and InitHeader().