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

Detailed Description

Definition at line 874 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 }

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
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 ()
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_t min () const
void set_min (::int64_t value)
void clear_max ()
::int64_t max () const
void set_max (::int64_t value)
void clear_active ()
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

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
Enumerator
kVarIdFieldNumber 
kMinFieldNumber 
kMaxFieldNumber 
kActiveFieldNumber 

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

Constructor & Destructor Documentation

◆ IntVarAssignment() [1/5]

operations_research::IntVarAssignment::IntVarAssignment ( )
inline

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

◆ ~IntVarAssignment()

operations_research::IntVarAssignment::~IntVarAssignment ( )

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

◆ IntVarAssignment() [2/5]

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

◆ IntVarAssignment() [3/5]

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

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

◆ IntVarAssignment() [4/5]

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

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

◆ IntVarAssignment() [5/5]

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

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

◆ active()

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

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

◆ ByteSizeLong()

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

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::IntVarAssignment::Clear ( )

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

◆ clear_active()

void operations_research::IntVarAssignment::clear_active ( )
inline

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

◆ clear_max()

void operations_research::IntVarAssignment::clear_max ( )
inline

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

◆ clear_min()

void operations_research::IntVarAssignment::clear_min ( )
inline

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

◆ clear_var_id()

void operations_research::IntVarAssignment::clear_var_id ( )
inline

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

◆ CopyFrom()

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

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ InternalGenerateClassData_()

auto operations_research::IntVarAssignment::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ IsInitialized()

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

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

◆ max()

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

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

◆ MergeFrom()

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

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

◆ min()

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

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

◆ mutable_unknown_fields()

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

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

◆ mutable_var_id()

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

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_var_id()

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

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

◆ set_active()

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

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

◆ set_allocated_var_id()

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

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

◆ set_max()

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

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

◆ set_min()

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

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

◆ set_var_id() [1/2]

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

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

◆ set_var_id() [2/2]

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ var_id()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto

friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto
friend

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::IntVarAssignment::_impl_

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

◆ kIndexInFileMessages

int operations_research::IntVarAssignment::kIndexInFileMessages = 0
staticconstexpr

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


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