Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <metadata_options.hpp>
Public Member Functions | |
metadata_options () noexcept=default | |
metadata_options (const std::string &attributes) | |
bool | any () const noexcept |
At least one metadata attribute should be stored. More... | |
bool | all () const noexcept |
All metadata attributes should be stored. More... | |
bool | none () const noexcept |
No metadata attributes should be stored. More... | |
bool | version () const noexcept |
void | set_version (bool flag) noexcept |
bool | timestamp () const noexcept |
void | set_timestamp (bool flag) noexcept |
bool | changeset () const noexcept |
void | set_changeset (bool flag) noexcept |
bool | uid () const noexcept |
void | set_uid (bool flag) noexcept |
bool | user () const noexcept |
void | set_user (bool flag) noexcept |
metadata_options | operator&= (const metadata_options &other) |
metadata_options | operator|= (const metadata_options &other) |
std::string | to_string () const |
Private Types | |
enum | options : unsigned int { md_none = 0x00 , md_version = 0x01 , md_timestamp = 0x02 , md_changeset = 0x04 , md_uid = 0x08 , md_user = 0x10 , md_all = 0x1f } |
Private Attributes | |
enum osmium::metadata_options::options | m_options = md_all |
Describes which metadata fields are available in an OSMObject. This is most often used to describe which metadata fields are available in the objects of an OSM file or which metadata information should be written to an OSM file.
|
private |
|
defaultnoexcept |
|
inlineexplicit |
|
inlinenoexcept |
All metadata attributes should be stored.
|
inlinenoexcept |
At least one metadata attribute should be stored.
|
inlinenoexcept |
|
inlinenoexcept |
No metadata attributes should be stored.
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |