1 #ifndef FWCore_Utilities_IndexSet_h 2 #define FWCore_Utilities_IndexSet_h bool has(unsigned int index) const
Check if an element (=index) is in the set.
void clear()
Clear the set.
unsigned int size() const
Number of elements in the set.
std::vector< bool > content_
bool empty() const
Check if the set is empty.
unsigned int numTrueElements_
Each possible element of the set corresponds an index in this vector. The value of an element tells i...
IndexSet()
Construct empty set.
void insert(unsigned int index)
Insert an element (=index) to the set.
void reserve(unsigned int size)
Reserve memory for the set.