]> git.donarmstrong.com Git - flightcrew.git/blob - src/FlightCrew/stdafx.h
Imported Upstream version 0.7.2+dfsg
[flightcrew.git] / src / FlightCrew / stdafx.h
1 /************************************************************************\r
2 **\r
3 **  Copyright (C) 2010  Strahinja Markovic\r
4 **\r
5 **  This file is part of FlightCrew.\r
6 **\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
11 **\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
16 **\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
19 **\r
20 *************************************************************************/\r
21 \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
26 #endif\r
27 \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
44 \r
45 \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
50 #endif\r
51 \r
52 namespace XercesExt { struct QName; };\r
53 namespace xe = XercesExt;\r
54 \r
55 using xe::QName;\r
56 \r
57 #include "constants.h"\r
58 #include "exception.h"\r
59 #include "Misc/CustomAssert.h"\r
60 \r
61 // We're most definitely not going to use\r
62 // it as BOOST_FOREACH.\r
63 #define foreach BOOST_FOREACH\r
64 \r
65 // We will be using these everywhere,\r
66 // so let's make life a bit easier.\r
67 using boost::tuple;\r
68 using boost::make_tuple;\r
69 using boost::tie;\r
70 \r
71 namespace xc = XERCES_CPP_NAMESPACE;\r
72 \r
73 typedef unsigned int uint;\r