![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <elements.h>
Public Types | |
using | Container = std::vector<int64_t> |
using | View = ElementIdsConstView<element_type, Container> |
using | value_type = typename View::value_type |
Public Member Functions | |
ElementIdsVector (Container &&container) | |
ElementIdsVector (ElementIdsVector &&) noexcept=default | |
This is move-constructible only. | |
View | view () const |
size_t | size () const |
bool | empty () const |
ElementId< element_type > | operator[] (size_t i) const |
auto | begin () const |
auto | end () const |
ElementIdsVector (const ElementIdsVector &container)=delete | |
ElementIdsVector & | operator= (const ElementIdsVector &container)=delete |
ElementIdsVector & | operator= (ElementIdsVector &&container)=delete |
Container & | container () |
Provides access to the untyped container. |
A container that exposes a container of int64_t as strongly typed element ids.
Definition at line 216 of file elements.h.
using operations_research::math_opt::ElementIdsVector< element_type >::Container = std::vector<int64_t> |
Definition at line 218 of file elements.h.
using operations_research::math_opt::ElementIdsVector< element_type >::value_type = typename View::value_type |
Definition at line 220 of file elements.h.
using operations_research::math_opt::ElementIdsVector< element_type >::View = ElementIdsConstView<element_type, Container> |
Definition at line 219 of file elements.h.
|
inlineexplicit |
Definition at line 222 of file elements.h.
|
defaultnoexcept |
This is move-constructible only.
|
delete |
|
inline |
Definition at line 237 of file elements.h.
|
inline |
Provides access to the untyped container.
Definition at line 245 of file elements.h.
|
inline |
Definition at line 231 of file elements.h.
|
inline |
Definition at line 238 of file elements.h.
|
delete |
|
delete |
|
inline |
Definition at line 233 of file elements.h.
|
inline |
Definition at line 230 of file elements.h.
|
inline |
Definition at line 228 of file elements.h.