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

Detailed Description

Definition at line 129 of file set_cover.pb.h.

#include <set_cover.pb.h>

Inheritance diagram for operations_research::SetCoverProto_Subset:

Classes

class  _Internal

Public Types

enum  : int { kElementFieldNumber = 2 , kCostFieldNumber = 1 }
 nested types -------------------------------------------------— More...

Public Member Functions

 SetCoverProto_Subset ()
 ~SetCoverProto_Subset () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SetCoverProto_Subset (::google::protobuf::internal::ConstantInitialized)
 SetCoverProto_Subset (const SetCoverProto_Subset &from)
 SetCoverProto_Subset (SetCoverProto_Subset &&from) noexcept
SetCoverProto_Subsetoperator= (const SetCoverProto_Subset &from)
SetCoverProto_Subsetoperator= (SetCoverProto_Subset &&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 (SetCoverProto_Subset *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SetCoverProto_Subset *PROTOBUF_NONNULL other)
SetCoverProto_Subset *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const SetCoverProto_Subset &from)
void MergeFrom (const SetCoverProto_Subset &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 element_size () const
 repeated int64 element = 2 [packed = true];
void clear_element ()
::int64_t element (int index) const
void set_element (int index, ::int64_t value)
void add_element (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & element () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_element ()
bool has_cost () const
 optional double cost = 1;
void clear_cost ()
double cost () const
void set_cost (double value)
template<typename>
PROTOBUF_CONSTEXPR SetCoverProto_Subset (::_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 SetCoverProto_Subsetdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 0

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kElementFieldNumber 
kCostFieldNumber 

Definition at line 271 of file set_cover.pb.h.

Constructor & Destructor Documentation

◆ SetCoverProto_Subset() [1/8]

operations_research::SetCoverProto_Subset::SetCoverProto_Subset ( )
inline

Definition at line 132 of file set_cover.pb.h.

◆ ~SetCoverProto_Subset()

operations_research::SetCoverProto_Subset::~SetCoverProto_Subset ( )

@protoc_insertion_point(destructor:operations_research.SetCoverProto.Subset)

Definition at line 280 of file set_cover.pb.cc.

◆ SetCoverProto_Subset() [2/8]

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

◆ SetCoverProto_Subset() [3/8]

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

Definition at line 145 of file set_cover.pb.h.

◆ SetCoverProto_Subset() [4/8]

operations_research::SetCoverProto_Subset::SetCoverProto_Subset ( SetCoverProto_Subset && from)
inlinenoexcept

Definition at line 146 of file set_cover.pb.h.

◆ SetCoverProto_Subset() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.SetCoverProto.Subset)

Definition at line 234 of file set_cover.pb.cc.

◆ SetCoverProto_Subset() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.SetCoverProto.Subset)

Definition at line 252 of file set_cover.pb.cc.

◆ SetCoverProto_Subset() [7/8]

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

Definition at line 253 of file set_cover.pb.h.

◆ SetCoverProto_Subset() [8/8]

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

Definition at line 37 of file set_cover.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.SetCoverProto.Subset)

optional double cost = 1;

repeated int64 element = 2 [packed = true];

@protoc_insertion_point(serialize_to_array_end:operations_research.SetCoverProto.Subset)

Definition at line 404 of file set_cover.pb.cc.

◆ add_element()

void operations_research::SetCoverProto_Subset::add_element ( ::int64_t value)
inline

@protoc_insertion_point(field_add:operations_research.SetCoverProto.Subset.element)

Definition at line 952 of file set_cover.pb.h.

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.SetCoverProto.Subset)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 element = 2 [packed = true];

Definition at line 443 of file set_cover.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::SetCoverProto_Subset::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.SetCoverProto.Subset)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 385 of file set_cover.pb.cc.

◆ clear_cost()

void operations_research::SetCoverProto_Subset::clear_cost ( )
inline

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

◆ clear_element()

void operations_research::SetCoverProto_Subset::clear_element ( )
inline

Definition at line 940 of file set_cover.pb.h.

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.SetCoverProto.Subset)

Definition at line 486 of file set_cover.pb.cc.

◆ cost()

double operations_research::SetCoverProto_Subset::cost ( ) const
inline

@protoc_insertion_point(field_get:operations_research.SetCoverProto.Subset.cost)

Definition at line 915 of file set_cover.pb.h.

◆ default_instance()

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

Definition at line 180 of file set_cover.pb.h.

◆ descriptor()

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

Definition at line 171 of file set_cover.pb.h.

◆ element() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::SetCoverProto_Subset::element ( ) const
inline

@protoc_insertion_point(field_list:operations_research.SetCoverProto.Subset.element)

Definition at line 957 of file set_cover.pb.h.

◆ element() [2/2]

int64_t operations_research::SetCoverProto_Subset::element ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.SetCoverProto.Subset.element)

Definition at line 944 of file set_cover.pb.h.

◆ element_size()

int operations_research::SetCoverProto_Subset::element_size ( ) const
inline

repeated int64 element = 2 [packed = true];

Definition at line 937 of file set_cover.pb.h.

◆ GetCachedSize()

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

Definition at line 239 of file set_cover.pb.h.

◆ GetClassData()

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

Definition at line 340 of file set_cover.pb.cc.

◆ GetDescriptor()

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

Definition at line 174 of file set_cover.pb.h.

◆ GetMetadata()

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

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

◆ GetReflection()

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

Definition at line 177 of file set_cover.pb.h.

◆ has_cost()

bool operations_research::SetCoverProto_Subset::has_cost ( ) const
inline

optional double cost = 1;

SetCoverProto_Subset.

optional double cost = 1;

Definition at line 906 of file set_cover.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::SetCoverProto_Subset::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 312 of file set_cover.pb.cc.

◆ InternalNewImpl_()

auto operations_research::SetCoverProto_Subset::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 296 of file set_cover.pb.cc.

◆ IsInitialized()

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

Definition at line 215 of file set_cover.pb.h.

◆ MergeFrom()

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

Definition at line 208 of file set_cover.pb.h.

◆ mutable_element()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::SetCoverProto_Subset::mutable_element ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.SetCoverProto.Subset.element)

Definition at line 962 of file set_cover.pb.h.

◆ mutable_unknown_fields()

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

Definition at line 166 of file set_cover.pb.h.

◆ New()

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

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

Definition at line 202 of file set_cover.pb.h.

◆ operator=() [1/2]

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

Definition at line 148 of file set_cover.pb.h.

◆ operator=() [2/2]

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

Definition at line 152 of file set_cover.pb.h.

◆ PlacementNew_()

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

Definition at line 291 of file set_cover.pb.cc.

◆ set_cost()

void operations_research::SetCoverProto_Subset::set_cost ( double value)
inline

@protoc_insertion_point(field_set:operations_research.SetCoverProto.Subset.cost)

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

◆ set_element()

void operations_research::SetCoverProto_Subset::set_element ( int index,
::int64_t value )
inline

@protoc_insertion_point(field_set:operations_research.SetCoverProto.Subset.element)

Definition at line 948 of file set_cover.pb.h.

◆ Swap()

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

Definition at line 186 of file set_cover.pb.h.

◆ unknown_fields()

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

Definition at line 162 of file set_cover.pb.h.

◆ UnsafeArenaSwap()

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

Definition at line 194 of file set_cover.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 314 of file set_cover.pb.h.

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

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

Definition at line 316 of file set_cover.pb.h.

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

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

Definition at line 307 of file set_cover.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 313 of file set_cover.pb.h.

◆ ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto

Definition at line 336 of file set_cover.pb.h.

◆ swap

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

Definition at line 185 of file set_cover.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::SetCoverProto_Subset::_impl_

Definition at line 335 of file set_cover.pb.h.

◆ kIndexInFileMessages

int operations_research::SetCoverProto_Subset::kIndexInFileMessages = 0
staticconstexpr

Definition at line 184 of file set_cover.pb.h.


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