srid_traits.hpp 893 B

123456789101112131415161718192021222324252627282930313233
  1. // Boost.Geometry
  2. // Copyright (c) 2017-2018, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  4. // Use, modification and distribution is subject to the Boost Software License,
  5. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_GEOMETRY_PROJECTIONS_SRID_TRAITS_HPP
  8. #define BOOST_GEOMETRY_PROJECTIONS_SRID_TRAITS_HPP
  9. #define BOOST_GEOMETRY_PROJECTIONS_DETAIL_SRID_TRAITS_BEG(AUTH, CODE) \
  10. template<> \
  11. struct AUTH##_traits<CODE> \
  12. { \
  13. typedef \
  14. #define BOOST_GEOMETRY_PROJECTIONS_DETAIL_SRID_TRAITS_MID() \
  15. parameters_type; \
  16. static inline parameters_type parameters() \
  17. { \
  18. return parameters_type \
  19. #define BOOST_GEOMETRY_PROJECTIONS_DETAIL_SRID_TRAITS_END() \
  20. ; \
  21. } \
  22. }; \
  23. #endif // BOOST_GEOMETRY_PROJECTIONS_SRID_TRAITS_HPP