![]() |
OR-Tools
9.6
|
Classes | |
| class | const_iterator |
Public Types | |
| using | IdType = typename K::IdType |
| using | StorageType = absl::flat_hash_set< IdType > |
| using | key_type = K |
| using | value_type = key_type |
| using | size_type = typename StorageType::size_type |
| using | difference_type = typename StorageType::difference_type |
| using | reference = K |
| using | const_reference = const K |
| using | pointer = void |
| using | const_pointer = void |
| using | iterator = const_iterator |
Public Member Functions | |
| IdSet ()=default | |
| template<typename InputIt > | |
| IdSet (InputIt first, InputIt last) | |
| IdSet (std::initializer_list< value_type > ilist) | |
| IdSet (const ModelStorage *storage, StorageType values) | |
| const_iterator | cbegin () const |
| const_iterator | begin () const |
| const_iterator | cend () const |
| const_iterator | end () const |
| bool | empty () const |
| size_type | size () const |
| void | clear () |
| void | reserve (size_type count) |
| std::pair< const_iterator, bool > | insert (const K &k) |
| template<typename InputIt > | |
| void | insert (InputIt first, InputIt last) |
| void | insert (std::initializer_list< value_type > ilist) |
| std::pair< const_iterator, bool > | emplace (const K &k) |
| size_type | erase (const K &k) |
| void | erase (const_iterator pos) |
| const_iterator | erase (const_iterator first, const_iterator last) |
| void | swap (IdSet &other) |
| size_type | count (const K &k) const |
| bool | contains (const K &k) const |
| const_iterator | find (const K &k) const |
| std::pair< const_iterator, const_iterator > | equal_range (const K &k) const |
| const StorageType & | raw_set () const |
| const ModelStorage * | storage () const |
| using const_pointer = void |
| using const_reference = const K |
| using difference_type = typename StorageType::difference_type |
| using iterator = const_iterator |
| using StorageType = absl::flat_hash_set<IdType> |
| using value_type = key_type |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |