An interface responsible for inserting osm data into database. More...
#include <ElementImporter.h>
Public Member Functions | |
virtual void | insert_node (osm::Node const &nd)=0 |
virtual void | insert_way (osm::Way const &w)=0 |
virtual void | insert_relation (osm::Relation const &rel)=0 |
virtual void | insert_member_node (int64_t rel_id, std::string const &role, int64_t node_id)=0 |
This gets called automatically when importing relation so you shouldn't need to call it. | |
virtual void | insert_member_way (int64_t rel_id, std::string const &role, int64_t way_id)=0 |
This gets called automatically when importing relation so you shouldn't need to call it. | |
virtual void | insert_member_relation (int64_t parent_id, std::string const &role, int64_t child_id)=0 |
This gets called automatically when importing relation so you shouldn't need to call it. | |
virtual | ~ElementImporter () |
An interface responsible for inserting osm data into database.
Definition at line 20 of file ElementImporter.h.
osmdb::ElementImporter::~ElementImporter | ( | ) | [virtual] |
Definition at line 13 of file ElementImporter.cpp.
virtual void osmdb::ElementImporter::insert_member_node | ( | int64_t | rel_id, |
std::string const & | role, | ||
int64_t | node_id | ||
) | [pure virtual] |
This gets called automatically when importing relation so you shouldn't need to call it.
parent_id | |
role | |
child_id |
Implemented in osmdb::ElementInsertion, and osmdb::ElementCopy.
virtual void osmdb::ElementImporter::insert_member_relation | ( | int64_t | parent_id, |
std::string const & | role, | ||
int64_t | child_id | ||
) | [pure virtual] |
This gets called automatically when importing relation so you shouldn't need to call it.
parent_id | |
role | |
child_id |
Implemented in osmdb::ElementInsertion, and osmdb::ElementCopy.
virtual void osmdb::ElementImporter::insert_member_way | ( | int64_t | rel_id, |
std::string const & | role, | ||
int64_t | way_id | ||
) | [pure virtual] |
This gets called automatically when importing relation so you shouldn't need to call it.
parent_id | |
role | |
child_id |
Implemented in osmdb::ElementInsertion, and osmdb::ElementCopy.
virtual void osmdb::ElementImporter::insert_node | ( | osm::Node const & | nd | ) | [pure virtual] |
Implemented in osmdb::ElementInsertion, and osmdb::ElementCopy.
virtual void osmdb::ElementImporter::insert_relation | ( | osm::Relation const & | rel | ) | [pure virtual] |
Implemented in osmdb::ElementInsertion, and osmdb::ElementCopy.
virtual void osmdb::ElementImporter::insert_way | ( | osm::Way const & | w | ) | [pure virtual] |
Implemented in osmdb::ElementInsertion, and osmdb::ElementCopy.