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

Detailed Description

Definition at line 2823 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 }
 nested types -------------------------------------------------— More...

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
 implements Message -------------------------------------------—
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
 repeated int32 var_index = 1;
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
 optional double constant = 2;
void clear_constant ()
double constant () const
void set_constant (double value)
bool has_resultant_var_index () const
 optional int32 resultant_var_index = 3;
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

Protected Member Functions

 MPArrayWithConstantConstraint (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 MPArrayWithConstantConstraint (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const MPArrayWithConstantConstraint &from)
 MPArrayWithConstantConstraint (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, MPArrayWithConstantConstraint &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

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

nested types -------------------------------------------------—

accessors ----------------------------------------------------—

Enumerator
kVarIndexFieldNumber 
kConstantFieldNumber 
kResultantVarIndexFieldNumber 

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

Constructor & Destructor Documentation

◆ MPArrayWithConstantConstraint() [1/8]

operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( )
inline

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

◆ ~MPArrayWithConstantConstraint()

operations_research::MPArrayWithConstantConstraint::~MPArrayWithConstantConstraint ( )

@protoc_insertion_point(destructor:operations_research.MPArrayWithConstantConstraint)

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

◆ MPArrayWithConstantConstraint() [2/8]

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

◆ MPArrayWithConstantConstraint() [3/8]

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

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

◆ MPArrayWithConstantConstraint() [4/8]

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

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

◆ MPArrayWithConstantConstraint() [5/8]

operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.MPArrayWithConstantConstraint)

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

◆ MPArrayWithConstantConstraint() [6/8]

operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const MPArrayWithConstantConstraint & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.MPArrayWithConstantConstraint)

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

◆ MPArrayWithConstantConstraint() [7/8]

operations_research::MPArrayWithConstantConstraint::MPArrayWithConstantConstraint ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
MPArrayWithConstantConstraint && from )
inlineprotectednoexcept

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

◆ MPArrayWithConstantConstraint() [8/8]

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

@protoc_insertion_point(serialize_to_array_start:operations_research.MPArrayWithConstantConstraint)

repeated int32 var_index = 1;

optional double constant = 2;

optional int32 resultant_var_index = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.MPArrayWithConstantConstraint)

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

◆ add_var_index()

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

@protoc_insertion_point(field_add:operations_research.MPArrayWithConstantConstraint.var_index)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.MPArrayWithConstantConstraint)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 var_index = 1;

optional int32 resultant_var_index = 3;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPArrayWithConstantConstraint::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.MPArrayWithConstantConstraint)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_constant()

void operations_research::MPArrayWithConstantConstraint::clear_constant ( )
inline

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

◆ clear_resultant_var_index()

void operations_research::MPArrayWithConstantConstraint::clear_resultant_var_index ( )
inline

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

◆ clear_var_index()

void operations_research::MPArrayWithConstantConstraint::clear_var_index ( )
inline

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

◆ constant()

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

@protoc_insertion_point(field_get:operations_research.MPArrayWithConstantConstraint.constant)

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.MPArrayWithConstantConstraint)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::MPArrayWithConstantConstraint::GetClassData ( ) const
protected

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_constant()

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

optional double constant = 2;

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

◆ has_resultant_var_index()

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

optional int32 resultant_var_index = 3;

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

◆ InternalGenerateClassData_()

auto operations_research::MPArrayWithConstantConstraint::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::MPArrayWithConstantConstraint::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

Definition at line 2902 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 2860 of file linear_solver.pb.h.

◆ mutable_var_index()

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

@protoc_insertion_point(field_mutable_list:operations_research.MPArrayWithConstantConstraint.var_index)

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

◆ New()

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

implements Message -------------------------------------------—

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::MPArrayWithConstantConstraint::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

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

◆ resultant_var_index()

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

@protoc_insertion_point(field_get:operations_research.MPArrayWithConstantConstraint.resultant_var_index)

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

◆ set_constant()

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

@protoc_insertion_point(field_set:operations_research.MPArrayWithConstantConstraint.constant)

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

◆ set_resultant_var_index()

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

@protoc_insertion_point(field_set:operations_research.MPArrayWithConstantConstraint.resultant_var_index)

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

◆ set_var_index()

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

@protoc_insertion_point(field_set:operations_research.MPArrayWithConstantConstraint.var_index)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ var_index() [1/2]

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

@protoc_insertion_point(field_list:operations_research.MPArrayWithConstantConstraint.var_index)

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

◆ var_index() [2/2]

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

@protoc_insertion_point(field_get:operations_research.MPArrayWithConstantConstraint.var_index)

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

◆ var_index_size()

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

repeated int32 var_index = 1;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

◆ swap

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPArrayWithConstantConstraint::_impl_

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

◆ kIndexInFileMessages

int operations_research::MPArrayWithConstantConstraint::kIndexInFileMessages = 8
staticconstexpr

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


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