class EE::UI::CSS::PropertyIdSet¶
Overview¶
Fixed-capacity set of dense PropertyId values. More…
#include <propertyidset.hpp> class PropertyIdSet { public: // methods void insert(PropertyId id); void clear(); void erase(PropertyId id); bool empty() const; bool contains(PropertyId id) const; size_t size() const; PropertyIdSet& operator|=(const PropertyIdSet& other); PropertyIdSet operator|(const PropertyIdSet& other) const; PropertyIdSet& operator&=(const PropertyIdSet& other); PropertyIdSet operator&(const PropertyIdSet& other) const; bool operator==(const PropertyIdSet& other) const; bool operator!=(const PropertyIdSet& other) const; PropertyIdSetIterator begin() const; PropertyIdSetIterator end() const; PropertyIdSetIterator erase(const PropertyIdSetIterator& it); };
Detailed Documentation¶
Fixed-capacity set of dense PropertyId values.
Backed by a 512-bit std::bitset, so construction, clearing, copying, union, intersection, and iteration perform zero heap allocations. Only successfully registered property definitions occupy bits; unknown names never enter this set. Iteration yields present IDs in ascending dense ID order.