From e4e2991b174ea48b67e9b41c8f356a9cf1bba081 Mon Sep 17 00:00:00 2001 From: "Alan D. Snow" Date: Sun, 18 Apr 2021 05:34:29 -0500 Subject: Added proj_get_celestial_body_list_from_database (#2674) Closes #2667 --- include/proj/io.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') diff --git a/include/proj/io.hpp b/include/proj/io.hpp index e4307d02..e51dd19a 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -1126,6 +1126,19 @@ class PROJ_GCC_DLL AuthorityFactory { PROJ_DLL std::list getUnitList() const; + /** Celestial Body information */ + struct CelestialBodyInfo { + /** Authority name */ + std::string authName; + /** Name */ + std::string name; + //! @cond Doxygen_Suppress + CelestialBodyInfo(); + //! @endcond + }; + + PROJ_DLL std::list getCelestialBodyList() const; + PROJ_DLL static AuthorityFactoryNNPtr create(const DatabaseContextNNPtr &context, const std::string &authorityName); -- cgit v1.2.3