Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::MPArrayWithConstantConstraint Class Referencefinal

Detailed Description

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

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPArrayWithConstantConstraint:

Classes

class  _Internal

Public Types

enum  : int { kVarIndexFieldNumber = 1 , kConstantFieldNumber = 2 , kResultantVarIndexFieldNumber = 3 }

Public Member Functions

 MPArrayWithConstantConstraint ()
 ~MPArrayWithConstantConstraint () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPArrayWithConstantConstraint (::google::protobuf::internal::ConstantInitialized)
 MPArrayWithConstantConstraint (const MPArrayWithConstantConstraint &from)
 MPArrayWithConstantConstraint (MPArrayWithConstantConstraint &&from) noexcept
MPArrayWithConstantConstraintoperator= (const MPArrayWithConstantConstraint &from)
MPArrayWithConstantConstraintoperator= (MPArrayWithConstantConstraint &&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 (MPArrayWithConstantConstraint *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPArrayWithConstantConstraint *PROTOBUF_NONNULL other)
MPArrayWithConstantConstraint *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPArrayWithConstantConstraint &from)
void MergeFrom (const MPArrayWithConstantConstraint &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 var_index_size () const
void clear_var_index ()
::int32_t var_index (int index) const
void set_var_index (int index, ::int32_t value)
void add_var_index (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & var_index () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index ()
bool has_constant () const
void clear_constant ()
double constant () const
void set_constant (double value)
bool has_resultant_var_index () const
void clear_resultant_var_index ()
::int32_t resultant_var_index () const
void set_resultant_var_index (::int32_t value)
template<typename>
PROTOBUF_CONSTEXPR MPArrayWithConstantConstraint (::_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 MPArrayWithConstantConstraintdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 8

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 (MPArrayWithConstantConstraint &a, MPArrayWithConstantConstraint &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kVarIndexFieldNumber 
kConstantFieldNumber 
kResultantVarIndexFieldNumber 

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

Constructor & Destructor Documentation

◆ MPArrayWithConstantConstraint() [1/5]

operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( )
inline

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

◆ ~MPArrayWithConstantConstraint()

operations_research::MPArrayWithConstantConstraint::~MPArrayWithConstantConstraint ( )

Definition at line 4483 of file linear_solver.pb.cc.

◆ MPArrayWithConstantConstraint() [2/5]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ MPArrayWithConstantConstraint() [3/5]

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

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

◆ MPArrayWithConstantConstraint() [4/5]

operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( MPArrayWithConstantConstraint && from)
inlinenoexcept

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

◆ MPArrayWithConstantConstraint() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( ::_pbi::ConstantInitialized )

Definition at line 326 of file linear_solver.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 4624 of file linear_solver.pb.cc.

◆ add_var_index()

void operations_research::MPArrayWithConstantConstraint::add_var_index ( ::int32_t value)
inline

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

◆ ByteSizeLong()

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

Definition at line 4673 of file linear_solver.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPArrayWithConstantConstraint::Clear ( )

Definition at line 4598 of file linear_solver.pb.cc.

◆ clear_constant()

void operations_research::MPArrayWithConstantConstraint::clear_constant ( )
inline

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

◆ clear_resultant_var_index()

void operations_research::MPArrayWithConstantConstraint::clear_resultant_var_index ( )
inline

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

◆ clear_var_index()

void operations_research::MPArrayWithConstantConstraint::clear_var_index ( )
inline

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

◆ constant()

double operations_research::MPArrayWithConstantConstraint::constant ( ) const
inline

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

◆ CopyFrom()

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

Definition at line 4735 of file linear_solver.pb.cc.

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

Definition at line 4756 of file linear_solver.pb.cc.

◆ GetReflection()

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

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

◆ has_constant()

bool operations_research::MPArrayWithConstantConstraint::has_constant ( ) const
inline

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

◆ has_resultant_var_index()

bool operations_research::MPArrayWithConstantConstraint::has_resultant_var_index ( ) const
inline

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

◆ InternalGenerateClassData_()

auto operations_research::MPArrayWithConstantConstraint::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 4518 of file linear_solver.pb.cc.

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_unknown_fields()

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

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

◆ mutable_var_index()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::MPArrayWithConstantConstraint::mutable_var_index ( )
inline

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ resultant_var_index()

int32_t operations_research::MPArrayWithConstantConstraint::resultant_var_index ( ) const
inline

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

◆ set_constant()

void operations_research::MPArrayWithConstantConstraint::set_constant ( double value)
inline

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

◆ set_resultant_var_index()

void operations_research::MPArrayWithConstantConstraint::set_resultant_var_index ( ::int32_t value)
inline

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

◆ set_var_index()

void operations_research::MPArrayWithConstantConstraint::set_var_index ( int index,
::int32_t value )
inline

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ var_index() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::MPArrayWithConstantConstraint::var_index ( ) const
inline

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

◆ var_index() [2/2]

int32_t operations_research::MPArrayWithConstantConstraint::var_index ( int index) const
inline

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

◆ var_index_size()

int operations_research::MPArrayWithConstantConstraint::var_index_size ( ) const
inline

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

◆ ::google::protobuf::Arena

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

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

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

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

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

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

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

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

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

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

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
friend

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

◆ swap

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPArrayWithConstantConstraint::_impl_

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

◆ kIndexInFileMessages

int operations_research::MPArrayWithConstantConstraint::kIndexInFileMessages = 8
staticconstexpr

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


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