Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::Enum< E > Struct Template Reference

Detailed Description

template<typename E>
struct operations_research::math_opt::Enum< E >

Definition at line 132 of file enums.h.

#include <enums.h>

Public Types

using Proto = int

Static Public Member Functions

static std::optional< absl::string_view > ToOptString (E value)
static absl::Span< const E > AllValues ()

Static Public Attributes

static constexpr bool kIsImplemented = false
static constexpr Proto kProtoUnspecifiedValue = {}

Member Typedef Documentation

◆ Proto

template<typename E>
using operations_research::math_opt::Enum< E >::Proto = int

Definition at line 140 of file enums.h.

Member Function Documentation

◆ AllValues()

template<typename E>
absl::Span< const Limit > operations_research::math_opt::Enum< E >::AllValues ( )
static

Definition at line 41 of file basis_status.cc.

◆ ToOptString()

template<typename E>
std::optional< absl::string_view > operations_research::math_opt::Enum< E >::ToOptString ( E value)
static

Definition at line 24 of file basis_status.cc.

Member Data Documentation

◆ kIsImplemented

template<typename E>
bool operations_research::math_opt::Enum< E >::kIsImplemented = false
staticconstexpr

Definition at line 135 of file enums.h.

◆ kProtoUnspecifiedValue

template<typename E>
Proto operations_research::math_opt::Enum< E >::kProtoUnspecifiedValue = {}
staticconstexpr

Definition at line 143 of file enums.h.


The documentation for this struct was generated from the following files: