Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <delta.hpp>
Public Types | |
using | value_type = TValue |
using | delta_type = TDelta |
Public Member Functions | |
DeltaEncode (TValue value=0) | |
void | clear () noexcept |
TValue | value () const noexcept |
TDelta | update (TValue new_value) noexcept |
Private Attributes | |
DeltaEncode value type must be some | integer |
DeltaEncode delta type must be some signed | integer |
Delta type size should be larger or equal to value type | size |
TValue | m_value |
Helper class for delta encoding.
using osmium::util::DeltaEncode< TValue, TDelta >::delta_type = TDelta |
using osmium::util::DeltaEncode< TValue, TDelta >::value_type = TValue |
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |
|
private |
|
private |