diff options
author | vng <viktor.govako@gmail.com> | 2011-09-16 20:16:04 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:23:56 +0300 |
commit | 160e5ced67c6499188b81513f174f08c26ee9de0 (patch) | |
tree | b11c2c89394c5bcfb164274f653be466f3ffc3a0 /indexer/data_header.hpp | |
parent | 75daa7a5c7ae5272815ff11ddb586aa14bb28c4e (diff) |
[Reduce mwm size] Add dynamic serial::CodingParams (coordinate bits) for different scale levels.
Diffstat (limited to 'indexer/data_header.hpp')
-rw-r--r-- | indexer/data_header.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indexer/data_header.hpp b/indexer/data_header.hpp index afca6ce7e8..49ac5ce32e 100644 --- a/indexer/data_header.hpp +++ b/indexer/data_header.hpp @@ -22,8 +22,15 @@ namespace feature public: - void SetCodingParams(serial::CodingParams const & params) { m_codingParams = params; } - serial::CodingParams const & GetCodingParams() const { return m_codingParams; } + inline void SetCodingParams(serial::CodingParams const & cp) + { + m_codingParams = cp; + } + inline serial::CodingParams const & GetDefCodingParams() const + { + return m_codingParams; + } + serial::CodingParams GetCodingParams(int scaleIndex) const; m2::RectD const GetBounds() const; void SetBounds(m2::RectD const & r); |