diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-01-05 14:10:08 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:04:20 +0300 |
commit | ef1e40d052042e91f5d5ed836cb3f1d656caee5d (patch) | |
tree | 87f1f5b5095ca2bfd7d5929ad3c5fbd48432aa4b /indexer/feature.hpp | |
parent | ea27bce049e73817b70e6df8dc1e131a0350efe2 (diff) |
Implement serialsization for features with type other than GEOM_POINT.
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r-- | indexer/feature.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp index f475b752da..3598ea1701 100644 --- a/indexer/feature.hpp +++ b/indexer/feature.hpp @@ -157,6 +157,9 @@ public: static FeatureType FromXML(string const & xml); static FeatureType FromXML(editor::XMLFeature const & xml); + /// Rewrites all but geometry. + void ApplyPatch(editor::XMLFeature const & xml); + editor::XMLFeature ToXML() const; inline void SetID(FeatureID const & id) { m_id = id; } |