#include <osm_object_builder.hpp>
|
| RelationMemberListBuilder (osmium::memory::Buffer &buffer, Builder *parent=nullptr) |
|
| RelationMemberListBuilder (Builder &parent) |
|
| RelationMemberListBuilder (const RelationMemberListBuilder &)=delete |
|
RelationMemberListBuilder & | operator= (const RelationMemberListBuilder &)=delete |
|
| RelationMemberListBuilder (RelationMemberListBuilder &&)=delete |
|
RelationMemberListBuilder & | operator= (RelationMemberListBuilder &&)=delete |
|
| ~RelationMemberListBuilder () |
|
void | add_member (osmium::item_type type, object_id_type ref, const char *role, const std::size_t role_length, const osmium::OSMObject *full_member=nullptr) |
|
void | add_member (osmium::item_type type, object_id_type ref, const char *role, const osmium::OSMObject *full_member=nullptr) |
|
void | add_member (osmium::item_type type, object_id_type ref, const std::string &role, const osmium::OSMObject *full_member=nullptr) |
|
| Builder (const Builder &)=delete |
|
| Builder (Builder &&)=delete |
|
Builder & | operator= (const Builder &)=delete |
|
Builder & | operator= (Builder &&)=delete |
|
osmium::memory::Buffer & | buffer () noexcept |
| Return the buffer this builder is using. More...
|
|
void | add_item (const osmium::memory::Item &item) |
|
◆ RelationMemberListBuilder() [1/4]
osmium::builder::RelationMemberListBuilder::RelationMemberListBuilder |
( |
osmium::memory::Buffer & |
buffer, |
|
|
Builder * |
parent = nullptr |
|
) |
| |
|
inlineexplicit |
◆ RelationMemberListBuilder() [2/4]
osmium::builder::RelationMemberListBuilder::RelationMemberListBuilder |
( |
Builder & |
parent | ) |
|
|
inlineexplicit |
◆ RelationMemberListBuilder() [3/4]
◆ RelationMemberListBuilder() [4/4]
◆ ~RelationMemberListBuilder()
osmium::builder::RelationMemberListBuilder::~RelationMemberListBuilder |
( |
| ) |
|
|
inline |
◆ add_member() [1/3]
Add a member to the relation.
- Parameters
-
type | The type (node, way, or relation). |
ref | The ID of the member. |
role | The role of the member (\0 terminated string). |
full_member | Optional pointer to the member object. If it is available a copy will be added to the relation. |
- Exceptions
-
◆ add_member() [2/3]
Add a member to the relation.
- Parameters
-
type | The type (node, way, or relation). |
ref | The ID of the member. |
role | The role of the member. |
role_length | Length of the role (without \0 termination). |
full_member | Optional pointer to the member object. If it is available a copy will be added to the relation. |
- Exceptions
-
◆ add_member() [3/3]
Add a member to the relation.
- Parameters
-
type | The type (node, way, or relation). |
ref | The ID of the member. |
role | The role of the member. |
full_member | Optional pointer to the member object. If it is available a copy will be added to the relation. |
- Exceptions
-
◆ add_role()
void osmium::builder::RelationMemberListBuilder::add_role |
( |
osmium::RelationMember & |
member, |
|
|
const char * |
role, |
|
|
const std::size_t |
length |
|
) |
| |
|
inlineprivate |
Add role to buffer.
- Parameters
-
member | Relation member object where the length of the role will be set. |
role | The role. |
length | Length of role (without \0 termination). |
- Exceptions
-
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: