1 | #ifndef BOOST_DESCRIBE_MODIFIERS_HPP_INCLUDED |
2 | #define BOOST_DESCRIBE_MODIFIERS_HPP_INCLUDED |
3 | |
4 | // Copyright 2020 Peter Dimov |
5 | // Distributed under the Boost Software License, Version 1.0. |
6 | // https://www.boost.org/LICENSE_1_0.txt |
7 | |
8 | #include <boost/describe/detail/config.hpp> |
9 | |
10 | namespace boost |
11 | { |
12 | namespace describe |
13 | { |
14 | |
15 | enum modifiers |
16 | { |
17 | mod_public = 1, |
18 | mod_protected = 2, |
19 | mod_private = 4, |
20 | mod_virtual = 8, |
21 | mod_static = 16, |
22 | mod_function = 32, |
23 | mod_any_member = 64, |
24 | mod_inherited = 128, |
25 | mod_hidden = 256 |
26 | }; |
27 | |
28 | BOOST_DESCRIBE_CONSTEXPR_OR_CONST modifiers mod_any_access = static_cast<modifiers>( mod_public | mod_protected | mod_private ); |
29 | |
30 | } // namespace describe |
31 | } // namespace boost |
32 | |
33 | #endif // #ifndef BOOST_DESCRIBE_MODIFIERS_HPP_INCLUDED |
34 | |