Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
operations_research::MPConstraintProto Class Reference

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPConstraintProto:
Inheritance graph
[legend]
Collaboration diagram for operations_research::MPConstraintProto:
Collaboration graph
[legend]

Public Member Functions

 MPConstraintProto ()
 
virtual ~MPConstraintProto ()
 
 MPConstraintProto (const MPConstraintProto &from)
 
MPConstraintProtooperator= (const MPConstraintProto &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MPConstraintProto *other)
 
MPConstraintProtoNew () const final
 implements Message -------------------------------------------— More...
 
MPConstraintProtoNew (::google::protobuf::Arena *arena) const final
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const MPConstraintProto &from)
 
void MergeFrom (const MPConstraintProto &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (::google::protobuf::uint8 *target) const final
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
int var_index_size () const
 nested types -------------------------------------------------— More...
 
void clear_var_index ()
 
::google::protobuf::int32 var_index (int index) const
 
void set_var_index (int index, ::google::protobuf::int32 value)
 
void add_var_index (::google::protobuf::int32 value)
 
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & var_index () const
 
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_var_index ()
 
int coefficient_size () const
 repeated double coefficient = 7 [packed = true]; More...
 
void clear_coefficient ()
 
double coefficient (int index) const
 
void set_coefficient (int index, double value)
 
void add_coefficient (double value)
 
const ::google::protobuf::RepeatedField< double > & coefficient () const
 
::google::protobuf::RepeatedField< double > * mutable_coefficient ()
 
bool has_name () const
 optional string name = 4 [default = ""]; More...
 
void clear_name ()
 
const ::std::string & name () const
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
::std::string * mutable_name ()
 
::std::string * release_name ()
 
void set_allocated_name (::std::string *name)
 
bool has_is_lazy () const
 optional bool is_lazy = 5 [default = false]; More...
 
void clear_is_lazy ()
 
bool is_lazy () const
 
void set_is_lazy (bool value)
 
bool has_lower_bound () const
 optional double lower_bound = 2 [default = -inf]; More...
 
void clear_lower_bound ()
 
double lower_bound () const
 
void set_lower_bound (double value)
 
bool has_upper_bound () const
 optional double upper_bound = 3 [default = inf]; More...
 
void clear_upper_bound ()
 
double upper_bound () const
 
void set_upper_bound (double value)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const MPConstraintProtodefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const MPConstraintProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kVarIndexFieldNumber = 6
 
static const int kCoefficientFieldNumber = 7
 
static const int kNameFieldNumber = 4
 
static const int kIsLazyFieldNumber = 5
 
static const int kLowerBoundFieldNumber = 2
 
static const int kUpperBoundFieldNumber = 3
 

Friends

struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
 
void swap (MPConstraintProto &a, MPConstraintProto &b)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ MPConstraintProto() [1/2]

operations_research::MPConstraintProto::MPConstraintProto ( )

◆ ~MPConstraintProto()

virtual operations_research::MPConstraintProto::~MPConstraintProto ( )
virtual

◆ MPConstraintProto() [2/2]

operations_research::MPConstraintProto::MPConstraintProto ( const MPConstraintProto from)

Member Function Documentation

◆ add_coefficient()

void operations_research::MPConstraintProto::add_coefficient ( double  value)
inline

@protoc_insertion_point(field_add:operations_research.MPConstraintProto.coefficient)

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

◆ add_var_index()

void operations_research::MPConstraintProto::add_var_index ( ::google::protobuf::int32  value)
inline

@protoc_insertion_point(field_add:operations_research.MPConstraintProto.var_index)

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

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void operations_research::MPConstraintProto::Clear ( )
final

◆ clear_coefficient()

void operations_research::MPConstraintProto::clear_coefficient ( )
inline

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

◆ clear_is_lazy()

void operations_research::MPConstraintProto::clear_is_lazy ( )
inline

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

◆ clear_lower_bound()

void operations_research::MPConstraintProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::MPConstraintProto::clear_name ( )
inline

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

◆ clear_upper_bound()

void operations_research::MPConstraintProto::clear_upper_bound ( )
inline

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

◆ clear_var_index()

void operations_research::MPConstraintProto::clear_var_index ( )
inline

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

◆ coefficient() [1/2]

double operations_research::MPConstraintProto::coefficient ( int  index) const
inline

@protoc_insertion_point(field_get:operations_research.MPConstraintProto.coefficient)

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

◆ coefficient() [2/2]

const ::google::protobuf::RepeatedField< double > & operations_research::MPConstraintProto::coefficient ( ) const
inline

@protoc_insertion_point(field_list:operations_research.MPConstraintProto.coefficient)

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

◆ coefficient_size()

int operations_research::MPConstraintProto::coefficient_size ( ) const
inline

repeated double coefficient = 7 [packed = true];

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

◆ CopyFrom() [1/2]

void operations_research::MPConstraintProto::CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void operations_research::MPConstraintProto::CopyFrom ( const MPConstraintProto from)

◆ default_instance()

static const MPConstraintProto& operations_research::MPConstraintProto::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* operations_research::MPConstraintProto::descriptor ( )
inlinestatic

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

◆ GetCachedSize()

int operations_research::MPConstraintProto::GetCachedSize ( ) const
inlinefinal

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

◆ GetMetadata()

::google::protobuf::Metadata operations_research::MPConstraintProto::GetMetadata ( ) const
final

◆ has_is_lazy()

bool operations_research::MPConstraintProto::has_is_lazy ( ) const
inline

optional bool is_lazy = 5 [default = false];

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

◆ has_lower_bound()

bool operations_research::MPConstraintProto::has_lower_bound ( ) const
inline

optional double lower_bound = 2 [default = -inf];

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

◆ has_name()

bool operations_research::MPConstraintProto::has_name ( ) const
inline

optional string name = 4 [default = ""];

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

◆ has_upper_bound()

bool operations_research::MPConstraintProto::has_upper_bound ( ) const
inline

optional double upper_bound = 3 [default = inf];

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

◆ InitAsDefaultInstance()

static void operations_research::MPConstraintProto::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const MPConstraintProto* operations_research::MPConstraintProto::internal_default_instance ( )
inlinestatic

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

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* operations_research::MPConstraintProto::InternalSerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  target) const
final

◆ is_lazy()

bool operations_research::MPConstraintProto::is_lazy ( ) const
inline

@protoc_insertion_point(field_get:operations_research.MPConstraintProto.is_lazy)

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

◆ IsInitialized()

bool operations_research::MPConstraintProto::IsInitialized ( ) const
final

◆ lower_bound()

double operations_research::MPConstraintProto::lower_bound ( ) const
inline

@protoc_insertion_point(field_get:operations_research.MPConstraintProto.lower_bound)

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

◆ MergeFrom() [1/2]

void operations_research::MPConstraintProto::MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void operations_research::MPConstraintProto::MergeFrom ( const MPConstraintProto from)

◆ MergePartialFromCodedStream()

bool operations_research::MPConstraintProto::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_coefficient()

google::protobuf::RepeatedField< double > * operations_research::MPConstraintProto::mutable_coefficient ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.MPConstraintProto.coefficient)

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

◆ mutable_name()

std::string * operations_research::MPConstraintProto::mutable_name ( )
inline

@protoc_insertion_point(field_mutable:operations_research.MPConstraintProto.name)

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

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet* operations_research::MPConstraintProto::mutable_unknown_fields ( )
inline

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

◆ mutable_var_index()

google::protobuf::RepeatedField<::google::protobuf::int32 > * operations_research::MPConstraintProto::mutable_var_index ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.MPConstraintProto.var_index)

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

◆ name()

const ::std::string & operations_research::MPConstraintProto::name ( ) const
inline

@protoc_insertion_point(field_get:operations_research.MPConstraintProto.name)

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

◆ New() [1/2]

MPConstraintProto* operations_research::MPConstraintProto::New ( ) const
inlinefinal

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

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

◆ New() [2/2]

MPConstraintProto* operations_research::MPConstraintProto::New ( ::google::protobuf::Arena *  arena) const
inlinefinal

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

◆ operator=()

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

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

◆ release_name()

std::string * operations_research::MPConstraintProto::release_name ( )
inline

@protoc_insertion_point(field_release:operations_research.MPConstraintProto.name)

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

◆ SerializeWithCachedSizes()

void operations_research::MPConstraintProto::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_name()

void operations_research::MPConstraintProto::set_allocated_name ( ::std::string *  name)
inline

@protoc_insertion_point(field_set_allocated:operations_research.MPConstraintProto.name)

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

◆ set_coefficient()

void operations_research::MPConstraintProto::set_coefficient ( int  index,
double  value 
)
inline

@protoc_insertion_point(field_set:operations_research.MPConstraintProto.coefficient)

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

◆ set_is_lazy()

void operations_research::MPConstraintProto::set_is_lazy ( bool  value)
inline

@protoc_insertion_point(field_set:operations_research.MPConstraintProto.is_lazy)

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

◆ set_lower_bound()

void operations_research::MPConstraintProto::set_lower_bound ( double  value)
inline

@protoc_insertion_point(field_set:operations_research.MPConstraintProto.lower_bound)

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

◆ set_name() [1/3]

void operations_research::MPConstraintProto::set_name ( const ::std::string &  value)
inline

@protoc_insertion_point(field_set:operations_research.MPConstraintProto.name)

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

◆ set_name() [2/3]

void operations_research::MPConstraintProto::set_name ( const char *  value)
inline

@protoc_insertion_point(field_set_char:operations_research.MPConstraintProto.name)

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

◆ set_name() [3/3]

void operations_research::MPConstraintProto::set_name ( const char *  value,
size_t  size 
)
inline

@protoc_insertion_point(field_set_pointer:operations_research.MPConstraintProto.name)

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

◆ set_upper_bound()

void operations_research::MPConstraintProto::set_upper_bound ( double  value)
inline

@protoc_insertion_point(field_set:operations_research.MPConstraintProto.upper_bound)

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

◆ set_var_index()

void operations_research::MPConstraintProto::set_var_index ( int  index,
::google::protobuf::int32  value 
)
inline

@protoc_insertion_point(field_set:operations_research.MPConstraintProto.var_index)

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

◆ Swap()

void operations_research::MPConstraintProto::Swap ( MPConstraintProto other)

◆ unknown_fields()

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

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

◆ upper_bound()

double operations_research::MPConstraintProto::upper_bound ( ) const
inline

@protoc_insertion_point(field_get:operations_research.MPConstraintProto.upper_bound)

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

◆ var_index() [1/2]

google::protobuf::int32 operations_research::MPConstraintProto::var_index ( int  index) const
inline

@protoc_insertion_point(field_get:operations_research.MPConstraintProto.var_index)

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

◆ var_index() [2/2]

const ::google::protobuf::RepeatedField<::google::protobuf::int32 > & operations_research::MPConstraintProto::var_index ( ) const
inline

@protoc_insertion_point(field_list:operations_research.MPConstraintProto.var_index)

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

◆ var_index_size()

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

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

MPConstraintProto.

accessors ----------------------------------------------------— repeated int32 var_index = 6 [packed = true];

repeated int32 var_index = 6 [packed = true];

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

Friends And Related Function Documentation

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

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

◆ swap

void swap ( MPConstraintProto a,
MPConstraintProto b 
)
friend

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

Member Data Documentation

◆ kCoefficientFieldNumber

const int operations_research::MPConstraintProto::kCoefficientFieldNumber = 7
static

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

◆ kIndexInFileMessages

constexpr int operations_research::MPConstraintProto::kIndexInFileMessages
static
Initial value:
=
1

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

◆ kIsLazyFieldNumber

const int operations_research::MPConstraintProto::kIsLazyFieldNumber = 5
static

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

◆ kLowerBoundFieldNumber

const int operations_research::MPConstraintProto::kLowerBoundFieldNumber = 2
static

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

◆ kNameFieldNumber

const int operations_research::MPConstraintProto::kNameFieldNumber = 4
static

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

◆ kUpperBoundFieldNumber

const int operations_research::MPConstraintProto::kUpperBoundFieldNumber = 3
static

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

◆ kVarIndexFieldNumber

const int operations_research::MPConstraintProto::kVarIndexFieldNumber = 6
static

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


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