Bayeux  3.4.1
Core Foundation library for SuperNEMO
archives_list.h
Go to the documentation of this file.
1 /*
3  * Description :
4  *
5  * Convenience header for listing headers for supported archives.
6  *
7  * Copyright (C) 2011-2019 Francois Mauger <mauger@lpccaen.in2p3.fr>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 3 of the License, or (at
12  * your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
22  * Boston, MA 02110-1301, USA.
23  *
24  */
25 
26 #ifndef DATATOOLS_ARCHIVES_LIST_H
27 #define DATATOOLS_ARCHIVES_LIST_H
28 
30 
31 // Wrap Boost's archive/polymorphic_iarchive header
32 // This header, indirectly, causes "unused parameter" warnings from
33 // a transient include of boost/serialization/smart_cast.hpp.
34 // This should be an innocuous warning, so remove diagnostic for this
35 // header only.
36 // We only use clang pragmas for now because GCC's are highly version
37 // dependent - so need a bit more thought.
38 // To be removed when Boost fix their headers...
39 #ifdef __clang__
40 #pragma clang diagnostic push
41 #pragma clang diagnostic ignored "-Wunused-parameter"
42 #pragma clang diagnostic ignored "-Wunused-local-typedef"
43 #endif
44 #include <boost/archive/polymorphic_iarchive.hpp>
45 #ifdef __clang__
46 #pragma clang diagnostic pop
47 #endif
48 
49 #include <boost/archive/polymorphic_oarchive.hpp>
50 #include <boost/archive/text_oarchive.hpp>
51 #include <boost/archive/text_iarchive.hpp>
52 #include <boost/archive/xml_oarchive.hpp>
53 #include <boost/archive/xml_iarchive.hpp>
54 
56 
57 #endif // DATATOOLS_ARCHIVES_LIST_H
58 
59 // Local Variables: --
60 // mode: c++ --
61 // c-file-style: "gnu" --
62 // tab-width: 2 --
63 // End: --
Describe the datatools API configuration.