Remove unused DRW_Class::parseCode() method.

This commit is contained in:
Roman Telezhynskyi 2022-02-07 14:55:31 +02:00
parent adea504bc1
commit 5b3bcdf1af
2 changed files with 0 additions and 29 deletions

View File

@ -15,34 +15,6 @@
#include "intern/dxfwriter.h" #include "intern/dxfwriter.h"
#include "intern/drw_dbg.h" #include "intern/drw_dbg.h"
void DRW_Class::parseCode(int code, dxfReader *reader){
switch (code) {
case 1:
recName = reader->getUtf8String();
break;
case 2:
className = reader->getUtf8String();
break;
case 3:
appName = reader->getUtf8String();
break;
case 90:
proxyFlag = reader->getInt32();
break;
case 91:
instanceCount = reader->getInt32();
break;
case 280:
wasaProxyFlag = reader->getInt32();
break;
case 281:
entityFlag = reader->getInt32();
break;
default:
break;
}
}
void DRW_Class::write(dxfWriter *writer, DRW::Version ver){ void DRW_Class::write(dxfWriter *writer, DRW::Version ver){
if (ver > DRW::AC1009) { if (ver > DRW::AC1009) {
writer->writeString(0, "CLASS"); writer->writeString(0, "CLASS");

View File

@ -39,7 +39,6 @@ public:
~DRW_Class() = default; ~DRW_Class() = default;
void parseCode(int code, dxfReader *reader);
void write(dxfWriter *writer, DRW::Version ver); void write(dxfWriter *writer, DRW::Version ver);
public: public: