]> Shamusworld >> Repos - architektonas/blob - dxflib/test/test_creationclass.h
Fixed problem with MDI activation.
[architektonas] / dxflib / test / test_creationclass.h
1 /**
2  * @file test_creationclass.h
3  */
4
5 /*****************************************************************************
6 **  $Id: test_creationclass.h 219 2004-01-07 23:08:40Z andrew $
7 **
8 **  This is part of the dxflib library
9 **  Copyright (C) 2001 Andrew Mustun
10 **
11 **  This program is free software; you can redistribute it and/or modify
12 **  it under the terms of the GNU Library General Public License as
13 **  published by the Free Software Foundation.
14 **
15 **  This program is distributed in the hope that it will be useful,
16 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
17 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 **  GNU Library General Public License for more details.
19 **
20 **  You should have received a copy of the GNU Library General Public License
21 **  along with this program; if not, write to the Free Software
22 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 ******************************************************************************/
24
25 #ifndef TEST_CREATIONCLASS_H
26 #define TEST_CREATIONCLASS_H
27
28 #include "dl_creationadapter.h"
29
30
31
32 /**
33  * This class takes care of the entities read from the file.
34  * Usually such a class would probably store the entities.
35  * this one just prints some information about them to stdout.
36  *
37  * @author Andrew Mustun
38  */
39 class Test_CreationClass : public DL_CreationAdapter {
40 public:
41     Test_CreationClass();
42
43     virtual void addLayer(const DL_LayerData& data);
44     virtual void addPoint(const DL_PointData& data);
45     virtual void addLine(const DL_LineData& data);
46     virtual void addArc(const DL_ArcData& data);
47     virtual void addCircle(const DL_CircleData& data);
48     virtual void addPolyline(const DL_PolylineData& data);
49     virtual void addVertex(const DL_VertexData& data);
50
51     void printAttributes();
52 };
53
54 #endif