Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <id_set.hpp>
Public Member Functions | |
IdSet ()=default | |
IdSet (const IdSet &)=default | |
IdSet & | operator= (const IdSet &)=default |
IdSet (IdSet &&) noexcept=default | |
IdSet & | operator= (IdSet &&) noexcept=default |
virtual | ~IdSet () noexcept=default |
virtual void | set (T id)=0 |
virtual bool | get (T id) const noexcept=0 |
virtual bool | empty () const =0 |
virtual void | clear ()=0 |
virtual std::size_t | used_memory () const noexcept=0 |
Virtual parent class for IdSets. Use one of the implementations provided.
|
default |
|
default |
|
defaultnoexcept |
|
virtualdefaultnoexcept |
|
pure virtual |
Clear the set.
Implemented in osmium::index::IdSetDense< T, chunk_bits >, and osmium::index::IdSetSmall< T >.
|
pure virtual |
Is the set empty?
Implemented in osmium::index::IdSetDense< T, chunk_bits >, and osmium::index::IdSetSmall< T >.
|
pure virtualnoexcept |
Is the Id in the set?
Implemented in osmium::index::IdSetDense< T, chunk_bits >, and osmium::index::IdSetSmall< T >.
|
default |
|
defaultnoexcept |
|
pure virtual |
Add the given Id to the set.
Implemented in osmium::index::IdSetDense< T, chunk_bits >, and osmium::index::IdSetSmall< T >.
|
pure virtualnoexcept |
Get an estimate of the amount of memory used for the set.
Implemented in osmium::index::IdSetDense< T, chunk_bits >, and osmium::index::IdSetSmall< T >.