Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::LinearArgumentProto Class Referencefinal

Detailed Description

Definition at line 4664 of file cp_model.pb.h.

#include <cp_model.pb.h>

Inheritance diagram for operations_research::sat::LinearArgumentProto:

Classes

class  _Internal

Public Types

enum  : int { kExprsFieldNumber = 2 , kTargetFieldNumber = 1 }
 nested types -------------------------------------------------— More...

Public Member Functions

 LinearArgumentProto ()
 ~LinearArgumentProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR LinearArgumentProto (::google::protobuf::internal::ConstantInitialized)
 LinearArgumentProto (const LinearArgumentProto &from)
 LinearArgumentProto (LinearArgumentProto &&from) noexcept
LinearArgumentProtooperator= (const LinearArgumentProto &from)
LinearArgumentProtooperator= (LinearArgumentProto &&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 (LinearArgumentProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (LinearArgumentProto *PROTOBUF_NONNULL other)
LinearArgumentProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const LinearArgumentProto &from)
void MergeFrom (const LinearArgumentProto &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 exprs_size () const
 repeated .operations_research.sat.LinearExpressionProto exprs = 2;
void clear_exprs ()
::operations_research::sat::LinearExpressionProto *PROTOBUF_NONNULL mutable_exprs (int index)
::google::protobuf::RepeatedPtrField<::operations_research::sat::LinearExpressionProto > *PROTOBUF_NONNULL mutable_exprs ()
const ::operations_research::sat::LinearExpressionProtoexprs (int index) const
::operations_research::sat::LinearExpressionProto *PROTOBUF_NONNULL add_exprs ()
const ::google::protobuf::RepeatedPtrField<::operations_research::sat::LinearExpressionProto > & exprs () const
bool has_target () const
 .operations_research.sat.LinearExpressionProto target = 1;
void clear_target ()
const ::operations_research::sat::LinearExpressionPrototarget () const
::operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE release_target ()
::operations_research::sat::LinearExpressionProto *PROTOBUF_NONNULL mutable_target ()
void set_allocated_target (::operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_target (::operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE value)
::operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE unsafe_arena_release_target ()
template<typename>
PROTOBUF_CONSTEXPR LinearArgumentProto (::_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 LinearArgumentProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 3

Protected Member Functions

 LinearArgumentProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 LinearArgumentProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const LinearArgumentProto &from)
 LinearArgumentProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, LinearArgumentProto &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

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_2fsat_2fcp_5fmodel_2eproto
void swap (LinearArgumentProto &a, LinearArgumentProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

accessors ----------------------------------------------------—

Enumerator
kExprsFieldNumber 
kTargetFieldNumber 

Definition at line 4806 of file cp_model.pb.h.

Constructor & Destructor Documentation

◆ LinearArgumentProto() [1/8]

operations_research::sat::LinearArgumentProto::LinearArgumentProto ( )
inline

Definition at line 4667 of file cp_model.pb.h.

◆ ~LinearArgumentProto()

operations_research::sat::LinearArgumentProto::~LinearArgumentProto ( )

@protoc_insertion_point(destructor:operations_research.sat.LinearArgumentProto)

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

◆ LinearArgumentProto() [2/8]

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

◆ LinearArgumentProto() [3/8]

operations_research::sat::LinearArgumentProto::LinearArgumentProto ( const LinearArgumentProto & from)
inline

Definition at line 4680 of file cp_model.pb.h.

◆ LinearArgumentProto() [4/8]

operations_research::sat::LinearArgumentProto::LinearArgumentProto ( LinearArgumentProto && from)
inlinenoexcept

Definition at line 4681 of file cp_model.pb.h.

◆ LinearArgumentProto() [5/8]

operations_research::sat::LinearArgumentProto::LinearArgumentProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.sat.LinearArgumentProto)

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

◆ LinearArgumentProto() [6/8]

operations_research::sat::LinearArgumentProto::LinearArgumentProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const LinearArgumentProto & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.sat.LinearArgumentProto)

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

◆ LinearArgumentProto() [7/8]

operations_research::sat::LinearArgumentProto::LinearArgumentProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
LinearArgumentProto && from )
inlineprotectednoexcept

Definition at line 4788 of file cp_model.pb.h.

◆ LinearArgumentProto() [8/8]

template<typename>
PROTOBUF_CONSTEXPR operations_research::sat::LinearArgumentProto::LinearArgumentProto ( ::_pbi::ConstantInitialized )

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.sat.LinearArgumentProto)

.operations_research.sat.LinearExpressionProto target = 1;

repeated .operations_research.sat.LinearExpressionProto exprs = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.sat.LinearArgumentProto)

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

◆ add_exprs()

operations_research::sat::LinearExpressionProto *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::add_exprs ( )
inline

@protoc_insertion_point(field_add:operations_research.sat.LinearArgumentProto.exprs)

Definition at line 8774 of file cp_model.pb.h.

◆ ByteSizeLong()

size_t operations_research::sat::LinearArgumentProto::ByteSizeLong ( ) const
final

@protoc_insertion_point(message_byte_size_start:operations_research.sat.LinearArgumentProto)

Prevent compiler warnings about cached_has_bits being unused

repeated .operations_research.sat.LinearExpressionProto exprs = 2;

.operations_research.sat.LinearExpressionProto target = 1;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::sat::LinearArgumentProto::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.sat.LinearArgumentProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_exprs()

void operations_research::sat::LinearArgumentProto::clear_exprs ( )
inline

Definition at line 8754 of file cp_model.pb.h.

◆ clear_target()

void operations_research::sat::LinearArgumentProto::clear_target ( )
inline

Definition at line 8655 of file cp_model.pb.h.

◆ CopyFrom()

void operations_research::sat::LinearArgumentProto::CopyFrom ( const LinearArgumentProto & from)

@protoc_insertion_point(class_specific_copy_from_start:operations_research.sat.LinearArgumentProto)

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

◆ default_instance()

const LinearArgumentProto & operations_research::sat::LinearArgumentProto::default_instance ( )
inlinestatic

Definition at line 4715 of file cp_model.pb.h.

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::descriptor ( )
inlinestatic

Definition at line 4706 of file cp_model.pb.h.

◆ exprs() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::sat::LinearExpressionProto > & operations_research::sat::LinearArgumentProto::exprs ( ) const
inline

@protoc_insertion_point(field_list:operations_research.sat.LinearArgumentProto.exprs)

Definition at line 8781 of file cp_model.pb.h.

◆ exprs() [2/2]

const::operations_research::sat::LinearExpressionProto & operations_research::sat::LinearArgumentProto::exprs ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.sat.LinearArgumentProto.exprs)

Definition at line 8769 of file cp_model.pb.h.

◆ exprs_size()

int operations_research::sat::LinearArgumentProto::exprs_size ( ) const
inline

repeated .operations_research.sat.LinearExpressionProto exprs = 2;

Definition at line 8751 of file cp_model.pb.h.

◆ GetCachedSize()

int operations_research::sat::LinearArgumentProto::GetCachedSize ( ) const
inline

Definition at line 4774 of file cp_model.pb.h.

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::GetClassData ( ) const
protected

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

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::GetDescriptor ( )
inlinestatic

Definition at line 4709 of file cp_model.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::sat::LinearArgumentProto::GetMetadata ( ) const

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

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::GetReflection ( )
inlinestatic

Definition at line 4712 of file cp_model.pb.h.

◆ has_target()

bool operations_research::sat::LinearArgumentProto::has_target ( ) const
inline

◆ InternalGenerateClassData_()

auto operations_research::sat::LinearArgumentProto::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::sat::LinearArgumentProto::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

bool operations_research::sat::LinearArgumentProto::IsInitialized ( ) const
inline

Definition at line 4750 of file cp_model.pb.h.

◆ MergeFrom()

void operations_research::sat::LinearArgumentProto::MergeFrom ( const LinearArgumentProto & from)
inline

Definition at line 4743 of file cp_model.pb.h.

◆ mutable_exprs() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::sat::LinearExpressionProto > *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::mutable_exprs ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.sat.LinearArgumentProto.exprs)

Definition at line 8763 of file cp_model.pb.h.

◆ mutable_exprs() [2/2]

operations_research::sat::LinearExpressionProto *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::mutable_exprs ( int index)
inline

@protoc_insertion_point(field_mutable:operations_research.sat.LinearArgumentProto.exprs)

Definition at line 8758 of file cp_model.pb.h.

◆ mutable_target()

operations_research::sat::LinearExpressionProto *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::mutable_target ( )
inline

@protoc_insertion_point(field_mutable:operations_research.sat.LinearArgumentProto.target)

Definition at line 8719 of file cp_model.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::mutable_unknown_fields ( )
inline

Definition at line 4701 of file cp_model.pb.h.

◆ New()

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

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

Definition at line 4737 of file cp_model.pb.h.

◆ operator=() [1/2]

LinearArgumentProto & operations_research::sat::LinearArgumentProto::operator= ( const LinearArgumentProto & from)
inline

Definition at line 4683 of file cp_model.pb.h.

◆ operator=() [2/2]

LinearArgumentProto & operations_research::sat::LinearArgumentProto::operator= ( LinearArgumentProto && from)
inlinenoexcept

Definition at line 4687 of file cp_model.pb.h.

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::sat::LinearArgumentProto::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

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

◆ release_target()

operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE operations_research::sat::LinearArgumentProto::release_target ( )
inlinenodiscard

Definition at line 8683 of file cp_model.pb.h.

◆ set_allocated_target()

void operations_research::sat::LinearArgumentProto::set_allocated_target ( ::operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.sat.LinearArgumentProto.target)

Definition at line 8726 of file cp_model.pb.h.

◆ Swap()

void operations_research::sat::LinearArgumentProto::Swap ( LinearArgumentProto *PROTOBUF_NONNULL other)
inline

Definition at line 4721 of file cp_model.pb.h.

◆ target()

const::operations_research::sat::LinearExpressionProto & operations_research::sat::LinearArgumentProto::target ( ) const
inline

@protoc_insertion_point(field_get:operations_research.sat.LinearArgumentProto.target)

Definition at line 8665 of file cp_model.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::sat::LinearArgumentProto::unknown_fields ( ) const
inline

Definition at line 4697 of file cp_model.pb.h.

◆ unsafe_arena_release_target()

operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE operations_research::sat::LinearArgumentProto::unsafe_arena_release_target ( )
inline

@protoc_insertion_point(field_release:operations_research.sat.LinearArgumentProto.target)

Definition at line 8702 of file cp_model.pb.h.

◆ unsafe_arena_set_allocated_target()

void operations_research::sat::LinearArgumentProto::unsafe_arena_set_allocated_target ( ::operations_research::sat::LinearExpressionProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.sat.LinearArgumentProto.target)

Definition at line 8669 of file cp_model.pb.h.

◆ UnsafeArenaSwap()

void operations_research::sat::LinearArgumentProto::UnsafeArenaSwap ( LinearArgumentProto *PROTOBUF_NONNULL other)
inline

Definition at line 4729 of file cp_model.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 4852 of file cp_model.pb.h.

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

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

Definition at line 4854 of file cp_model.pb.h.

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

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

Definition at line 4845 of file cp_model.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 4851 of file cp_model.pb.h.

◆ ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto

Definition at line 4873 of file cp_model.pb.h.

◆ swap

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

Definition at line 4720 of file cp_model.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::sat::LinearArgumentProto::_impl_

Definition at line 4872 of file cp_model.pb.h.

◆ kIndexInFileMessages

int operations_research::sat::LinearArgumentProto::kIndexInFileMessages = 3
staticconstexpr

Definition at line 4719 of file cp_model.pb.h.


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