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

Detailed Description

Definition at line 1224 of file sparse_containers.pb.h.

#include <sparse_containers.pb.h>

Inheritance diagram for operations_research::math_opt::LinearExpressionProto:

Classes

class  _Internal

Public Types

enum  : int { kIdsFieldNumber = 1 , kCoefficientsFieldNumber = 2 , kOffsetFieldNumber = 3 }

Public Member Functions

 LinearExpressionProto ()
 ~LinearExpressionProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR LinearExpressionProto (::google::protobuf::internal::ConstantInitialized)
 LinearExpressionProto (const LinearExpressionProto &from)
 LinearExpressionProto (LinearExpressionProto &&from) noexcept
LinearExpressionProtooperator= (const LinearExpressionProto &from)
LinearExpressionProtooperator= (LinearExpressionProto &&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 (LinearExpressionProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (LinearExpressionProto *PROTOBUF_NONNULL other)
LinearExpressionProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const LinearExpressionProto &from)
void MergeFrom (const LinearExpressionProto &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 ids_size () const
void clear_ids ()
::int64_t ids (int index) const
void set_ids (int index, ::int64_t value)
void add_ids (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & ids () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids ()
int coefficients_size () const
void clear_coefficients ()
double coefficients (int index) const
void set_coefficients (int index, double value)
void add_coefficients (double value)
const ::google::protobuf::RepeatedField< double > & coefficients () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficients ()
void clear_offset ()
double offset () const
void set_offset (double value)
template<typename>
PROTOBUF_CONSTEXPR LinearExpressionProto (::_pbi::ConstantInitialized)
template<typename>
PROTOBUF_CONSTEXPR LinearExpressionProto (::_pbi::ConstantInitialized)

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 LinearExpressionProtodefault_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_2fsparse_5fcontainers_2eproto
void swap (LinearExpressionProto &a, LinearExpressionProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kIdsFieldNumber 
kCoefficientsFieldNumber 
kOffsetFieldNumber 

Definition at line 1365 of file sparse_containers.pb.h.

Constructor & Destructor Documentation

◆ LinearExpressionProto() [1/6]

operations_research::math_opt::LinearExpressionProto::LinearExpressionProto ( )
inline

Definition at line 1227 of file sparse_containers.pb.h.

◆ ~LinearExpressionProto()

operations_research::math_opt::LinearExpressionProto::~LinearExpressionProto ( )

Definition at line 2047 of file sparse_containers.pb.cc.

◆ LinearExpressionProto() [2/6]

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

◆ LinearExpressionProto() [3/6]

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

Definition at line 1240 of file sparse_containers.pb.h.

◆ LinearExpressionProto() [4/6]

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

Definition at line 1241 of file sparse_containers.pb.h.

◆ LinearExpressionProto() [5/6]

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

Definition at line 178 of file sparse_containers.pb.cc.

◆ LinearExpressionProto() [6/6]

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

Definition at line 176 of file cp_model.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 2193 of file sparse_containers.pb.cc.

◆ add_coefficients()

void operations_research::math_opt::LinearExpressionProto::add_coefficients ( double value)
inline

Definition at line 2119 of file sparse_containers.pb.h.

◆ add_ids()

void operations_research::math_opt::LinearExpressionProto::add_ids ( ::int64_t value)
inline

Definition at line 2069 of file sparse_containers.pb.h.

◆ ByteSizeLong()

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

Definition at line 2246 of file sparse_containers.pb.cc.

◆ Clear()

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

Definition at line 2166 of file sparse_containers.pb.cc.

◆ clear_coefficients()

void operations_research::math_opt::LinearExpressionProto::clear_coefficients ( )
inline

Definition at line 2105 of file sparse_containers.pb.h.

◆ clear_ids()

void operations_research::math_opt::LinearExpressionProto::clear_ids ( )
inline

Definition at line 2055 of file sparse_containers.pb.h.

◆ clear_offset()

void operations_research::math_opt::LinearExpressionProto::clear_offset ( )
inline

Definition at line 2149 of file sparse_containers.pb.h.

◆ coefficients() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::math_opt::LinearExpressionProto::coefficients ( ) const
inline

Definition at line 2125 of file sparse_containers.pb.h.

◆ coefficients() [2/2]

double operations_research::math_opt::LinearExpressionProto::coefficients ( int index) const
inline

Definition at line 2111 of file sparse_containers.pb.h.

◆ coefficients_size()

int operations_research::math_opt::LinearExpressionProto::coefficients_size ( ) const
inline

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

◆ CopyFrom()

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

Definition at line 2319 of file sparse_containers.pb.cc.

◆ default_instance()

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

Definition at line 1275 of file sparse_containers.pb.h.

◆ descriptor()

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

Definition at line 1266 of file sparse_containers.pb.h.

◆ GetCachedSize()

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

Definition at line 1334 of file sparse_containers.pb.h.

◆ GetDescriptor()

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

Definition at line 1269 of file sparse_containers.pb.h.

◆ GetMetadata()

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

Definition at line 2336 of file sparse_containers.pb.cc.

◆ GetReflection()

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

Definition at line 1272 of file sparse_containers.pb.h.

◆ ids() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::math_opt::LinearExpressionProto::ids ( ) const
inline

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

◆ ids() [2/2]

int64_t operations_research::math_opt::LinearExpressionProto::ids ( int index) const
inline

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

◆ ids_size()

int operations_research::math_opt::LinearExpressionProto::ids_size ( ) const
inline

Definition at line 2052 of file sparse_containers.pb.h.

◆ InternalGenerateClassData_()

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

Definition at line 2086 of file sparse_containers.pb.cc.

◆ IsInitialized()

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

Definition at line 1310 of file sparse_containers.pb.h.

◆ MergeFrom()

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

Definition at line 1303 of file sparse_containers.pb.h.

◆ mutable_coefficients()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::math_opt::LinearExpressionProto::mutable_coefficients ( )
inline

Definition at line 2130 of file sparse_containers.pb.h.

◆ mutable_ids()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::math_opt::LinearExpressionProto::mutable_ids ( )
inline

Definition at line 2080 of file sparse_containers.pb.h.

◆ mutable_unknown_fields()

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

Definition at line 1261 of file sparse_containers.pb.h.

◆ New()

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

Definition at line 1297 of file sparse_containers.pb.h.

◆ offset()

double operations_research::math_opt::LinearExpressionProto::offset ( ) const
inline

Definition at line 2155 of file sparse_containers.pb.h.

◆ operator=() [1/2]

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

Definition at line 1243 of file sparse_containers.pb.h.

◆ operator=() [2/2]

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

Definition at line 1247 of file sparse_containers.pb.h.

◆ set_coefficients()

void operations_research::math_opt::LinearExpressionProto::set_coefficients ( int index,
double value )
inline

Definition at line 2115 of file sparse_containers.pb.h.

◆ set_ids()

void operations_research::math_opt::LinearExpressionProto::set_ids ( int index,
::int64_t value )
inline

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

◆ set_offset()

void operations_research::math_opt::LinearExpressionProto::set_offset ( double value)
inline

Definition at line 2159 of file sparse_containers.pb.h.

◆ Swap()

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

Definition at line 1281 of file sparse_containers.pb.h.

◆ unknown_fields()

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

Definition at line 1257 of file sparse_containers.pb.h.

◆ UnsafeArenaSwap()

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

Definition at line 1289 of file sparse_containers.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 1426 of file sparse_containers.pb.h.

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

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

Definition at line 1428 of file sparse_containers.pb.h.

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

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

Definition at line 1419 of file sparse_containers.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 1425 of file sparse_containers.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto
friend

Definition at line 1449 of file sparse_containers.pb.h.

◆ swap

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

Definition at line 1280 of file sparse_containers.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::LinearExpressionProto::_impl_

Definition at line 1448 of file sparse_containers.pb.h.

◆ kIndexInFileMessages

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

Definition at line 1279 of file sparse_containers.pb.h.


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