| QxOrm 1.4.1 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

QxPrecompiled.h
Go to the documentation of this file.

    00001 /****************************************************************************
    00002 **
    00003 ** http://www.qxorm.com/
    00004 ** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)
    00005 **
    00006 ** This file is part of the QxOrm library
    00007 **
    00008 ** This software is provided 'as-is', without any express or implied
    00009 ** warranty. In no event will the authors be held liable for any
    00010 ** damages arising from the use of this software
    00011 **
    00012 ** Commercial Usage
    00013 ** Licensees holding valid commercial QxOrm licenses may use this file in
    00014 ** accordance with the commercial license agreement provided with the
    00015 ** Software or, alternatively, in accordance with the terms contained in
    00016 ** a written agreement between you and Lionel Marty
    00017 **
    00018 ** GNU General Public License Usage
    00019 ** Alternatively, this file may be used under the terms of the GNU
    00020 ** General Public License version 3.0 as published by the Free Software
    00021 ** Foundation and appearing in the file 'license.gpl3.txt' included in the
    00022 ** packaging of this file. Please review the following information to
    00023 ** ensure the GNU General Public License version 3.0 requirements will be
    00024 ** met : http://www.gnu.org/copyleft/gpl.html
    00025 **
    00026 ** If you are unsure which license is appropriate for your use, or
    00027 ** if you have questions regarding the use of this file, please contact :
    00028 ** contact@qxorm.com
    00029 **
    00030 ****************************************************************************/
    00031
    00032 #ifndef _QX_ORM_PRECOMPILED_HEADER_H_
    00033 #define _QX_ORM_PRECOMPILED_HEADER_H_
    00034
    00035 #ifdef _MSC_VER
    00036 #pragma once
    00037 #endif
    00038
    00039 #define BOOST_ALL_NO_LIB /* -- Disable auto-link feature provided by boost -- */
    00040
    00041 #ifdef _MSC_VER
    00042 #pragma warning(disable:4503) /* -- Disable 4503 warning because of boost template -- */
    00043 #pragma warning(disable:4100) /* -- Disable warning 'unreferenced formal parameter' -- */
    00044 #pragma warning(disable:4996)
    00045 #pragma warning(disable:4661)
    00046 #endif // _MSC_VER
    00047
    00048 #include <iostream>
    00049 #include <algorithm>
    00050 #include <string>
    00051 #include <vector>
    00052 #include <list>
    00053 #include <map>
    00054 #include <set>
    00055
    00056 #include <QtCore/qglobal.h>
    00057 #include <QtCore/qobject.h>
    00058 #include <QtCore/qdebug.h>
    00059 #include <QtCore/qstring.h>
    00060 #include <QtCore/qstringlist.h>
    00061 #include <QtCore/qvector.h>
    00062 #include <QtCore/qlist.h>
    00063 #include <QtCore/qmap.h>
    00064 #include <QtCore/qset.h>
    00065 #include <QtCore/qhash.h>
    00066 #include <QtCore/qthread.h>
    00067 #include <QtCore/qmutex.h>
    00068 #include <QtCore/qdir.h>
    00069 #include <QtCore/qfile.h>
    00070 #include <QtCore/qdatetime.h>
    00071 #include <QtCore/qvariant.h>
    00072 #include <QtCore/qpair.h>
    00073
    00074 #ifdef _MSC_VER
    00075 #pragma warning(push)
    00076 #pragma warning(disable:4396)
    00077 #endif // _MSC_VER
    00078
    00079 #include <boost/config.hpp>
    00080 #include <boost/serialization/version.hpp>
    00081 #include <boost/serialization/force_include.hpp>
    00082
    00083 #ifdef BOOST_DLLEXPORT
    00084 #undef BOOST_DLLEXPORT
    00085 #define BOOST_DLLEXPORT /* Nothing */
    00086 #endif // BOOST_DLLEXPORT
    00087
    00088 #ifdef _QX_CPP_11_SMART_PTR
    00089 #ifndef BOOST_NO_CXX11_SMART_PTR
    00090 #include <memory>
    00091 #endif // BOOST_NO_CXX11_SMART_PTR
    00092 #endif // _QX_CPP_11_SMART_PTR
    00093
    00094 #ifdef _QX_CPP_11_CONTAINER
    00095 #ifndef BOOST_NO_CXX11_STD_UNORDERED
    00096 #include <unordered_map>
    00097 #include <unordered_set>
    00098 #endif // BOOST_NO_CXX11_STD_UNORDERED
    00099 #endif // _QX_CPP_11_CONTAINER
    00100
    00101 #ifdef _QX_CPP_11_TUPLE
    00102 #ifndef BOOST_NO_CXX11_HDR_TUPLE
    00103 #include <tuple>
    00104 #endif // BOOST_NO_CXX11_HDR_TUPLE
    00105 #endif // _QX_CPP_11_TUPLE
    00106
    00107 #include <boost/version.hpp>
    00108 #include <boost/scoped_ptr.hpp>
    00109 #include <boost/shared_ptr.hpp>
    00110 #include <boost/unordered_map.hpp>
    00111 #include <boost/algorithm/string.hpp>
    00112 #include <boost/tuple/tuple.hpp>
    00113 #include <boost/foreach.hpp>
    00114 #include <boost/bind.hpp>
    00115 #include <boost/none.hpp>
    00116 #include <boost/optional.hpp>
    00117
    00118 #ifdef _QX_ENABLE_BOOST_SERIALIZATION
    00119 #ifdef _MSC_VER
    00120 #include <boost/serialization/serialization.hpp> /* -- To avoid warning 4100 => header in precompiled header -- */
    00121 #include <boost/archive/detail/iserializer.hpp>
    00122 #include <boost/archive/detail/oserializer.hpp>
    00123 #endif // _MSC_VER
    00124 #endif // _QX_ENABLE_BOOST_SERIALIZATION
    00125
    00126 #ifdef _MSC_VER
    00127 #pragma warning(pop)
    00128 #endif // _MSC_VER
    00129
    00130 #include <QxCommon/QxConfig.h>
    00131 #include <QxCommon/QxMacro.h>
    00132
    00133 #endif // _QX_ORM_PRECOMPILED_HEADER_H_