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

Detailed Description

Definition at line 877 of file assignment.pb.h.

#include <assignment.pb.h>

Inheritance diagram for operations_research::IntVarAssignment:

Classes

class  _Internal

Public Types

enum  : int { kVarIdFieldNumber = 1 , kMinFieldNumber = 2 , kMaxFieldNumber = 3 , kActiveFieldNumber = 4 }
 nested types -------------------------------------------------— More...

Public Member Functions

 IntVarAssignment ()
 ~IntVarAssignment () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR IntVarAssignment (::google::protobuf::internal::ConstantInitialized)
 IntVarAssignment (const IntVarAssignment &from)
 IntVarAssignment (IntVarAssignment &&from) noexcept
IntVarAssignmentoperator= (const IntVarAssignment &from)
IntVarAssignmentoperator= (IntVarAssignment &&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 (IntVarAssignment *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (IntVarAssignment *PROTOBUF_NONNULL other)
IntVarAssignment *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const IntVarAssignment &from)
void MergeFrom (const IntVarAssignment &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
void clear_var_id ()
 string var_id = 1;
const ::std::string & var_id () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_var_id (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_var_id ()
::std::string *PROTOBUF_NULLABLE release_var_id ()
void set_allocated_var_id (::std::string *PROTOBUF_NULLABLE value)
void clear_min ()
 int64 min = 2;
::int64_t min () const
void set_min (::int64_t value)
void clear_max ()
 int64 max = 3;
::int64_t max () const
void set_max (::int64_t value)
void clear_active ()
 bool active = 4;
bool active () const
void set_active (bool value)
template<typename>
PROTOBUF_CONSTEXPR IntVarAssignment (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_var_id (Arg_ &&arg, Args_... args)

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 IntVarAssignmentdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 0

Protected Member Functions

 IntVarAssignment (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 IntVarAssignment (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const IntVarAssignment &from)
 IntVarAssignment (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, IntVarAssignment &&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_2fconstraint_5fsolver_2fassignment_2eproto
void swap (IntVarAssignment &a, IntVarAssignment &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kVarIdFieldNumber 
kMinFieldNumber 
kMaxFieldNumber 
kActiveFieldNumber 

Definition at line 1019 of file assignment.pb.h.

Constructor & Destructor Documentation

◆ IntVarAssignment() [1/8]

operations_research::IntVarAssignment::IntVarAssignment ( )
inline

Definition at line 880 of file assignment.pb.h.

◆ ~IntVarAssignment()

operations_research::IntVarAssignment::~IntVarAssignment ( )

@protoc_insertion_point(destructor:operations_research.IntVarAssignment)

Definition at line 390 of file assignment.pb.cc.

◆ IntVarAssignment() [2/8]

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

◆ IntVarAssignment() [3/8]

operations_research::IntVarAssignment::IntVarAssignment ( const IntVarAssignment & from)
inline

Definition at line 893 of file assignment.pb.h.

◆ IntVarAssignment() [4/8]

operations_research::IntVarAssignment::IntVarAssignment ( IntVarAssignment && from)
inlinenoexcept

Definition at line 894 of file assignment.pb.h.

◆ IntVarAssignment() [5/8]

operations_research::IntVarAssignment::IntVarAssignment ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.IntVarAssignment)

Definition at line 335 of file assignment.pb.cc.

◆ IntVarAssignment() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.IntVarAssignment)

Definition at line 352 of file assignment.pb.cc.

◆ IntVarAssignment() [7/8]

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

Definition at line 1001 of file assignment.pb.h.

◆ IntVarAssignment() [8/8]

template<typename>
PROTOBUF_CONSTEXPR operations_research::IntVarAssignment::IntVarAssignment ( ::_pbi::ConstantInitialized )

Definition at line 138 of file assignment.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.IntVarAssignment)

string var_id = 1;

int64 min = 2;

int64 max = 3;

bool active = 4;

@protoc_insertion_point(serialize_to_array_end:operations_research.IntVarAssignment)

Definition at line 525 of file assignment.pb.cc.

◆ active()

bool operations_research::IntVarAssignment::active ( ) const
inline

@protoc_insertion_point(field_get:operations_research.IntVarAssignment.active)

Definition at line 1531 of file assignment.pb.h.

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.IntVarAssignment)

Prevent compiler warnings about cached_has_bits being unused

string var_id = 1;

int64 min = 2;

int64 max = 3;

bool active = 4;

Definition at line 584 of file assignment.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::IntVarAssignment::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.IntVarAssignment)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 499 of file assignment.pb.cc.

◆ clear_active()

void operations_research::IntVarAssignment::clear_active ( )
inline

bool active = 4;

Definition at line 1526 of file assignment.pb.h.

◆ clear_max()

void operations_research::IntVarAssignment::clear_max ( )
inline

int64 max = 3;

Definition at line 1502 of file assignment.pb.h.

◆ clear_min()

void operations_research::IntVarAssignment::clear_min ( )
inline

int64 min = 2;

Definition at line 1478 of file assignment.pb.h.

◆ clear_var_id()

void operations_research::IntVarAssignment::clear_var_id ( )
inline

string var_id = 1;

IntVarAssignment.

string var_id = 1;

Definition at line 1413 of file assignment.pb.h.

◆ CopyFrom()

void operations_research::IntVarAssignment::CopyFrom ( const IntVarAssignment & from)

@protoc_insertion_point(class_specific_copy_from_start:operations_research.IntVarAssignment)

Definition at line 668 of file assignment.pb.cc.

◆ default_instance()

const IntVarAssignment & operations_research::IntVarAssignment::default_instance ( )
inlinestatic

Definition at line 928 of file assignment.pb.h.

◆ descriptor()

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

Definition at line 919 of file assignment.pb.h.

◆ GetCachedSize()

int operations_research::IntVarAssignment::GetCachedSize ( ) const
inline

Definition at line 987 of file assignment.pb.h.

◆ GetClassData()

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

Definition at line 439 of file assignment.pb.cc.

◆ GetDescriptor()

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

Definition at line 922 of file assignment.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::IntVarAssignment::GetMetadata ( ) const

Definition at line 691 of file assignment.pb.cc.

◆ GetReflection()

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

Definition at line 925 of file assignment.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::IntVarAssignment::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 411 of file assignment.pb.cc.

◆ InternalNewImpl_()

auto operations_research::IntVarAssignment::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 407 of file assignment.pb.cc.

◆ IsInitialized()

bool operations_research::IntVarAssignment::IsInitialized ( ) const
inline

Definition at line 963 of file assignment.pb.h.

◆ max()

int64_t operations_research::IntVarAssignment::max ( ) const
inline

@protoc_insertion_point(field_get:operations_research.IntVarAssignment.max)

Definition at line 1507 of file assignment.pb.h.

◆ MergeFrom()

void operations_research::IntVarAssignment::MergeFrom ( const IntVarAssignment & from)
inline

Definition at line 956 of file assignment.pb.h.

◆ min()

int64_t operations_research::IntVarAssignment::min ( ) const
inline

@protoc_insertion_point(field_get:operations_research.IntVarAssignment.min)

Definition at line 1483 of file assignment.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::IntVarAssignment::mutable_unknown_fields ( )
inline

Definition at line 914 of file assignment.pb.h.

◆ mutable_var_id()

std::string *PROTOBUF_NONNULL operations_research::IntVarAssignment::mutable_var_id ( )
inline

@protoc_insertion_point(field_mutable:operations_research.IntVarAssignment.var_id)

Definition at line 1430 of file assignment.pb.h.

◆ New()

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

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

Definition at line 950 of file assignment.pb.h.

◆ operator=() [1/2]

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

Definition at line 896 of file assignment.pb.h.

◆ operator=() [2/2]

IntVarAssignment & operations_research::IntVarAssignment::operator= ( IntVarAssignment && from)
inlinenoexcept

Definition at line 900 of file assignment.pb.h.

◆ PlacementNew_()

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

Definition at line 402 of file assignment.pb.cc.

◆ release_var_id()

std::string *PROTOBUF_NULLABLE operations_research::IntVarAssignment::release_var_id ( )
inlinenodiscard

@protoc_insertion_point(field_release:operations_research.IntVarAssignment.var_id)

Definition at line 1450 of file assignment.pb.h.

◆ set_active()

void operations_research::IntVarAssignment::set_active ( bool value)
inline

@protoc_insertion_point(field_set:operations_research.IntVarAssignment.active)

Definition at line 1535 of file assignment.pb.h.

◆ set_allocated_var_id()

void operations_research::IntVarAssignment::set_allocated_var_id ( ::std::string *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.IntVarAssignment.var_id)

Definition at line 1463 of file assignment.pb.h.

◆ set_max()

void operations_research::IntVarAssignment::set_max ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.IntVarAssignment.max)

Definition at line 1511 of file assignment.pb.h.

◆ set_min()

void operations_research::IntVarAssignment::set_min ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.IntVarAssignment.min)

Definition at line 1487 of file assignment.pb.h.

◆ set_var_id() [1/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::IntVarAssignment::set_var_id ( Arg_ && arg,
Args_... args )

◆ set_var_id() [2/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::IntVarAssignment::set_var_id ( Arg_ && arg,
Args_... args )

@protoc_insertion_point(field_set:operations_research.IntVarAssignment.var_id)

Definition at line 1424 of file assignment.pb.h.

◆ Swap()

void operations_research::IntVarAssignment::Swap ( IntVarAssignment *PROTOBUF_NONNULL other)
inline

Definition at line 934 of file assignment.pb.h.

◆ unknown_fields()

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

Definition at line 910 of file assignment.pb.h.

◆ UnsafeArenaSwap()

void operations_research::IntVarAssignment::UnsafeArenaSwap ( IntVarAssignment *PROTOBUF_NONNULL other)
inline

Definition at line 942 of file assignment.pb.h.

◆ var_id()

const::std::string & operations_research::IntVarAssignment::var_id ( ) const
inline

@protoc_insertion_point(field_get:operations_research.IntVarAssignment.var_id)

Definition at line 1418 of file assignment.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 1080 of file assignment.pb.h.

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

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

Definition at line 1082 of file assignment.pb.h.

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

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

Definition at line 1073 of file assignment.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 1079 of file assignment.pb.h.

◆ ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto

◆ swap

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

Definition at line 933 of file assignment.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::IntVarAssignment::_impl_

Definition at line 1102 of file assignment.pb.h.

◆ kIndexInFileMessages

int operations_research::IntVarAssignment::kIndexInFileMessages = 0
staticconstexpr

Definition at line 932 of file assignment.pb.h.


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