API Documentation
Loading...
Searching...
No Matches
DXFReader Class Reference

#include <DXFReader.h>

Public Member Functions

 DXFReader (CADEntityStreamer &entity_streamer, ProgressInfo *log)
 
 ~DXFReader ()
 
void readFile (File &file)
 
bool isBinaryFile (File &file) const
 
void setWarningCallback (const std::function< void(const TranslatedString &)> &callback)
 

Protected Member Functions

void readBinaryFile (File &file)
 
void readAsciiFile (File &file)
 
bool readNextLinePair (Scanner &scan)
 
bool readNextPair (BinaryFile &scan)
 
bool processDXFGroup (uint04 group_code)
 
void addSetting ()
 
void addLayer ()
 
void addLinetype ()
 
void addBlock ()
 
void addMaterial ()
 
void addBlockRecord ()
 
void addTextStyle ()
 
void endBlock ()
 
void addPoint ()
 
void addLine ()
 
void addXLine ()
 
void addRay ()
 
void addSection ()
 
void addLWPolyline ()
 
void addPolyline ()
 
void addVertex ()
 
void addSpline ()
 
void addMesh ()
 
void addArc ()
 
void addCircle ()
 
void addEllipse ()
 
void addInsert ()
 
void addTrace ()
 
void add3dFace (bool is_solid)
 
void addLeader ()
 
void addMText ()
 
void addText ()
 
void addGroup ()
 
void addAttribute ()
 
void addAttributeDefinition ()
 
void addDimLinear ()
 
void addDimAligned ()
 
void addDimRadial ()
 
void addDimDiametric ()
 
void addDimAngular ()
 
void addDimAngular3P ()
 
void addDimOrdinate ()
 
const PaperSpacepaperspace () const
 
void addImageDef ()
 
void addDictionary ()
 
bool handleXRecordData ()
 
bool handleDictionaryData ()
 
bool handleGroupData ()
 
bool handleXData ()
 
bool handleMTextData ()
 
bool handleLWPolylineData ()
 
bool handleMeshData ()
 
bool handleSplineData ()
 
bool handleLeaderData ()
 
bool handleLinetypeData ()
 
bool handleMatrixData ()
 
void endEntity ()
 
void endSequence ()
 
void addHandleInfo (HandleData &data)
 
void addEntityInfo (EntityData &data)
 
void addDimensionInfo (DimensionData &data)
 

Constructor & Destructor Documentation

◆ DXFReader()

DXFReader ( CADEntityStreamer & entity_streamer,
ProgressInfo * log )
explicit

◆ ~DXFReader()

~DXFReader ( )

Member Function Documentation

◆ add3dFace()

void add3dFace ( bool is_solid)
protected

◆ addArc()

void addArc ( )
protected

◆ addAttribute()

void addAttribute ( )
protected

◆ addAttributeDefinition()

void addAttributeDefinition ( )
protected

◆ addBlock()

void addBlock ( )
protected

◆ addBlockRecord()

void addBlockRecord ( )
protected

◆ addCircle()

void addCircle ( )
protected

◆ addDictionary()

void addDictionary ( )
protected

◆ addDimAligned()

void addDimAligned ( )
protected

◆ addDimAngular()

void addDimAngular ( )
protected

◆ addDimAngular3P()

void addDimAngular3P ( )
protected

◆ addDimDiametric()

void addDimDiametric ( )
protected

◆ addDimensionInfo()

void addDimensionInfo ( DimensionData & data)
protected

◆ addDimLinear()

void addDimLinear ( )
protected

◆ addDimOrdinate()

void addDimOrdinate ( )
protected

◆ addDimRadial()

void addDimRadial ( )
protected

◆ addEllipse()

void addEllipse ( )
protected

◆ addEntityInfo()

void addEntityInfo ( EntityData & data)
protected

◆ addGroup()

void addGroup ( )
protected

◆ addHandleInfo()

void addHandleInfo ( HandleData & data)
protected

◆ addImageDef()

void addImageDef ( )
protected

◆ addInsert()

void addInsert ( )
protected

◆ addLayer()

void addLayer ( )
protected

◆ addLeader()

void addLeader ( )
protected

◆ addLine()

void addLine ( )
protected

◆ addLinetype()

void addLinetype ( )
protected

◆ addLWPolyline()

void addLWPolyline ( )
protected

◆ addMaterial()

void addMaterial ( )
protected

◆ addMesh()

void addMesh ( )
protected

◆ addMText()

void addMText ( )
protected

◆ addPoint()

void addPoint ( )
protected

◆ addPolyline()

void addPolyline ( )
protected

◆ addRay()

void addRay ( )
protected

◆ addSection()

void addSection ( )
protected

◆ addSetting()

void addSetting ( )
protected

◆ addSpline()

void addSpline ( )
protected

◆ addText()

void addText ( )
protected

◆ addTextStyle()

void addTextStyle ( )
protected

◆ addTrace()

void addTrace ( )
protected

◆ addVertex()

void addVertex ( )
protected

◆ addXLine()

void addXLine ( )
protected

◆ endBlock()

void endBlock ( )
protected

◆ endEntity()

void endEntity ( )
protected

◆ endSequence()

void endSequence ( )
protected

◆ handleDictionaryData()

bool handleDictionaryData ( )
protected

◆ handleGroupData()

bool handleGroupData ( )
protected

◆ handleLeaderData()

bool handleLeaderData ( )
protected

◆ handleLinetypeData()

bool handleLinetypeData ( )
protected

◆ handleLWPolylineData()

bool handleLWPolylineData ( )
protected

◆ handleMatrixData()

bool handleMatrixData ( )
protected

◆ handleMeshData()

bool handleMeshData ( )
protected

◆ handleMTextData()

bool handleMTextData ( )
protected

◆ handleSplineData()

bool handleSplineData ( )
protected

◆ handleXData()

bool handleXData ( )
protected

◆ handleXRecordData()

bool handleXRecordData ( )
protected

◆ isBinaryFile()

bool isBinaryFile ( File & file) const

◆ paperspace()

const PaperSpace & paperspace ( ) const
inlineprotected

◆ processDXFGroup()

bool processDXFGroup ( uint04 group_code)
protected

◆ readAsciiFile()

void readAsciiFile ( File & file)
protected

◆ readBinaryFile()

void readBinaryFile ( File & file)
protected

◆ readFile()

void readFile ( File & file)

◆ readNextLinePair()

bool readNextLinePair ( Scanner & scan)
protected

◆ readNextPair()

bool readNextPair ( BinaryFile & scan)
protected

◆ setWarningCallback()

void setWarningCallback ( const std::function< void(const TranslatedString &)> & callback)
inline

The documentation for this class was generated from the following files: