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