Libosmium
2.11.3
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <id_set.hpp>
Public Member Functions | |
virtual | ~IdSet () |
virtual void | set (T id)=0 |
virtual bool | get (T id) const noexcept=0 |
virtual bool | empty () const =0 |
virtual void | clear ()=0 |
Virtual parent class for IdSets. Use one of the implementations provided.
|
inlinevirtual |
|
pure virtual |
Clear the set.
Implemented in osmium::index::IdSetSmall< T >, and osmium::index::IdSetDense< T >.
|
pure virtual |
Is the set empty?
Implemented in osmium::index::IdSetSmall< T >, and osmium::index::IdSetDense< T >.
|
pure virtualnoexcept |
Is the Id in the set?
Implemented in osmium::index::IdSetSmall< T >, and osmium::index::IdSetDense< T >.
|
pure virtual |
Add the given Id to the set.
Implemented in osmium::index::IdSetSmall< T >, and osmium::index::IdSetDense< T >.