Osmium
0.1
|
#include <handler.hpp>
Public Member Functions | |
Base () | |
void | init (Osmium::OSM::Meta &) const |
void | before_nodes () const |
void | node (const shared_ptr< Osmium::OSM::Node const > &) const |
void | after_nodes () const |
void | before_ways () const |
void | way (const shared_ptr< Osmium::OSM::Way const > &) const |
void | after_ways () const |
void | before_relations () const |
void | relation (const shared_ptr< Osmium::OSM::Relation const > &) const |
void | after_relations () const |
void | area (Osmium::OSM::Area *) const |
void | final () const |
Base class for all handler classes. Defines empty methods that can be overwritten in child classes.
To define your own handler create a subclass of this class. Only overwrite the methods you actually use. They must be declared public. If you overwrite the constructor, call the Base constructor without arguments.
Osmium::Handler::Base::Base | ( | ) | [inline] |
void Osmium::Handler::Base::after_nodes | ( | ) | const [inline] |
void Osmium::Handler::Base::after_relations | ( | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >, and Osmium::Handler::Debug.
void Osmium::Handler::Base::after_ways | ( | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >, and Osmium::Handler::Debug.
void Osmium::Handler::Base::area | ( | Osmium::OSM::Area * | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >.
void Osmium::Handler::Base::before_nodes | ( | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >, and Osmium::Handler::Debug.
void Osmium::Handler::Base::before_relations | ( | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >, and Osmium::Handler::Debug.
void Osmium::Handler::Base::before_ways | ( | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >, and Osmium::Handler::Debug.
void Osmium::Handler::Base::final | ( | ) | const [inline] |
Reimplemented in Osmium::Handler::Forward< THandler >, Osmium::Handler::Progress, and Osmium::Handler::Debug.
void Osmium::Handler::Base::init | ( | Osmium::OSM::Meta & | ) | const [inline] |
Reimplemented in Osmium::Handler::Progress, and Osmium::Handler::Forward< THandler >.
void Osmium::Handler::Base::node | ( | const shared_ptr< Osmium::OSM::Node const > & | ) | const [inline] |
Reimplemented in Osmium::Handler::Debug.
void Osmium::Handler::Base::relation | ( | const shared_ptr< Osmium::OSM::Relation const > & | ) | const [inline] |
Reimplemented in Osmium::Handler::Debug.
void Osmium::Handler::Base::way | ( | const shared_ptr< Osmium::OSM::Way const > & | ) | const [inline] |
Reimplemented in Osmium::Handler::Debug.