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

Detailed Description

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

#include <cp_model.pb.h>

Inheritance diagram for operations_research::sat::IntegerVariableProto:

Classes

class  _Internal

Public Types

enum  : int { kDomainFieldNumber = 2 , kNameFieldNumber = 1 }

Public Member Functions

 IntegerVariableProto ()
 ~IntegerVariableProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR IntegerVariableProto (::google::protobuf::internal::ConstantInitialized)
 IntegerVariableProto (const IntegerVariableProto &from)
 IntegerVariableProto (IntegerVariableProto &&from) noexcept
IntegerVariableProtooperator= (const IntegerVariableProto &from)
IntegerVariableProtooperator= (IntegerVariableProto &&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 (IntegerVariableProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (IntegerVariableProto *PROTOBUF_NONNULL other)
IntegerVariableProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const IntegerVariableProto &from)
void MergeFrom (const IntegerVariableProto &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 domain_size () const
void clear_domain ()
::int64_t domain (int index) const
void set_domain (int index, ::int64_t value)
void add_domain (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & domain () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_domain ()
void clear_name ()
const ::std::string & name () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_name (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_name ()
::std::string *PROTOBUF_NULLABLE release_name ()
void set_allocated_name (::std::string *PROTOBUF_NULLABLE value)
template<typename>
PROTOBUF_CONSTEXPR IntegerVariableProto (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_name (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 IntegerVariableProtodefault_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_2fsat_2fcp_5fmodel_2eproto
void swap (IntegerVariableProto &a, IntegerVariableProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDomainFieldNumber 
kNameFieldNumber 

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

Constructor & Destructor Documentation

◆ IntegerVariableProto() [1/5]

operations_research::sat::IntegerVariableProto::IntegerVariableProto ( )
inline

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

◆ ~IntegerVariableProto()

operations_research::sat::IntegerVariableProto::~IntegerVariableProto ( )

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

◆ IntegerVariableProto() [2/5]

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

◆ IntegerVariableProto() [3/5]

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

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

◆ IntegerVariableProto() [4/5]

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

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

◆ IntegerVariableProto() [5/5]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

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

◆ add_domain()

void operations_research::sat::IntegerVariableProto::add_domain ( ::int64_t value)
inline

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

◆ ByteSizeLong()

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

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

◆ Clear()

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

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

◆ clear_domain()

void operations_research::sat::IntegerVariableProto::clear_domain ( )
inline

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

◆ clear_name()

void operations_research::sat::IntegerVariableProto::clear_name ( )
inline

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

◆ CopyFrom()

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

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ domain() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::sat::IntegerVariableProto::domain ( ) const
inline

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

◆ domain() [2/2]

int64_t operations_research::sat::IntegerVariableProto::domain ( int index) const
inline

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

◆ domain_size()

int operations_research::sat::IntegerVariableProto::domain_size ( ) const
inline

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ InternalGenerateClassData_()

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

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_domain()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::sat::IntegerVariableProto::mutable_domain ( )
inline

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

◆ mutable_name()

std::string *PROTOBUF_NONNULL operations_research::sat::IntegerVariableProto::mutable_name ( )
inline

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

◆ mutable_unknown_fields()

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

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

◆ name()

const::std::string & operations_research::sat::IntegerVariableProto::name ( ) const
inline

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_name()

std::string *PROTOBUF_NULLABLE operations_research::sat::IntegerVariableProto::release_name ( )
inlinenodiscard

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

◆ set_allocated_name()

void operations_research::sat::IntegerVariableProto::set_allocated_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

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

◆ set_domain()

void operations_research::sat::IntegerVariableProto::set_domain ( int index,
::int64_t value )
inline

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

◆ set_name() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::sat::IntegerVariableProto::set_name ( Arg_ && arg,
Args_... args )

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

◆ set_name() [2/2]

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto

friend struct ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto
friend

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::sat::IntegerVariableProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::sat::IntegerVariableProto::kIndexInFileMessages = 0
staticconstexpr

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


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