Code_TYMPAN  4.4.0
Industrial site acoustic simulation
std_boost_utils.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3  * This file is part of Code_TYMPAN (R).
4  * Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  * Code_TYMPAN (R) is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
14  */
15 
26 #ifndef TYMPAN_STD_BOOST_UTILS_H__INCLUDED
27 #define TYMPAN_STD_BOOST_UTILS_H__INCLUDED
28 
29 // Misc includes from the standard library related to memory or low-level aspects
30 #include <cassert>
31 #include <cstddef>
32 #include <memory>
33 
34 // Types
35 #include <string>
36 using std::string;
37 #include <complex>
38 #include <cmath>
39 
40 // Smart pointers
41 #include <boost/config.hpp>
42 
43 #include <boost/shared_ptr.hpp>
44 #include <boost/enable_shared_from_this.hpp>
45 #include <boost/make_shared.hpp>
46 
47 // Data structures
48 #include <deque>
49 #include <set>
50 
51 #include <unordered_set>
52 #include "boost/tuple/tuple.hpp"
53 
54 // Import some names which could come either from std:: std::tr1 or boost:: into tympan::
55 namespace tympan
56 {
57 
58 using boost::dynamic_pointer_cast;
59 using boost::make_shared;
60 using boost::shared_ptr;
61 using boost::static_pointer_cast;
62 using boost::weak_ptr;
63 
64 } // namespace tympan
65 
66 // Boost BiMaps are used for some relations between entities
67 #include <boost/bimap/bimap.hpp>
68 // #include <boost/bimap/list_of.hpp>
69 #include <boost/bimap/unordered_set_of.hpp>
70 #include <boost/bimap/unordered_multiset_of.hpp>
71 
72 #include <iterator>
73 #include <algorithm>
74 
75 // Ranges and associated utilities
76 #include <boost/foreach.hpp>
77 #include <boost/range.hpp>
78 // #include <boost/range/any_range.hpp>
79 // #include <boost/range/iterator_range.hpp>
80 // #include <boost/range/functions.hpp>
81 #include <boost/range/adaptors.hpp>
82 // #include <boost/range/adaptor/transformed.hpp>
83 
84 // Boost::Serialize archive support
85 // #include <boost/archive/text_oarchive.hpp>
86 // #include <boost/archive/text_iarchive.hpp>
87 
88 #endif // TYMPAN_STD_BOOST_UTILS_H__INCLUDED