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

#include <linear_solver.pb.h>

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

Public Member Functions

 MPVariableProto ()
 
virtual ~MPVariableProto ()
 
 MPVariableProto (const MPVariableProto &from)
 
MPVariableProtooperator= (const MPVariableProto &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MPVariableProto *other)
 
MPVariableProtoNew () const final
 implements Message -------------------------------------------— More...
 
MPVariableProtoNew (::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 MPVariableProto &from)
 
void MergeFrom (const MPVariableProto &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
 
bool has_name () const
 nested types -------------------------------------------------— 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_objective_coefficient () const
 optional double objective_coefficient = 3 [default = 0]; More...
 
void clear_objective_coefficient ()
 
double objective_coefficient () const
 
void set_objective_coefficient (double value)
 
bool has_is_integer () const
 optional bool is_integer = 4 [default = false]; More...
 
void clear_is_integer ()
 
bool is_integer () const
 
void set_is_integer (bool value)
 
bool has_lower_bound () const
 optional double lower_bound = 1 [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 = 2 [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 MPVariableProtodefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const MPVariableProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kNameFieldNumber = 5
 
static const int kObjectiveCoefficientFieldNumber = 3
 
static const int kIsIntegerFieldNumber = 4
 
static const int kLowerBoundFieldNumber = 1
 
static const int kUpperBoundFieldNumber = 2
 

Friends

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

Detailed Description

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

Constructor & Destructor Documentation

◆ MPVariableProto() [1/2]

operations_research::MPVariableProto::MPVariableProto ( )

◆ ~MPVariableProto()

virtual operations_research::MPVariableProto::~MPVariableProto ( )
virtual

◆ MPVariableProto() [2/2]

operations_research::MPVariableProto::MPVariableProto ( const MPVariableProto from)

Member Function Documentation

◆ ByteSizeLong()

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

◆ Clear()

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

◆ clear_is_integer()

void operations_research::MPVariableProto::clear_is_integer ( )
inline

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

◆ clear_lower_bound()

void operations_research::MPVariableProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::MPVariableProto::clear_name ( )
inline

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

◆ clear_objective_coefficient()

void operations_research::MPVariableProto::clear_objective_coefficient ( )
inline

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

◆ clear_upper_bound()

void operations_research::MPVariableProto::clear_upper_bound ( )
inline

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

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

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

◆ default_instance()

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetMetadata()

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

◆ has_is_integer()

bool operations_research::MPVariableProto::has_is_integer ( ) const
inline

optional bool is_integer = 4 [default = false];

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

◆ has_lower_bound()

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

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

MPVariableProto.

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

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

◆ has_name()

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

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

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

accessors ----------------------------------------------------— optional string name = 5 [default = ""];

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

◆ has_objective_coefficient()

bool operations_research::MPVariableProto::has_objective_coefficient ( ) const
inline

optional double objective_coefficient = 3 [default = 0];

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

◆ has_upper_bound()

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

optional double upper_bound = 2 [default = inf];

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

◆ InitAsDefaultInstance()

static void operations_research::MPVariableProto::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

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

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

◆ InternalSerializeWithCachedSizesToArray()

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

◆ is_integer()

bool operations_research::MPVariableProto::is_integer ( ) const
inline

@protoc_insertion_point(field_get:operations_research.MPVariableProto.is_integer)

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

◆ IsInitialized()

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

◆ lower_bound()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.lower_bound)

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

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

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

◆ MergePartialFromCodedStream()

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

◆ mutable_name()

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

@protoc_insertion_point(field_mutable:operations_research.MPVariableProto.name)

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

◆ mutable_unknown_fields()

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

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

◆ name()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.name)

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

◆ New() [1/2]

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

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

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

◆ New() [2/2]

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

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

◆ objective_coefficient()

double operations_research::MPVariableProto::objective_coefficient ( ) const
inline

@protoc_insertion_point(field_get:operations_research.MPVariableProto.objective_coefficient)

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

◆ operator=()

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

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

◆ release_name()

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

@protoc_insertion_point(field_release:operations_research.MPVariableProto.name)

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

◆ SerializeWithCachedSizes()

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

◆ set_allocated_name()

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

@protoc_insertion_point(field_set_allocated:operations_research.MPVariableProto.name)

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

◆ set_is_integer()

void operations_research::MPVariableProto::set_is_integer ( bool  value)
inline

@protoc_insertion_point(field_set:operations_research.MPVariableProto.is_integer)

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

◆ set_lower_bound()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.lower_bound)

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

◆ set_name() [1/3]

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.name)

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

◆ set_name() [2/3]

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

@protoc_insertion_point(field_set_char:operations_research.MPVariableProto.name)

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

◆ set_name() [3/3]

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

@protoc_insertion_point(field_set_pointer:operations_research.MPVariableProto.name)

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

◆ set_objective_coefficient()

void operations_research::MPVariableProto::set_objective_coefficient ( double  value)
inline

@protoc_insertion_point(field_set:operations_research.MPVariableProto.objective_coefficient)

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

◆ set_upper_bound()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.upper_bound)

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

◆ Swap()

void operations_research::MPVariableProto::Swap ( MPVariableProto other)

◆ unknown_fields()

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

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

◆ upper_bound()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.upper_bound)

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

Friends And Related Function Documentation

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

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

◆ swap

void swap ( MPVariableProto a,
MPVariableProto b 
)
friend

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

Member Data Documentation

◆ kIndexInFileMessages

constexpr int operations_research::MPVariableProto::kIndexInFileMessages
static
Initial value:
=
0

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

◆ kIsIntegerFieldNumber

const int operations_research::MPVariableProto::kIsIntegerFieldNumber = 4
static

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

◆ kLowerBoundFieldNumber

const int operations_research::MPVariableProto::kLowerBoundFieldNumber = 1
static

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

◆ kNameFieldNumber

const int operations_research::MPVariableProto::kNameFieldNumber = 5
static

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

◆ kObjectiveCoefficientFieldNumber

const int operations_research::MPVariableProto::kObjectiveCoefficientFieldNumber = 3
static

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

◆ kUpperBoundFieldNumber

const int operations_research::MPVariableProto::kUpperBoundFieldNumber = 2
static

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


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