C++ Reference

C++ Reference: CP-SAT

IntegerArgumentProto

Detailed Description

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

Public Types

enum  : int { kVarsFieldNumber = 2, kTargetFieldNumber = 1 }
 

Public Member Functions

 IntegerArgumentProto ()
 
virtual ~IntegerArgumentProto ()
 
 IntegerArgumentProto (const IntegerArgumentProto &from)
 
 IntegerArgumentProto (IntegerArgumentProto &&from) noexcept
 
IntegerArgumentProtooperator= (const IntegerArgumentProto &from)
 
IntegerArgumentProtooperator= (IntegerArgumentProto &&from) noexcept
 
void Swap (IntegerArgumentProto *other)
 
IntegerArgumentProtoNew () const final
 
IntegerArgumentProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void CopyFrom (const IntegerArgumentProto &from)
 
void MergeFrom (const IntegerArgumentProto &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
int vars_size () const
 
void clear_vars ()
 
::PROTOBUF_NAMESPACE_ID::int32 vars (int index) const
 
void set_vars (int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
 
void add_vars (::PROTOBUF_NAMESPACE_ID::int32 value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & vars () const
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_vars ()
 
void clear_target ()
 
::PROTOBUF_NAMESPACE_ID::int32 target () const
 
void set_target (::PROTOBUF_NAMESPACE_ID::int32 value)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const IntegerArgumentProtodefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const IntegerArgumentProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kVarsFieldNumber 
kTargetFieldNumber 

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

Constructor & Destructor Documentation

◆ IntegerArgumentProto() [1/3]

◆ ~IntegerArgumentProto()

virtual ~IntegerArgumentProto ( )
virtual

◆ IntegerArgumentProto() [2/3]

◆ IntegerArgumentProto() [3/3]

IntegerArgumentProto ( IntegerArgumentProto &&  from)
inlinenoexcept

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

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ add_vars()

void add_vars ( ::PROTOBUF_NAMESPACE_ID::int32  value)
inline

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

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_target()

void clear_target ( )
inline

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

◆ clear_vars()

void clear_vars ( )
inline

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

◆ CopyFrom() [1/2]

void CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const IntegerArgumentProto from)

◆ default_instance()

static const IntegerArgumentProto& default_instance ( )
static

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

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

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const IntegerArgumentProto* internal_default_instance ( )
inlinestatic

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

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const IntegerArgumentProto from)

◆ mutable_vars()

PROTOBUF_NAMESPACE_ID::RepeatedField<::PROTOBUF_NAMESPACE_ID::int32 > * mutable_vars ( )
inline

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

◆ New() [1/2]

IntegerArgumentProto* New ( ) const
inlinefinal

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

◆ New() [2/2]

IntegerArgumentProto* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

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

◆ operator=() [1/2]

IntegerArgumentProto& operator= ( const IntegerArgumentProto from)
inline

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

◆ operator=() [2/2]

IntegerArgumentProto& operator= ( IntegerArgumentProto &&  from)
inlinenoexcept

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

◆ set_target()

void set_target ( ::PROTOBUF_NAMESPACE_ID::int32  value)
inline

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

◆ set_vars()

void set_vars ( int  index,
::PROTOBUF_NAMESPACE_ID::int32  value 
)
inline

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

◆ Swap()

void Swap ( IntegerArgumentProto other)
inline

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

◆ target()

PROTOBUF_NAMESPACE_ID::int32 target ( ) const
inline

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

◆ vars() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::PROTOBUF_NAMESPACE_ID::int32 > & vars ( ) const
inline

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

◆ vars() [2/2]

PROTOBUF_NAMESPACE_ID::int32 vars ( int  index) const
inline

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

◆ vars_size()

int vars_size ( ) const
inline

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

Member Data Documentation

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
2

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


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