#include <osm_object_builder.hpp>
◆ type
◆ ChangesetBuilder()
osmium::builder::ChangesetBuilder::ChangesetBuilder |
( |
osmium::memory::Buffer & |
buffer, |
|
|
Builder * |
parent = nullptr |
|
) |
| |
|
inlineexplicit |
◆ cobject()
const Changeset & osmium::builder::ChangesetBuilder::cobject |
( |
| ) |
const |
|
inlinenoexcept |
Get a const reference to the changeset buing built.
Note that this reference will be invalidated by every action on the builder that might make the buffer grow. This includes calls to set_user() and any time a new sub-builder is created.
◆ object()
Changeset & osmium::builder::ChangesetBuilder::object |
( |
| ) |
|
|
inlinenoexcept |
Get a reference to the changeset buing built.
Note that this reference will be invalidated by every action on the builder that might make the buffer grow. This includes calls to set_user() and any time a new sub-builder is created.
◆ set_bounds()
ChangesetBuilder & osmium::builder::ChangesetBuilder::set_bounds |
( |
const osmium::Box & |
box | ) |
|
|
inlinenoexcept |
◆ set_user() [1/3]
ChangesetBuilder & osmium::builder::ChangesetBuilder::set_user |
( |
const char * |
user | ) |
|
|
inline |
Set user name.
- Parameters
-
user | Pointer to \0-terminated user name. |
- Precondition
-
◆ set_user() [2/3]
Set user name.
- Parameters
-
user | Pointer to user name. |
length | Length of user name (without \0 termination). |
◆ set_user() [3/3]
ChangesetBuilder & osmium::builder::ChangesetBuilder::set_user |
( |
const std::string & |
user | ) |
|
|
inline |
Set user name.
- Parameters
-
- Precondition
-
◆ min_size_for_user
The documentation for this class was generated from the following file: