modifiers.hpp 765 B

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