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

Detailed Description

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

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPArrayConstraint:

Classes

class  _Internal

Public Types

enum  : int { kVarIndexFieldNumber = 1 , kResultantVarIndexFieldNumber = 2 }
 nested types -------------------------------------------------— More...

Public Member Functions

 MPArrayConstraint ()
 ~MPArrayConstraint () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPArrayConstraint (::google::protobuf::internal::ConstantInitialized)
 MPArrayConstraint (const MPArrayConstraint &from)
 MPArrayConstraint (MPArrayConstraint &&from) noexcept
MPArrayConstraintoperator= (const MPArrayConstraint &from)
MPArrayConstraintoperator= (MPArrayConstraint &&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 (MPArrayConstraint *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPArrayConstraint *PROTOBUF_NONNULL other)
MPArrayConstraint *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const MPArrayConstraint &from)
void MergeFrom (const MPArrayConstraint &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_resultant_var_index () const
 optional int32 resultant_var_index = 2;
void clear_resultant_var_index ()
::int32_t resultant_var_index () const
void set_resultant_var_index (::int32_t value)
template<typename>
PROTOBUF_CONSTEXPR MPArrayConstraint (::_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 MPArrayConstraintdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 7

Protected Member Functions

 MPArrayConstraint (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 MPArrayConstraint (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const MPArrayConstraint &from)
 MPArrayConstraint (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, MPArrayConstraint &&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 (MPArrayConstraint &a, MPArrayConstraint &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kVarIndexFieldNumber 
kResultantVarIndexFieldNumber 

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

Constructor & Destructor Documentation

◆ MPArrayConstraint() [1/8]

operations_research::MPArrayConstraint::MPArrayConstraint ( )
inline

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

◆ ~MPArrayConstraint()

operations_research::MPArrayConstraint::~MPArrayConstraint ( )

@protoc_insertion_point(destructor:operations_research.MPArrayConstraint)

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

◆ MPArrayConstraint() [2/8]

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

◆ MPArrayConstraint() [3/8]

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

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

◆ MPArrayConstraint() [4/8]

operations_research::MPArrayConstraint::MPArrayConstraint ( MPArrayConstraint && from)
inlinenoexcept

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

◆ MPArrayConstraint() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.MPArrayConstraint)

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

◆ MPArrayConstraint() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.MPArrayConstraint)

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

◆ MPArrayConstraint() [7/8]

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

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

◆ MPArrayConstraint() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.MPArrayConstraint)

repeated int32 var_index = 1;

optional int32 resultant_var_index = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.MPArrayConstraint)

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

◆ add_var_index()

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

@protoc_insertion_point(field_add:operations_research.MPArrayConstraint.var_index)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.MPArrayConstraint)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 var_index = 1;

optional int32 resultant_var_index = 2;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPArrayConstraint::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.MPArrayConstraint)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_resultant_var_index()

void operations_research::MPArrayConstraint::clear_resultant_var_index ( )
inline

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

◆ clear_var_index()

void operations_research::MPArrayConstraint::clear_var_index ( )
inline

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.MPArrayConstraint)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_resultant_var_index()

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

optional int32 resultant_var_index = 2;

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

◆ InternalGenerateClassData_()

auto operations_research::MPArrayConstraint::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::MPArrayConstraint::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_unknown_fields()

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

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

◆ mutable_var_index()

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

@protoc_insertion_point(field_mutable_list:operations_research.MPArrayConstraint.var_index)

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ resultant_var_index()

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

@protoc_insertion_point(field_get:operations_research.MPArrayConstraint.resultant_var_index)

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

◆ set_resultant_var_index()

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

@protoc_insertion_point(field_set:operations_research.MPArrayConstraint.resultant_var_index)

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

◆ set_var_index()

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

@protoc_insertion_point(field_set:operations_research.MPArrayConstraint.var_index)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ var_index() [1/2]

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

@protoc_insertion_point(field_list:operations_research.MPArrayConstraint.var_index)

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

◆ var_index() [2/2]

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

@protoc_insertion_point(field_get:operations_research.MPArrayConstraint.var_index)

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

◆ var_index_size()

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

repeated int32 var_index = 1;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPArrayConstraint::_impl_

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

◆ kIndexInFileMessages

int operations_research::MPArrayConstraint::kIndexInFileMessages = 7
staticconstexpr

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


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