diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 00:08:42 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 00:08:42 +0100 |
| commit | 5c86b290e2c5686cbf5100eb71e32b0362a989fc (patch) | |
| tree | 512b64e121df7e8a672613d707c0deaa98af711b /include/proj/common.hpp | |
| parent | 6a541b3a3926282ffc2e4bb20d2f6d78549572b5 (diff) | |
| download | PROJ-5c86b290e2c5686cbf5100eb71e32b0362a989fc.tar.gz PROJ-5c86b290e2c5686cbf5100eb71e32b0362a989fc.zip | |
ISO19111: clean interface of DataEpoch class
Diffstat (limited to 'include/proj/common.hpp')
| -rw-r--r-- | include/proj/common.hpp | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/proj/common.hpp b/include/proj/common.hpp index 6a4d479e..ad8893f7 100644 --- a/include/proj/common.hpp +++ b/include/proj/common.hpp @@ -262,10 +262,22 @@ class DateTime { /** \brief Data epoch */ class DataEpoch { - // FIXME public: - /** FIXME */ - Measure coordinateEpoch{}; + //! @cond Doxygen_Suppress + PROJ_DLL explicit DataEpoch(const Measure &coordinateEpochIn); + PROJ_DLL DataEpoch(const DataEpoch &other); + PROJ_DLL ~DataEpoch(); + //! @endcond + + PROJ_DLL const Measure &coordinateEpoch() const; + + protected: + DataEpoch(); + PROJ_FRIEND_OPTIONAL(DataEpoch); + + private: + DataEpoch &operator=(const DataEpoch &other) = delete; + PROJ_OPAQUE_PRIVATE_DATA }; // --------------------------------------------------------------------------- |
