1 #ifndef OSMIUM_OSM_ENTITY_BITS_HPP 2 #define OSMIUM_OSM_ENTITY_BITS_HPP 43 namespace osm_entity_bits {
60 enum type :
unsigned char {
76 return static_cast<type>(
static_cast<int>(lhs) | static_cast<int> (rhs));
85 return static_cast<type>(
static_cast<int>(lhs) & static_cast<int> (rhs));
89 return static_cast<type>(~static_cast<
int>(value));
105 #endif // OSMIUM_OSM_ENTITY_BITS_HPP type
Definition: entity_bits.hpp:60
item_type
Definition: item_type.hpp:43
Definition: entity_bits.hpp:67
Definition: entity_bits.hpp:70
object or changeset
Definition: entity_bits.hpp:71
type from_item_type(osmium::item_type item_type) noexcept
Definition: entity_bits.hpp:97
Definition: entity_bits.hpp:64
node, way, or relation object
Definition: entity_bits.hpp:66
Namespace for everything in the Osmium library.
Definition: assembler.hpp:59
type operator&=(type &lhs, const type rhs) noexcept
Definition: entity_bits.hpp:92
type operator&(const type lhs, const type rhs) noexcept
Definition: entity_bits.hpp:84
type operator|(const type lhs, const type rhs) noexcept
Definition: entity_bits.hpp:75
Definition: entity_bits.hpp:63
node, way, relation, or area object
Definition: entity_bits.hpp:68
Definition: entity_bits.hpp:62
type & operator|=(type &lhs, const type rhs) noexcept
Definition: entity_bits.hpp:79
Definition: entity_bits.hpp:65
type operator~(const type value) noexcept
Definition: entity_bits.hpp:88