aboutsummaryrefslogtreecommitdiff
path: root/include/proj/io.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/proj/io.hpp')
-rw-r--r--include/proj/io.hpp13
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);