![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <safe_attr_ops.h>
Public Types | |
using | Descriptor = AttrTypeDescriptorT<AttrType> |
using | Key = AttrKeyFor<AttrType> |
using | ValueType = typename Descriptor::ValueType |
Static Public Member Functions | |
static absl::StatusOr< AttrType > | SafeCastAttr (int attr) |
static absl::StatusOr< ValueType > | Get (Elemental *e, int attr, Key key) |
static absl::Status | Set (Elemental *e, int attr, Key key, ValueType value) |
static absl::StatusOr< bool > | IsNonDefault (Elemental *e, int attr, Key key) |
static absl::StatusOr< int64_t > | NumNonDefaults (Elemental *e, int attr) |
static absl::StatusOr< std::vector< Key > > | GetNonDefaults (Elemental *e, int attr) |
Definition at line 31 of file safe_attr_ops.h.
using operations_research::math_opt::AttrOp< AttrType >::Descriptor = AttrTypeDescriptorT<AttrType> |
Definition at line 32 of file safe_attr_ops.h.
using operations_research::math_opt::AttrOp< AttrType >::Key = AttrKeyFor<AttrType> |
Definition at line 33 of file safe_attr_ops.h.
using operations_research::math_opt::AttrOp< AttrType >::ValueType = typename Descriptor::ValueType |
Definition at line 34 of file safe_attr_ops.h.
|
inlinestatic |
Definition at line 44 of file safe_attr_ops.h.
|
inlinestatic |
Definition at line 64 of file safe_attr_ops.h.
|
inlinestatic |
Definition at line 54 of file safe_attr_ops.h.
|
inlinestatic |
Definition at line 59 of file safe_attr_ops.h.
|
inlinestatic |
Definition at line 36 of file safe_attr_ops.h.
|
inlinestatic |
Definition at line 49 of file safe_attr_ops.h.