Google OR-Tools: operations_research::MPSolution Class Reference

Definition at line 1502 of file linear_solver.pb.h.

#include <linear_solver.pb.h>

Public Types

enum  : int { kVariableValueFieldNumber = 2 , kObjectiveValueFieldNumber = 1 }

Public Member Functions

 MPSolution ()
 ~MPSolution () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPSolution (::google::protobuf::internal::ConstantInitialized)
 MPSolution (const MPSolution &from)
 MPSolution (MPSolution &&from) noexcept
MPSolutionoperator= (const MPSolution &from)
MPSolutionoperator= (MPSolution &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (MPSolution *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPSolution *PROTOBUF_NONNULL other)
MPSolution *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPSolution &from)
void MergeFrom (const MPSolution &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int variable_value_size () const
void clear_variable_value ()
double variable_value (int index) const
void set_variable_value (int index, double value)
void add_variable_value (double value)
const ::google::protobuf::RepeatedField< double > & variable_value () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_variable_value ()
bool has_objective_value () const
void clear_objective_value ()
double objective_value () const
void set_objective_value (double value)
template<typename>
PROTOBUF_CONSTEXPR MPSolution (::_pbi::ConstantInitialized)

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const MPSolutiondefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 19

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
void swap (MPSolution &a, MPSolution &b)

◆ anonymous enum

Enumerator
kVariableValueFieldNumber 
kObjectiveValueFieldNumber 

Definition at line 1643 of file linear_solver.pb.h.

operations_research::MPSolution::MPSolution ( )
inline

◆ ~MPSolution()

operations_research::MPSolution::~MPSolution ( )

◆ MPSolution() [2/5]

template<typename = void>

PROTOBUF_CONSTEXPR operations_research::MPSolution::MPSolution ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ MPSolution() [3/5]

operations_research::MPSolution::MPSolution ( const MPSolution & from)
inline

◆ MPSolution() [4/5]

operations_research::MPSolution::MPSolution ( MPSolution && from)
inlinenoexcept

◆ MPSolution() [5/5]

template<typename>

PROTOBUF_CONSTEXPR operations_research::MPSolution::MPSolution ( ::_pbi::ConstantInitialized )

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::MPSolution::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

◆ add_variable_value()

void operations_research::MPSolution::add_variable_value ( double value)
inline

◆ ByteSizeLong()

size_t operations_research::MPSolution::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPSolution::Clear ( )

◆ clear_objective_value()

void operations_research::MPSolution::clear_objective_value ( )
inline

◆ clear_variable_value()

void operations_research::MPSolution::clear_variable_value ( )
inline

◆ CopyFrom()

void operations_research::MPSolution::CopyFrom ( const MPSolution & from)

◆ default_instance()

const MPSolution & operations_research::MPSolution::default_instance ( )
inlinestatic

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::MPSolution::descriptor ( )
inlinestatic

◆ GetCachedSize()

int operations_research::MPSolution::GetCachedSize ( ) const
inline

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::MPSolution::GetDescriptor ( )
inlinestatic

◆ GetMetadata()

google::protobuf::Metadata operations_research::MPSolution::GetMetadata ( ) const

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::MPSolution::GetReflection ( )
inlinestatic

◆ has_objective_value()

bool operations_research::MPSolution::has_objective_value ( ) const
inline

◆ InternalGenerateClassData_()

auto operations_research::MPSolution::InternalGenerateClassData_ ( )
staticconstexpr

◆ IsInitialized()

bool operations_research::MPSolution::IsInitialized ( ) const
inline

◆ MergeFrom()

void operations_research::MPSolution::MergeFrom ( const MPSolution & from)
inline

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::MPSolution::mutable_unknown_fields ( )
inline

◆ mutable_variable_value()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::MPSolution::mutable_variable_value ( )
inline

◆ New()

MPSolution *PROTOBUF_NONNULL operations_research::MPSolution::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

◆ objective_value()

double operations_research::MPSolution::objective_value ( ) const
inline

◆ operator=() [1/2]

MPSolution & operations_research::MPSolution::operator= ( const MPSolution & from)
inline

◆ operator=() [2/2]

MPSolution & operations_research::MPSolution::operator= ( MPSolution && from)
inlinenoexcept

◆ set_objective_value()

void operations_research::MPSolution::set_objective_value ( double value)
inline

◆ set_variable_value()

void operations_research::MPSolution::set_variable_value ( int index,
double value )
inline

◆ Swap()

void operations_research::MPSolution::Swap ( MPSolution *PROTOBUF_NONNULL other)
inline

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::MPSolution::unknown_fields ( ) const
inline

◆ UnsafeArenaSwap()

void operations_research::MPSolution::UnsafeArenaSwap ( MPSolution *PROTOBUF_NONNULL other)
inline

◆ variable_value() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::MPSolution::variable_value ( ) const
inline

◆ variable_value() [2/2]

double operations_research::MPSolution::variable_value ( int index) const
inline

◆ variable_value_size()

int operations_research::MPSolution::variable_value_size ( ) const
inline

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena

friend

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>

friend class ::google::protobuf::Arena::InternalHelper

friend

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser

friend

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite

friend

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend

◆ swap

void swap ( MPSolution & a,
MPSolution & b )
friend

◆ _impl_

Impl_ operations_research::MPSolution::_impl_

◆ kIndexInFileMessages

int operations_research::MPSolution::kIndexInFileMessages = 19

staticconstexpr

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