2004-06-04 14:41:53 +02:00
|
|
|
// if precompiled headers are supported, include all headers we'd ever need
|
|
|
|
// that don't often change. if not supported, include nothing (would actually
|
|
|
|
// slow down the build, since unnecessary headers would be included).
|
|
|
|
// hence, all files include precompiled.h and then all the headers they'd
|
|
|
|
// normally lead => best build performance with or without PCH.
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(disable:4996) // function is deprecated
|
|
|
|
#pragma warning(disable:4786) // identifier truncated to 255 chars
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_PCH
|
|
|
|
|
2004-05-08 03:18:15 +02:00
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <math.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <wchar.h>
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
#include <stack>
|
|
|
|
#include <string>
|
2004-06-01 19:34:12 +02:00
|
|
|
#include <set>
|
|
|
|
#include <deque>
|
2004-06-15 23:08:51 +02:00
|
|
|
#include <fstream>
|
2004-05-08 03:18:15 +02:00
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
#include <algorithm>
|
|
|
|
#include <numeric>
|
2004-05-24 22:25:48 +02:00
|
|
|
|
2004-06-09 19:56:28 +02:00
|
|
|
|
|
|
|
#include <xercesc/dom/DOM.hpp>
|
|
|
|
#include <xercesc/parsers/XercesDOMParser.hpp>
|
|
|
|
#include <xercesc/util/XMLString.hpp>
|
|
|
|
#include <xercesc/util/PlatformUtils.hpp>
|
|
|
|
|
|
|
|
#include <xercesc/sax/InputSource.hpp>
|
|
|
|
#include <xercesc/sax/EntityResolver.hpp>
|
|
|
|
#include <xercesc/util/BinMemInputStream.hpp>
|
|
|
|
|
|
|
|
#include <xercesc/sax/SAXParseException.hpp>
|
|
|
|
#include <xercesc/util/XercesDefs.hpp>
|
|
|
|
#include <xercesc/sax/ErrorHandler.hpp>
|
|
|
|
|
|
|
|
#include <xercesc/framework/LocalFileInputSource.hpp>
|
|
|
|
|
2004-06-15 23:08:51 +02:00
|
|
|
// Nicer memory leak reporting in MSVC
|
|
|
|
// (except you've got to include all STL headers first to avoid
|
|
|
|
// nasty complaints, so make sure they're in the list above)
|
|
|
|
#include <crtdbg.h>
|
|
|
|
#define new new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
2004-06-04 14:41:53 +02:00
|
|
|
|
2004-06-15 23:08:51 +02:00
|
|
|
#endif
|