OR-Tools  9.6
Enum< E >

Detailed Description

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

Definition at line 132 of file 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

using Proto = int

Definition at line 140 of file enums.h.

Member Function Documentation

◆ AllValues()

absl::Span< const Limit > AllValues ( )
static

Definition at line 41 of file basis_status.cc.

◆ ToOptString()

std::optional< absl::string_view > ToOptString ( value)
static

Definition at line 24 of file basis_status.cc.

Member Data Documentation

◆ kIsImplemented

constexpr bool kIsImplemented = false
staticconstexpr

Definition at line 135 of file enums.h.

◆ kProtoUnspecifiedValue

constexpr Proto kProtoUnspecifiedValue = {}
staticconstexpr

Definition at line 143 of file enums.h.


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