Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <crc.hpp>
Public Member Functions | |
TCRC & | operator() () noexcept |
const TCRC & | operator() () const noexcept |
void | update_bool (const bool value) noexcept |
void | update_int8 (const uint8_t value) noexcept |
void | update_int16 (const uint16_t value) noexcept |
void | update_int32 (const uint32_t value) noexcept |
void | update_int64 (const uint64_t value) noexcept |
void | update_string (const char *str) noexcept |
void | update (const Timestamp ×tamp) noexcept |
void | update (const osmium::Location &location) noexcept |
void | update (const osmium::Box &box) noexcept |
void | update (const NodeRef &node_ref) noexcept |
void | update (const NodeRefList &node_refs) noexcept |
void | update (const TagList &tags) noexcept |
void | update (const osmium::RelationMember &member) noexcept |
void | update (const osmium::RelationMemberList &members) noexcept |
void | update (const osmium::OSMObject &object) noexcept |
void | update (const osmium::Node &node) noexcept |
void | update (const osmium::Way &way) noexcept |
void | update (const osmium::Relation &relation) noexcept |
void | update (const osmium::Area &area) noexcept |
void | update (const osmium::ChangesetDiscussion &discussion) noexcept |
void | update (const osmium::Changeset &changeset) noexcept |
Private Attributes | |
TCRC | m_crc |
Framework for computing a checksum from OSM data. This class must be instantiated with a policy class that does the actual CRC calculations. It must have the process_byte(), process_bytes(), and checksum() member functions implemented according to the description in Boost (https://www.boost.org/doc/libs/release/libs/crc/crc.html).
Typically you will either use the boost::crc_32_type from the Boost CRC library or the osmium::CRC_zlib class which uses the zlib library for this, but other checksums are possible.
TCRC | A CRC type. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |