/****************************************************************************** ** libDXFrw - Library to read/write DXF files (ascii & binary) ** ** ** ** Copyright (C) 2011-2015 José F. Soriano, rallazz@gmail.com ** ** ** ** This library is free software, licensed under the terms of the GNU ** ** General Public License as published by the Free Software Foundation, ** ** either version 2 of the License, or (at your option) any later version. ** ** You should have received a copy of the GNU General Public License ** ** along with this program. If not, see . ** ******************************************************************************/ #ifndef DWGREADER15_H #define DWGREADER15_H #include #include #include "drw_textcodec.h" #include "dwgbuffer.h" #include "dwgreader.h" class dwgReader15 : public dwgReader { public: dwgReader15( std::ifstream *stream, dwgR *p ): dwgReader( stream, p ) { } bool readMetaData(); bool readFileHeader(); bool readDwgHeader( DRW_Header &hdr ); bool readDwgClasses(); bool readDwgHandles(); bool readDwgTables( DRW_Header &hdr ); bool readDwgBlocks( DRW_Interface &intfa ); bool readDwgEntities( DRW_Interface &intfa ) { bool ret = true; ret = dwgReader::readDwgEntities( intfa, fileBuf ); return ret; } bool readDwgObjects( DRW_Interface &intfa ) { bool ret = true; ret = dwgReader::readDwgObjects( intfa, fileBuf ); return ret; } // bool readDwgEntity(objHandle& obj, DRW_Interface& intfa); }; #endif // DWGREADER15_H