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

Detailed Description

Definition at line 683 of file model.pb.h.

#include <model.pb.h>

Inheritance diagram for operations_research::math_opt::SosConstraintProto:

Classes

class  _Internal

Public Types

enum  : int { kExpressionsFieldNumber = 1 , kWeightsFieldNumber = 2 , kNameFieldNumber = 3 }

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
SosConstraintProtooperator= (const SosConstraintProto &from)
SosConstraintProtooperator= (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
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
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::LinearExpressionProtoexpressions (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
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 ()
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 SosConstraintProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 5

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)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kExpressionsFieldNumber 
kWeightsFieldNumber 
kNameFieldNumber 

Definition at line 824 of file model.pb.h.

Constructor & Destructor Documentation

◆ SosConstraintProto() [1/5]

operations_research::math_opt::SosConstraintProto::SosConstraintProto ( )
inline

Definition at line 686 of file model.pb.h.

◆ ~SosConstraintProto()

operations_research::math_opt::SosConstraintProto::~SosConstraintProto ( )

Definition at line 2886 of file model.pb.cc.

◆ SosConstraintProto() [2/5]

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

◆ SosConstraintProto() [3/5]

operations_research::math_opt::SosConstraintProto::SosConstraintProto ( const SosConstraintProto & from)
inline

Definition at line 699 of file model.pb.h.

◆ SosConstraintProto() [4/5]

operations_research::math_opt::SosConstraintProto::SosConstraintProto ( SosConstraintProto && from)
inlinenoexcept

Definition at line 700 of file model.pb.h.

◆ SosConstraintProto() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::math_opt::SosConstraintProto::SosConstraintProto ( ::_pbi::ConstantInitialized )

Definition at line 99 of file model.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 3040 of file model.pb.cc.

◆ add_expressions()

operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL operations_research::math_opt::SosConstraintProto::add_expressions ( )
inline

Definition at line 3951 of file model.pb.h.

◆ add_weights()

void operations_research::math_opt::SosConstraintProto::add_weights ( double value)
inline

Definition at line 3998 of file model.pb.h.

◆ ByteSizeLong()

size_t operations_research::math_opt::SosConstraintProto::ByteSizeLong ( ) const
final

Definition at line 3096 of file model.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::math_opt::SosConstraintProto::Clear ( )

Definition at line 3011 of file model.pb.cc.

◆ clear_expressions()

void operations_research::math_opt::SosConstraintProto::clear_expressions ( )

Definition at line 2834 of file model.pb.cc.

◆ clear_name()

void operations_research::math_opt::SosConstraintProto::clear_name ( )
inline

Definition at line 4028 of file model.pb.h.

◆ clear_weights()

void operations_research::math_opt::SosConstraintProto::clear_weights ( )
inline

Definition at line 3984 of file model.pb.h.

◆ CopyFrom()

void operations_research::math_opt::SosConstraintProto::CopyFrom ( const SosConstraintProto & from)

Definition at line 3177 of file model.pb.cc.

◆ default_instance()

const SosConstraintProto & operations_research::math_opt::SosConstraintProto::default_instance ( )
inlinestatic

Definition at line 734 of file model.pb.h.

◆ descriptor()

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

Definition at line 725 of file model.pb.h.

◆ expressions() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & operations_research::math_opt::SosConstraintProto::expressions ( ) const
inline

Definition at line 3961 of file model.pb.h.

◆ expressions() [2/2]

const::operations_research::math_opt::LinearExpressionProto & operations_research::math_opt::SosConstraintProto::expressions ( int index) const
inline

Definition at line 3946 of file model.pb.h.

◆ expressions_size()

int operations_research::math_opt::SosConstraintProto::expressions_size ( ) const
inline

Definition at line 3931 of file model.pb.h.

◆ GetCachedSize()

int operations_research::math_opt::SosConstraintProto::GetCachedSize ( ) const
inline

Definition at line 793 of file model.pb.h.

◆ GetDescriptor()

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

Definition at line 728 of file model.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::math_opt::SosConstraintProto::GetMetadata ( ) const

Definition at line 3196 of file model.pb.cc.

◆ GetReflection()

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

Definition at line 731 of file model.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::math_opt::SosConstraintProto::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 2926 of file model.pb.cc.

◆ IsInitialized()

bool operations_research::math_opt::SosConstraintProto::IsInitialized ( ) const
inline

Definition at line 769 of file model.pb.h.

◆ MergeFrom()

void operations_research::math_opt::SosConstraintProto::MergeFrom ( const SosConstraintProto & from)
inline

Definition at line 762 of file model.pb.h.

◆ mutable_expressions() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL operations_research::math_opt::SosConstraintProto::mutable_expressions ( )
inline

Definition at line 3939 of file model.pb.h.

◆ mutable_expressions() [2/2]

operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL operations_research::math_opt::SosConstraintProto::mutable_expressions ( int index)
inline

Definition at line 3934 of file model.pb.h.

◆ mutable_name()

std::string *PROTOBUF_NONNULL operations_research::math_opt::SosConstraintProto::mutable_name ( )
inline

Definition at line 4046 of file model.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::math_opt::SosConstraintProto::mutable_unknown_fields ( )
inline

Definition at line 720 of file model.pb.h.

◆ mutable_weights()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::math_opt::SosConstraintProto::mutable_weights ( )
inline

Definition at line 4009 of file model.pb.h.

◆ name()

const::std::string & operations_research::math_opt::SosConstraintProto::name ( ) const
inline

Definition at line 4034 of file model.pb.h.

◆ New()

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

Definition at line 756 of file model.pb.h.

◆ operator=() [1/2]

SosConstraintProto & operations_research::math_opt::SosConstraintProto::operator= ( const SosConstraintProto & from)
inline

Definition at line 702 of file model.pb.h.

◆ operator=() [2/2]

SosConstraintProto & operations_research::math_opt::SosConstraintProto::operator= ( SosConstraintProto && from)
inlinenoexcept

Definition at line 706 of file model.pb.h.

◆ release_name()

std::string *PROTOBUF_NULLABLE operations_research::math_opt::SosConstraintProto::release_name ( )
inlinenodiscard

Definition at line 4065 of file model.pb.h.

◆ set_allocated_name()

void operations_research::math_opt::SosConstraintProto::set_allocated_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

Definition at line 4078 of file model.pb.h.

◆ set_name() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::math_opt::SosConstraintProto::set_name ( Arg_ && arg,
Args_... args )

Definition at line 4040 of file model.pb.h.

◆ set_name() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::math_opt::SosConstraintProto::set_name ( Arg_ && arg,
Args_... args )

◆ set_weights()

void operations_research::math_opt::SosConstraintProto::set_weights ( int index,
double value )
inline

Definition at line 3994 of file model.pb.h.

◆ Swap()

void operations_research::math_opt::SosConstraintProto::Swap ( SosConstraintProto *PROTOBUF_NONNULL other)
inline

Definition at line 740 of file model.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::math_opt::SosConstraintProto::unknown_fields ( ) const
inline

Definition at line 716 of file model.pb.h.

◆ UnsafeArenaSwap()

void operations_research::math_opt::SosConstraintProto::UnsafeArenaSwap ( SosConstraintProto *PROTOBUF_NONNULL other)
inline

Definition at line 748 of file model.pb.h.

◆ weights() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::math_opt::SosConstraintProto::weights ( ) const
inline

Definition at line 4004 of file model.pb.h.

◆ weights() [2/2]

double operations_research::math_opt::SosConstraintProto::weights ( int index) const
inline

Definition at line 3990 of file model.pb.h.

◆ weights_size()

int operations_research::math_opt::SosConstraintProto::weights_size ( ) const
inline

Definition at line 3981 of file model.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 889 of file model.pb.h.

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

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

Definition at line 891 of file model.pb.h.

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

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

Definition at line 882 of file model.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 888 of file model.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto
friend

Definition at line 911 of file model.pb.h.

◆ swap

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

Definition at line 739 of file model.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SosConstraintProto::_impl_

Definition at line 910 of file model.pb.h.

◆ kIndexInFileMessages

int operations_research::math_opt::SosConstraintProto::kIndexInFileMessages = 5
staticconstexpr

Definition at line 738 of file model.pb.h.


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