C++ Reference

C++ Reference: Linear solver

MPConstraintProto

Detailed Description

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

Public Types

enum  : int {
  kVarIndexFieldNumber = 6, kCoefficientFieldNumber = 7, kNameFieldNumber = 4, kIsLazyFieldNumber = 5,
  kLowerBoundFieldNumber = 2, kUpperBoundFieldNumber = 3
}
 

Public Member Functions

 MPConstraintProto ()
 
virtual ~MPConstraintProto ()
 
 MPConstraintProto (const MPConstraintProto &from)
 
 MPConstraintProto (MPConstraintProto &&from) noexcept
 
MPConstraintProtooperator= (const MPConstraintProto &from)
 
MPConstraintProtooperator= (MPConstraintProto &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MPConstraintProto *other)
 
MPConstraintProtoNew () const final
 
MPConstraintProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void MergeFrom (const ::PROTOBUF_NAMESPACE_ID::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
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
int var_index_size () const
 
void clear_var_index ()
 
::PROTOBUF_NAMESPACE_ID::int32 var_index (int index) const
 
void set_var_index (int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
 
void add_var_index (::PROTOBUF_NAMESPACE_ID::int32 value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & var_index () const
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_var_index ()
 
int coefficient_size () const
 
void clear_coefficient ()
 
double coefficient (int index) const
 
void set_coefficient (int index, double value)
 
void add_coefficient (double value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & coefficient () const
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_coefficient ()
 
bool has_name () const
 
void clear_name ()
 
const std::string & name () const
 
void set_name (const std::string &value)
 
void set_name (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
 
void clear_is_lazy ()
 
bool is_lazy () const
 
void set_is_lazy (bool value)
 
bool has_lower_bound () const
 
void clear_lower_bound ()
 
double lower_bound () const
 
void set_lower_bound (double value)
 
bool has_upper_bound () const
 
void clear_upper_bound ()
 
double upper_bound () const
 
void set_upper_bound (double value)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const MPConstraintProtodefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const MPConstraintProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kVarIndexFieldNumber 
kCoefficientFieldNumber 
kNameFieldNumber 
kIsLazyFieldNumber 
kLowerBoundFieldNumber 
kUpperBoundFieldNumber 

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

Constructor & Destructor Documentation

◆ MPConstraintProto() [1/3]

◆ ~MPConstraintProto()

virtual ~MPConstraintProto ( )
virtual

◆ MPConstraintProto() [2/3]

◆ MPConstraintProto() [3/3]

MPConstraintProto ( MPConstraintProto &&  from)
inlinenoexcept

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

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ add_coefficient()

void add_coefficient ( double  value)
inline

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

◆ add_var_index()

void add_var_index ( ::PROTOBUF_NAMESPACE_ID::int32  value)
inline

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

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_coefficient()

void clear_coefficient ( )
inline

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

◆ clear_is_lazy()

void clear_is_lazy ( )
inline

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

◆ clear_lower_bound()

void clear_lower_bound ( )
inline

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

◆ clear_name()

void clear_name ( )
inline

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

◆ clear_upper_bound()

void clear_upper_bound ( )
inline

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

◆ clear_var_index()

void clear_var_index ( )
inline

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

◆ coefficient() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & coefficient ( ) const
inline

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

◆ coefficient() [2/2]

double coefficient ( int  index) const
inline

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

◆ coefficient_size()

int coefficient_size ( ) const
inline

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

◆ CopyFrom() [1/2]

void CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const MPConstraintProto from)

◆ default_instance()

static const MPConstraintProto& default_instance ( )
static

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

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

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

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

◆ has_is_lazy()

bool has_is_lazy ( ) const
inline

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

◆ has_lower_bound()

bool has_lower_bound ( ) const
inline

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

◆ has_name()

bool has_name ( ) const
inline

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

◆ has_upper_bound()

bool has_upper_bound ( ) const
inline

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const MPConstraintProto* internal_default_instance ( )
inlinestatic

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

◆ is_lazy()

bool is_lazy ( ) const
inline

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

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ lower_bound()

double lower_bound ( ) const
inline

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

◆ MergeFrom() [1/2]

void MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const MPConstraintProto from)

◆ mutable_coefficient()

PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_coefficient ( )
inline

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

◆ mutable_name()

std::string * mutable_name ( )
inline

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

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields ( )
inline

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

◆ mutable_var_index()

PROTOBUF_NAMESPACE_ID::RepeatedField<::PROTOBUF_NAMESPACE_ID::int32 > * mutable_var_index ( )
inline

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

◆ name()

const std::string & name ( ) const
inline

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

◆ New() [1/2]

MPConstraintProto* New ( ) const
inlinefinal

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

◆ New() [2/2]

MPConstraintProto* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

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

◆ operator=() [1/2]

MPConstraintProto& operator= ( const MPConstraintProto from)
inline

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

◆ operator=() [2/2]

MPConstraintProto& operator= ( MPConstraintProto &&  from)
inlinenoexcept

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

◆ release_name()

std::string * release_name ( )
inline

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

◆ set_allocated_name()

void set_allocated_name ( std::string *  name)
inline

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

◆ set_coefficient()

void set_coefficient ( int  index,
double  value 
)
inline

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

◆ set_is_lazy()

void set_is_lazy ( bool  value)
inline

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

◆ set_lower_bound()

void set_lower_bound ( double  value)
inline

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

◆ set_name() [1/4]

void set_name ( const char *  value)
inline

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

◆ set_name() [2/4]

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

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

◆ set_name() [3/4]

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

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

◆ set_name() [4/4]

void set_name ( std::string &&  value)
inline

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

◆ set_upper_bound()

void set_upper_bound ( double  value)
inline

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

◆ set_var_index()

void set_var_index ( int  index,
::PROTOBUF_NAMESPACE_ID::int32  value 
)
inline

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

◆ Swap()

void Swap ( MPConstraintProto other)
inline

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

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields ( ) const
inline

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

◆ upper_bound()

double upper_bound ( ) const
inline

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

◆ var_index() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::PROTOBUF_NAMESPACE_ID::int32 > & var_index ( ) const
inline

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

◆ var_index() [2/2]

PROTOBUF_NAMESPACE_ID::int32 var_index ( int  index) const
inline

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

◆ var_index_size()

int var_index_size ( ) const
inline

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

Member Data Documentation

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
1

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


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