Definition at line 50 of file model_summary.h.
#include <model_summary.h>
◆ IdNameBiMap() [1/4]
| operations_research::math_opt::IdNameBiMap::IdNameBiMap |
( |
bool | check_names = true | ) |
|
|
inlineexplicit |
◆ IdNameBiMap() [2/4]
| operations_research::math_opt::IdNameBiMap::IdNameBiMap |
( |
const IdNameBiMap & | other | ) |
|
◆ IdNameBiMap() [3/4]
| operations_research::math_opt::IdNameBiMap::IdNameBiMap |
( |
IdNameBiMap && | other | ) |
|
|
default |
◆ IdNameBiMap() [4/4]
| operations_research::math_opt::IdNameBiMap::IdNameBiMap |
( |
std::initializer_list< std::pair< int64_t, absl::string_view > > | ids | ) |
|
◆ BulkUpdate()
| absl::Status operations_research::math_opt::IdNameBiMap::BulkUpdate |
( |
absl::Span< const int64_t > | deleted_ids, |
|
|
absl::Span< const int64_t > | new_ids, |
|
|
absl::Span< const std::string *const > | names ) |
◆ Empty()
| bool operations_research::math_opt::IdNameBiMap::Empty |
( |
| ) |
const |
|
inline |
◆ Erase()
| absl::Status operations_research::math_opt::IdNameBiMap::Erase |
( |
int64_t | id | ) |
|
|
inline |
◆ HasId()
| bool operations_research::math_opt::IdNameBiMap::HasId |
( |
int64_t | id | ) |
const |
|
inline |
◆ HasName()
| bool operations_research::math_opt::IdNameBiMap::HasName |
( |
absl::string_view | name | ) |
const |
|
inline |
◆ id_to_name()
| const gtl::linked_hash_map< int64_t, std::string > & operations_research::math_opt::IdNameBiMap::id_to_name |
( |
| ) |
const |
|
inline |
◆ Insert()
| absl::Status operations_research::math_opt::IdNameBiMap::Insert |
( |
int64_t | id, |
|
|
std::string | name ) |
|
inline |
◆ next_free_id()
| int64_t operations_research::math_opt::IdNameBiMap::next_free_id |
( |
| ) |
const |
|
inline |
◆ nonempty_name_to_id()
| const std::optional< absl::flat_hash_map< absl::string_view, int64_t > > & operations_research::math_opt::IdNameBiMap::nonempty_name_to_id |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetNextFreeId()
| absl::Status operations_research::math_opt::IdNameBiMap::SetNextFreeId |
( |
int64_t | new_next_free_id | ) |
|
|
inline |
◆ Size()
| int operations_research::math_opt::IdNameBiMap::Size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: