diff options
| author | Alan D. Snow <alansnow21@gmail.com> | 2021-04-18 05:34:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-18 12:34:29 +0200 |
| commit | e4e2991b174ea48b67e9b41c8f356a9cf1bba081 (patch) | |
| tree | d523f7534caf2662f1b97d5e8e40b5d16886c998 /include | |
| parent | 3d1c573dc9d9f56ced597554ad9fa1643f0a0ae9 (diff) | |
| download | PROJ-e4e2991b174ea48b67e9b41c8f356a9cf1bba081.tar.gz PROJ-e4e2991b174ea48b67e9b41c8f356a9cf1bba081.zip | |
Added proj_get_celestial_body_list_from_database (#2674)
Closes #2667
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
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<UnitInfo> 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<CelestialBodyInfo> getCelestialBodyList() const; + PROJ_DLL static AuthorityFactoryNNPtr create(const DatabaseContextNNPtr &context, const std::string &authorityName); |
