1 /******************************************************************************
2  *
3  * Project:  OpenGIS Simple Features Reference Implementation
4  * Purpose:  Generate a test .dgn file
5  * Author:   Even Rouault <even.rouault at spatialys.com>
6  *
7  ******************************************************************************
8  * Copyright (c) 2017, Even Rouault <even.rouault at spatialys.com>
9  *
10  * Permission is hereby granted, free of charge, to any person obtaining a
11  * copy of this software and associated documentation files (the "Software"),
12  * to deal in the Software without restriction, including without limitation
13  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14  * and/or sell copies of the Software, and to permit persons to whom the
15  * Software is furnished to do so, subject to the following conditions:
16  *
17  * The above copyright notice and this permission notice shall be included
18  * in all copies or substantial portions of the Software.
19  *
20  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26  * DEALINGS IN THE SOFTWARE.
27  ****************************************************************************/
28 
29 #if ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) && !defined(_MSC_VER))
30 #define HAVE_GCC_SYSTEM_HEADER
31 #endif
32 
33 #ifdef HAVE_GCC_SYSTEM_HEADER
34 #pragma GCC system_header
35 #endif
36 
37 #include "OdaCommon.h"
38 
39 #include "StaticRxObject.h"
40 #include "RxInit.h"
41 #include "RxDynamicModule.h"
42 #include "DynamicLinker.h"
43 #include "DgDatabase.h"
44 #include "RxDynamicModule.h"
45 
46 #include "DgGraphicsElement.h"
47 #include "DgComplexCurve.h"
48 
49 #include "ExDgnServices.h"
50 #include "ExDgnHostAppServices.h"
51 
52 #include "Ge/GeKnotVector.h"
53 
54 #include "DgArc.h"
55 #include "DgAttributeLinkage.h"
56 #include "DgBSplineCurve.h"
57 #include "DgCellHeader.h"
58 #include "DgColorTable.h"
59 #include "DgComplexCurve.h"
60 #include "DgComplexShape.h"
61 #include "DgComplexString.h"
62 #include "DgCurve.h"
63 #include "DgCurveElement2d.h"
64 #include "DgCurveElement3d.h"
65 #include "DgElementIterator.h"
66 #include "DgEllipse.h"
67 #include "DgFontTableRecord.h"
68 #include "DgLine.h"
69 #include "DgLineString.h"
70 #include "DgMultiline.h"
71 #include "DgPointString.h"
72 #include "DgShape.h"
73 #include "DgSharedCellReference.h"
74 #include "DgText.h"
75 #include "DgTextNode.h"
76 #include "DgTagElement.h"
77