![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 63 of file thread_safe_id_map.h.
#include <thread_safe_id_map.h>
Public Member Functions | |
| ThreadSafeIdMap ()=default | |
| absl::Span< const std::pair< int64_t, std::unique_ptr< V > > > | UpdateAndGetAll () |
| std::vector< std::pair< int64_t, V * > > | GetAll () const |
| V * | UpdateAndGet (int64_t id) |
| V * | Get (int64_t id) const |
| int64_t | Insert (std::unique_ptr< V > value) |
| bool | Erase (int64_t key) |
| int64_t | Size () const |
|
default |
| bool operations_research::math_opt::ThreadSafeIdMap< V >::Erase | ( | int64_t | key | ) |
Definition at line 233 of file thread_safe_id_map.h.
| V * operations_research::math_opt::ThreadSafeIdMap< V >::Get | ( | int64_t | id | ) | const |
Definition at line 173 of file thread_safe_id_map.h.
| std::vector< std::pair< int64_t, V * > > operations_research::math_opt::ThreadSafeIdMap< V >::GetAll | ( | ) | const |
Definition at line 192 of file thread_safe_id_map.h.
| int64_t operations_research::math_opt::ThreadSafeIdMap< V >::Insert | ( | std::unique_ptr< V > | value | ) |
Definition at line 223 of file thread_safe_id_map.h.
| int64_t operations_research::math_opt::ThreadSafeIdMap< V >::Size | ( | ) | const |
Definition at line 166 of file thread_safe_id_map.h.
| V * operations_research::math_opt::ThreadSafeIdMap< V >::UpdateAndGet | ( | int64_t | id | ) |
Definition at line 209 of file thread_safe_id_map.h.
| absl::Span< const std::pair< int64_t, std::unique_ptr< V > > > operations_research::math_opt::ThreadSafeIdMap< V >::UpdateAndGetAll | ( | ) |
Definition at line 157 of file thread_safe_id_map.h.