| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
DL_CreationAdapter Class Reference

`#include <dl_creationadapter.h>`

Inheritance diagram for DL_CreationAdapter:

List of all members.

## Public Member Functions

| DL_CreationAdapter ()
virtual | ~DL_CreationAdapter ()
virtual void | addLayer (const DL_LayerData &)
virtual void | addBlock (const DL_BlockData &)
virtual void | endBlock ()
virtual void | addPoint (const DL_PointData &)
virtual void | addLine (const DL_LineData &)
virtual void | addArc (const DL_ArcData &)
virtual void | addCircle (const DL_CircleData &)
virtual void | addEllipse (const DL_EllipseData &)
virtual void | addPolyline (const DL_PolylineData &)
virtual void | addVertex (const DL_VertexData &)
virtual void | addSpline (const DL_SplineData &)
virtual void | addControlPoint (const DL_ControlPointData &)
virtual void | addKnot (const DL_KnotData &)
virtual void | addInsert (const DL_InsertData &)
virtual void | addMText (const DL_MTextData &)
virtual void | addMTextChunk (const char *)
virtual void | addText (const DL_TextData &)
virtual void | addDimAlign (const DL_DimensionData &, const DL_DimAlignedData &)
virtual void | addDimLinear (const DL_DimensionData &, const DL_DimLinearData &)
virtual void | addDimRadial (const DL_DimensionData &, const DL_DimRadialData &)
virtual void | addDimDiametric (const DL_DimensionData &, const DL_DimDiametricData &)
virtual void | addDimAngular (const DL_DimensionData &, const DL_DimAngularData &)
virtual void | addDimAngular3P (const DL_DimensionData &, const DL_DimAngular3PData &)
virtual void | addDimOrdinate (const DL_DimensionData &, const DL_DimOrdinateData &)
virtual void | addLeader (const DL_LeaderData &)
virtual void | addLeaderVertex (const DL_LeaderVertexData &)
virtual void | addHatch (const DL_HatchData &)
virtual void | addTrace (const DL_TraceData &)
virtual void | add3dFace (const DL_3dFaceData &)
virtual void | addSolid (const DL_SolidData &)
virtual void | addImage (const DL_ImageData &)
virtual void | linkImage (const DL_ImageDefData &)
virtual void | addHatchLoop (const DL_HatchLoopData &)
virtual void | addHatchEdge (const DL_HatchEdgeData &)
virtual void | endEntity ()
virtual void | addComment (const char *comment)
virtual void | setVariableVector (const char *, double, double, double, int)
virtual void | setVariableString (const char *, const char *, int)
virtual void | setVariableInt (const char *, int, int)
virtual void | setVariableDouble (const char *, double, int)
virtual void | endSequence ()

## Detailed Description

An abstract adapter class for receiving DXF events when a DXF file is being read. The methods in this class are empty. This class exists as convenience for creating listener objects.

Author:
  Andrew Mustun

## Constructor & Destructor Documentation

DL_CreationAdapter::DL_CreationAdapter | ( |  | ) | `[inline]`

virtual DL_CreationAdapter::~DL_CreationAdapter | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void DL_CreationAdapter::add3dFace | ( | const DL_3dFaceData & | data | ) | `[inline, virtual]`

Called for every 3dface start

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addArc | ( | const DL_ArcData & | data | ) | `[inline, virtual]`

Called for every arc

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addBlock | ( | const DL_BlockData & | data | ) | `[inline, virtual]`

Called for every block. Note: all entities added after this command go into this block until endBlock() is called.

See also:
  endBlock()

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addCircle | ( | const DL_CircleData & | data | ) | `[inline, virtual]`

Called for every circle

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addComment | ( | const char * | comment | ) | `[inline, virtual]`

Called for every comment in the DXF file (code 999).

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addControlPoint | ( | const DL_ControlPointData & | data | ) | `[inline, virtual]`

Called for every spline control point

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimAlign | ( | const DL_DimensionData & | data,
|  | const DL_DimAlignedData & | edata
| ) |  | `[inline, virtual]`

Called for every aligned dimension entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimAngular | ( | const DL_DimensionData & | data,
|  | const DL_DimAngularData & | edata
| ) |  | `[inline, virtual]`

Called for every angular dimension (2 lines version) entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimAngular3P | ( | const DL_DimensionData & | data,
|  | const DL_DimAngular3PData & | edata
| ) |  | `[inline, virtual]`

Called for every angular dimension (3 points version) entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimDiametric | ( | const DL_DimensionData & | data,
|  | const DL_DimDiametricData & | edata
| ) |  | `[inline, virtual]`

Called for every diametric dimension entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimLinear | ( | const DL_DimensionData & | data,
|  | const DL_DimLinearData & | edata
| ) |  | `[inline, virtual]`

Called for every linear or rotated dimension entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimOrdinate | ( | const DL_DimensionData & | data,
|  | const DL_DimOrdinateData & | edata
| ) |  | `[inline, virtual]`

Called for every ordinate dimension entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addDimRadial | ( | const DL_DimensionData & | data,
|  | const DL_DimRadialData & | edata
| ) |  | `[inline, virtual]`

Called for every radial dimension entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addEllipse | ( | const DL_EllipseData & | data | ) | `[inline, virtual]`

Called for every ellipse

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addHatch | ( | const DL_HatchData & | data | ) | `[inline, virtual]`

Called for every hatch entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addHatchEdge | ( | const DL_HatchEdgeData & | data | ) | `[inline, virtual]`

Called for every hatch edge entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addHatchLoop | ( | const DL_HatchLoopData & | data | ) | `[inline, virtual]`

Called for every hatch loop.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addImage | ( | const DL_ImageData & | data | ) | `[inline, virtual]`

Called for every image entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addInsert | ( | const DL_InsertData & | data | ) | `[inline, virtual]`

Called for every insert.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addKnot | ( | const DL_KnotData & | data | ) | `[inline, virtual]`

Called for every spline knot value

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addLayer | ( | const DL_LayerData & | data | ) | `[inline, virtual]`

Called for every layer.

Implements DL_CreationInterface.

Reimplemented in TeDXFVisitor.

virtual void DL_CreationAdapter::addLeader | ( | const DL_LeaderData & | data | ) | `[inline, virtual]`

Called for every leader start.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addLeaderVertex | ( | const DL_LeaderVertexData & | data | ) | `[inline, virtual]`

Called for every leader vertex

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addLine | ( | const DL_LineData & | data | ) | `[inline, virtual]`

Called for every line

Implements DL_CreationInterface.

Reimplemented in TeDXFVisitor.

virtual void DL_CreationAdapter::addMText | ( | const DL_MTextData & | data | ) | `[inline, virtual]`

Called for every Multi Text entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addMTextChunk | ( | const char * | text | ) | `[inline, virtual]`

Called for additional text chunks for MTEXT entities. The chunks come at 250 character in size each. Note that those chunks come before the actual MTEXT entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addPoint | ( | const DL_PointData & | data | ) | `[inline, virtual]`

Called for every point

Implements DL_CreationInterface.

Reimplemented in TeDXFVisitor.

virtual void DL_CreationAdapter::addPolyline | ( | const DL_PolylineData & | data | ) | `[inline, virtual]`

Called for every polyline start

Implements DL_CreationInterface.

Reimplemented in TeDXFVisitor.

virtual void DL_CreationAdapter::addSolid | ( | const DL_SolidData & | data | ) | `[inline, virtual]`

Called for every solid start

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addSpline | ( | const DL_SplineData & | data | ) | `[inline, virtual]`

Called for every spline

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addText | ( | const DL_TextData & | data | ) | `[inline, virtual]`

Called for every Text entity.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addTrace | ( | const DL_TraceData & | data | ) | `[inline, virtual]`

Called for every trace start

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::addVertex | ( | const DL_VertexData & | data | ) | `[inline, virtual]`

Called for every polyline vertex

Implements DL_CreationInterface.

Reimplemented in TeDXFVisitor.

virtual void DL_CreationAdapter::endBlock | ( |  | ) | `[inline, virtual]`

Called to end the current block

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::endEntity | ( |  | ) | `[inline, virtual]`

Called after an entity has been completed.

Implements DL_CreationInterface.

Reimplemented in TeDXFVisitor.

virtual void DL_CreationAdapter::endSequence | ( |  | ) | `[inline, virtual]`

Called when a SEQEND occurs (when a POLYLINE or ATTRIB is done)

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::linkImage | ( | const DL_ImageDefData & | data | ) | `[inline, virtual]`

Called for every image definition.

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::setVariableDouble | ( | const char * | key,
|  | double | value,
|  | int | code
| ) |  | `[inline, virtual]`

Called for every double variable in the DXF file (e.g. "$DIMEXO").

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::setVariableInt | ( | const char * | key,
|  | int | value,
|  | int | code
| ) |  | `[inline, virtual]`

Called for every int variable in the DXF file (e.g. "$ACADMAINTVER").

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::setVariableString | ( | const char * | key,
|  | const char * | value,
|  | int | code
| ) |  | `[inline, virtual]`

Called for every string variable in the DXF file (e.g. "$ACADVER").

Implements DL_CreationInterface.

virtual void DL_CreationAdapter::setVariableVector | ( | const char * | key,
|  | double | v1,
|  | double | v2,
|  | double | v3,
|  | int | code
| ) |  | `[inline, virtual]`

Called for every vector variable in the DXF file (e.g. "$EXTMIN").

Implements DL_CreationInterface.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/dxflib/dl_creationadapter.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines