![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 683 of file model.pb.h.
#include <model.pb.h>
Classes | |
class | _Internal |
Public Types | |
enum | : int { kExpressionsFieldNumber = 1 , kWeightsFieldNumber = 2 , kNameFieldNumber = 3 } |
nested types -------------------------------------------------— More... |
Public Member Functions | |
SosConstraintProto () | |
~SosConstraintProto () PROTOBUF_FINAL | |
template<typename = void> | |
PROTOBUF_CONSTEXPR | SosConstraintProto (::google::protobuf::internal::ConstantInitialized) |
SosConstraintProto (const SosConstraintProto &from) | |
SosConstraintProto (SosConstraintProto &&from) noexcept | |
SosConstraintProto & | operator= (const SosConstraintProto &from) |
SosConstraintProto & | operator= (SosConstraintProto &&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 (SosConstraintProto *PROTOBUF_NONNULL other) |
void | UnsafeArenaSwap (SosConstraintProto *PROTOBUF_NONNULL other) |
SosConstraintProto *PROTOBUF_NONNULL | New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const |
implements Message -------------------------------------------— | |
void | CopyFrom (const SosConstraintProto &from) |
void | MergeFrom (const SosConstraintProto &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 | expressions_size () const |
repeated .operations_research.math_opt.LinearExpressionProto expressions = 1; | |
void | clear_expressions () |
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL | mutable_expressions (int index) |
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL | mutable_expressions () |
const ::operations_research::math_opt::LinearExpressionProto & | expressions (int index) const |
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL | add_expressions () |
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & | expressions () const |
int | weights_size () const |
repeated double weights = 2; | |
void | clear_weights () |
double | weights (int index) const |
void | set_weights (int index, double value) |
void | add_weights (double value) |
const ::google::protobuf::RepeatedField< double > & | weights () const |
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL | mutable_weights () |
void | clear_name () |
string name = 3; | |
const ::std::string & | name () const |
template<typename Arg_ = const ::std::string&, typename... Args_> | |
void | set_name (Arg_ &&arg, Args_... args) |
::std::string *PROTOBUF_NONNULL | mutable_name () |
::std::string *PROTOBUF_NULLABLE | release_name () |
void | set_allocated_name (::std::string *PROTOBUF_NULLABLE value) |
template<typename> | |
PROTOBUF_CONSTEXPR | SosConstraintProto (::_pbi::ConstantInitialized) |
template<typename Arg_, typename... Args_> | |
PROTOBUF_ALWAYS_INLINE void | set_name (Arg_ &&arg, Args_... args) |
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 SosConstraintProto & | default_instance () |
static constexpr auto | InternalGenerateClassData_ () |
Static Public Attributes | |
static constexpr int | kIndexInFileMessages = 5 |
Protected Member Functions | |
SosConstraintProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena) | |
SosConstraintProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const SosConstraintProto &from) | |
SosConstraintProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, SosConstraintProto &&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_2fmath_5fopt_2fmodel_2eproto |
void | swap (SosConstraintProto &a, SosConstraintProto &b) |
anonymous enum : int |
nested types -------------------------------------------------—
accessors ----------------------------------------------------—
Enumerator | |
---|---|
kExpressionsFieldNumber | |
kWeightsFieldNumber | |
kNameFieldNumber |
Definition at line 825 of file model.pb.h.
|
inline |
Definition at line 686 of file model.pb.h.
operations_research::math_opt::SosConstraintProto::~SosConstraintProto | ( | ) |
@protoc_insertion_point(destructor:operations_research.math_opt.SosConstraintProto)
Definition at line 2707 of file model.pb.cc.
|
explicit |
|
inline |
Definition at line 699 of file model.pb.h.
|
inlinenoexcept |
Definition at line 700 of file model.pb.h.
|
explicitprotected |
@protoc_insertion_point(arena_constructor:operations_research.math_opt.SosConstraintProto)
Definition at line 2661 of file model.pb.cc.
|
protected |
@protoc_insertion_point(copy_constructor:operations_research.math_opt.SosConstraintProto)
Definition at line 2680 of file model.pb.cc.
|
inlineprotectednoexcept |
Definition at line 807 of file model.pb.h.
PROTOBUF_CONSTEXPR operations_research::math_opt::SosConstraintProto::SosConstraintProto | ( | ::_pbi::ConstantInitialized | ) |
Definition at line 99 of file model.pb.cc.
|
final |
@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SosConstraintProto)
repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
repeated double weights = 2;
string name = 3;
@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SosConstraintProto)
Definition at line 2852 of file model.pb.cc.
|
inline |
@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintProto.expressions)
Definition at line 3903 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintProto.weights)
Definition at line 3945 of file model.pb.h.
|
final |
@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SosConstraintProto)
Prevent compiler warnings about cached_has_bits being unused
repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
repeated double weights = 2;
string name = 3;
Definition at line 2900 of file model.pb.cc.
PROTOBUF_NOINLINE void operations_research::math_opt::SosConstraintProto::Clear | ( | ) |
@protoc_insertion_point(message_clear_start:operations_research.math_opt.SosConstraintProto)
Prevent compiler warnings about cached_has_bits being unused
Definition at line 2829 of file model.pb.cc.
void operations_research::math_opt::SosConstraintProto::clear_expressions | ( | ) |
Definition at line 2657 of file model.pb.cc.
|
inline |
string name = 3;
Definition at line 3973 of file model.pb.h.
|
inline |
Definition at line 3933 of file model.pb.h.
void operations_research::math_opt::SosConstraintProto::CopyFrom | ( | const SosConstraintProto & | from | ) |
@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SosConstraintProto)
Definition at line 2969 of file model.pb.cc.
|
inlinestatic |
Definition at line 734 of file model.pb.h.
|
inlinestatic |
Definition at line 725 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintProto.expressions)
Definition at line 3910 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.expressions)
Definition at line 3898 of file model.pb.h.
|
inline |
repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
Definition at line 3884 of file model.pb.h.
|
inline |
Definition at line 793 of file model.pb.h.
|
protected |
Definition at line 2772 of file model.pb.cc.
|
inlinestatic |
Definition at line 728 of file model.pb.h.
google::protobuf::Metadata operations_research::math_opt::SosConstraintProto::GetMetadata | ( | ) | const |
Definition at line 2988 of file model.pb.cc.
|
inlinestatic |
Definition at line 731 of file model.pb.h.
|
staticconstexpr |
Definition at line 2744 of file model.pb.cc.
|
staticconstexprprotected |
Definition at line 2724 of file model.pb.cc.
|
inline |
Definition at line 769 of file model.pb.h.
|
inline |
Definition at line 762 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintProto.expressions)
Definition at line 3892 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable:operations_research.math_opt.SosConstraintProto.expressions)
Definition at line 3887 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable:operations_research.math_opt.SosConstraintProto.name)
Definition at line 3990 of file model.pb.h.
|
inline |
Definition at line 720 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintProto.weights)
Definition at line 3955 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.name)
Definition at line 3978 of file model.pb.h.
|
inline |
implements Message -------------------------------------------—
Definition at line 756 of file model.pb.h.
|
inline |
Definition at line 702 of file model.pb.h.
|
inlinenoexcept |
Definition at line 706 of file model.pb.h.
|
inlinestaticprotected |
Definition at line 2719 of file model.pb.cc.
|
inlinenodiscard |
@protoc_insertion_point(field_release:operations_research.math_opt.SosConstraintProto.name)
Definition at line 4010 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SosConstraintProto.name)
Definition at line 4023 of file model.pb.h.
void operations_research::math_opt::SosConstraintProto::set_name | ( | Arg_ && | arg, |
Args_... | args ) |
PROTOBUF_ALWAYS_INLINE void operations_research::math_opt::SosConstraintProto::set_name | ( | Arg_ && | arg, |
Args_... | args ) |
@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintProto.name)
Definition at line 3984 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintProto.weights)
Definition at line 3941 of file model.pb.h.
|
inline |
Definition at line 740 of file model.pb.h.
|
inline |
Definition at line 716 of file model.pb.h.
|
inline |
Definition at line 748 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintProto.weights)
Definition at line 3950 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.weights)
Definition at line 3937 of file model.pb.h.
|
inline |
repeated double weights = 2;
Definition at line 3930 of file model.pb.h.
|
friend |
Definition at line 890 of file model.pb.h.
|
friend |
Definition at line 892 of file model.pb.h.
|
friend |
Definition at line 883 of file model.pb.h.
|
friend |
Definition at line 889 of file model.pb.h.
|
friend |
Definition at line 912 of file model.pb.h.
|
friend |
Definition at line 739 of file model.pb.h.
Impl_ operations_research::math_opt::SosConstraintProto::_impl_ |
Definition at line 911 of file model.pb.h.
|
staticconstexpr |
Definition at line 738 of file model.pb.h.