template<typename K, typename V>
class operations_research::math_opt::IdMap< K, V >
Definition at line 57 of file id_map.h.
|
| | IdMap ()=default |
| |
| template<typename InputIt > |
| | IdMap (InputIt first, InputIt last) |
| |
| | IdMap (std::initializer_list< value_type > ilist) |
| |
| | IdMap (const ModelStorage *storage, StorageType values) |
| |
| const_iterator | cbegin () const |
| |
| const_iterator | begin () const |
| |
| iterator | begin () |
| |
| const_iterator | cend () const |
| |
| const_iterator | end () const |
| |
| iterator | end () |
| |
| bool | empty () const |
| |
| size_type | size () const |
| |
| void | clear () |
| |
| void | reserve (size_type count) |
| |
| std::pair< iterator, bool > | insert (std::pair< K, V > k_v) |
| |
| template<typename InputIt > |
| void | insert (InputIt first, InputIt last) |
| |
| void | insert (std::initializer_list< value_type > ilist) |
| |
| template<typename M > |
| std::pair< iterator, bool > | insert_or_assign (const K &k, M &&v) |
| |
| std::pair< iterator, bool > | emplace (const K &k, V v) |
| |
| template<typename... Args> |
| std::pair< iterator, bool > | try_emplace (const K &k, Args &&... args) |
| |
| size_type | erase (const K &k) |
| |
| void | erase (const_iterator pos) |
| |
| iterator | erase (const_iterator first, const_iterator last) |
| |
| void | swap (IdMap &other) |
| |
| const V & | at (const K &k) const |
| |
| V & | at (const K &k) |
| |
| V & | operator[] (const K &k) |
| |
| size_type | count (const K &k) const |
| |
| bool | contains (const K &k) const |
| |
| iterator | find (const K &k) |
| |
| const_iterator | find (const K &k) const |
| |
| std::pair< iterator, iterator > | equal_range (const K &k) |
| |
| std::pair< const_iterator, const_iterator > | equal_range (const K &k) const |
| |
| void | Add (const IdMap &other) |
| |
| void | Subtract (const IdMap &other) |
| |
| std::vector< V > | Values (absl::Span< const K > keys) const |
| |
| absl::flat_hash_map< K, V > | Values (const absl::flat_hash_set< K > &keys) const |
| |
| std::vector< K > | SortedKeys () const |
| |
| std::vector< V > | SortedValues () const |
| |
| const StorageType & | raw_map () const |
| |
| const ModelStorage * | storage () const |
| |
| template<typename M > |
| std::pair< typename IdMap< K, V >::iterator, bool > | insert_or_assign (const K &k, M &&v) |
| |
| template<typename... Args> |
| std::pair< typename IdMap< K, V >::iterator, bool > | try_emplace (const K &k, Args &&... args) |
| |