diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-16 00:10:05 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-16 18:49:58 +0200 |
| commit | 149366116ad0ffb936eaa042823211731e9dcdee (patch) | |
| tree | 1258ceb40af7d348f12ed30c2eb4de1c80c2ace5 /include | |
| parent | 82b496fb32df0b6705159cd5c626aab20c8e9d39 (diff) | |
| download | PROJ-149366116ad0ffb936eaa042823211731e9dcdee.tar.gz PROJ-149366116ad0ffb936eaa042823211731e9dcdee.zip | |
Add multi-line PROJ string export capability, and use it by default in projinfo (unless --single-line is specified) (fixes #1543)
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 9a4c7f9d..20dcedfe 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -387,6 +387,10 @@ class PROJ_GCC_DLL PROJStringFormatter { PROJ_DLL ~PROJStringFormatter(); //! @endcond + PROJ_DLL PROJStringFormatter &setMultiLine(bool multiLine) noexcept; + PROJ_DLL PROJStringFormatter &setIndentationWidth(int width) noexcept; + PROJ_DLL PROJStringFormatter &setMaxLineLength(int maxLineLength) noexcept; + PROJ_DLL void setUseApproxTMerc(bool flag); PROJ_DLL const std::string &toString() const; |
