1 /************************************************************************
\r
3 ** Copyright (C) 2010 Strahinja Markovic
\r
5 ** This file is part of FlightCrew.
\r
7 ** FlightCrew is free software: you can redistribute it and/or modify
\r
8 ** it under the terms of the GNU Lesser General Public License as published
\r
9 ** by the Free Software Foundation, either version 3 of the License, or
\r
10 ** (at your option) any later version.
\r
12 ** FlightCrew is distributed in the hope that it will be useful,
\r
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
15 ** GNU Lesser General Public License for more details.
\r
17 ** You should have received a copy of the GNU Lesser General Public License
\r
18 ** along with FlightCrew. If not, see <http://www.gnu.org/licenses/>.
\r
20 *************************************************************************/
\r
22 // We set the MSVC warning level down to 3
\r
23 // for code that we have no control over
\r
24 #if defined(_MSC_VER)
\r
25 # pragma warning( push, 3 )
\r
28 #include <xercesc/dom/DOM.hpp>
\r
29 #include <xercesc/util/XMLString.hpp>
\r
30 #include <xercesc/util/PlatformUtils.hpp>
\r
31 #include <xercesc/parsers/XercesDOMParser.hpp>
\r
32 #include <boost/tuple/tuple.hpp>
\r
33 #include <boost/bind/bind.hpp>
\r
34 #include <boost/lambda/lambda.hpp>
\r
35 #include <boost/thread.hpp>
\r
36 #include <boost/format.hpp>
\r
37 #include <boost/foreach.hpp>
\r
38 #include <boost/algorithm/string.hpp>
\r
39 #include <boost/algorithm/string/regex.hpp>
\r
40 #include <boost/regex.hpp>
\r
41 #include <boost/unordered_set.hpp>
\r
42 #include <boost/unordered_map.hpp>
\r
43 #include "Misc/BoostFilesystemUse.h"
\r
46 // ... and then we reset the warning level
\r
47 // back to normal (warning level 4)
\r
48 #if defined(_MSC_VER)
\r
49 # pragma warning( pop )
\r
52 namespace XercesExt { struct QName; };
\r
53 namespace xe = XercesExt;
\r
57 #include "constants.h"
\r
58 #include "exception.h"
\r
59 #include "Misc/CustomAssert.h"
\r
61 // We're most definitely not going to use
\r
62 // it as BOOST_FOREACH.
\r
63 #define foreach BOOST_FOREACH
\r
65 // We will be using these everywhere,
\r
66 // so let's make life a bit easier.
\r
68 using boost::make_tuple;
\r
71 namespace xc = XERCES_CPP_NAMESPACE;
\r
73 typedef unsigned int uint;
\r