C++ Reference
C++ Reference: CP-SAT
Detailed Description
Definition at line 1378 of file cp_model.pb.h.
Public Types | |
| enum | : int { kVarsFieldNumber = 3, kIndexFieldNumber = 1, kTargetFieldNumber = 2 } |
Public Member Functions | |
| ElementConstraintProto () | |
| virtual | ~ElementConstraintProto () |
| ElementConstraintProto (const ElementConstraintProto &from) | |
| ElementConstraintProto (ElementConstraintProto &&from) noexcept | |
| ElementConstraintProto & | operator= (const ElementConstraintProto &from) |
| ElementConstraintProto & | operator= (ElementConstraintProto &&from) noexcept |
| void | Swap (ElementConstraintProto *other) |
| ElementConstraintProto * | New () const final |
| ElementConstraintProto * | New (::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 ElementConstraintProto &from) |
| void | MergeFrom (const ElementConstraintProto &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_index () |
| ::PROTOBUF_NAMESPACE_ID::int32 | index () const |
| void | set_index (::PROTOBUF_NAMESPACE_ID::int32 value) |
| 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 ElementConstraintProto & | default_instance () |
| static void | InitAsDefaultInstance () |
| static const ElementConstraintProto * | internal_default_instance () |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum : int |
| Enumerator | |
|---|---|
| kVarsFieldNumber | |
| kIndexFieldNumber | |
| kTargetFieldNumber | |
Definition at line 1483 of file cp_model.pb.h.
Constructor & Destructor Documentation
◆ ElementConstraintProto() [1/3]
◆ ~ElementConstraintProto()
|
virtual |
◆ ElementConstraintProto() [2/3]
| ElementConstraintProto | ( | const ElementConstraintProto & | from | ) |
◆ ElementConstraintProto() [3/3]
|
inlinenoexcept |
Definition at line 1385 of file cp_model.pb.h.
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ add_vars()
|
inline |
Definition at line 6402 of file cp_model.pb.h.
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_index()
|
inline |
Definition at line 6339 of file cp_model.pb.h.
◆ clear_target()
|
inline |
Definition at line 6359 of file cp_model.pb.h.
◆ clear_vars()
|
inline |
Definition at line 6385 of file cp_model.pb.h.
◆ CopyFrom() [1/2]
|
final |
◆ CopyFrom() [2/2]
| void CopyFrom | ( | const ElementConstraintProto & | from | ) |
◆ default_instance()
|
static |
◆ descriptor()
|
inlinestatic |
Definition at line 1403 of file cp_model.pb.h.
◆ GetCachedSize()
|
inlinefinal |
Definition at line 1450 of file cp_model.pb.h.
◆ GetDescriptor()
|
inlinestatic |
Definition at line 1406 of file cp_model.pb.h.
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
Definition at line 1409 of file cp_model.pb.h.
◆ index()
|
inline |
Definition at line 6345 of file cp_model.pb.h.
◆ InitAsDefaultInstance()
|
static |
◆ internal_default_instance()
|
inlinestatic |
Definition at line 1415 of file cp_model.pb.h.
◆ IsInitialized()
|
final |
◆ MergeFrom() [1/2]
|
final |
◆ MergeFrom() [2/2]
| void MergeFrom | ( | const ElementConstraintProto & | from | ) |
◆ mutable_vars()
|
inline |
Definition at line 6420 of file cp_model.pb.h.
◆ New() [1/2]
|
inlinefinal |
Definition at line 1432 of file cp_model.pb.h.
◆ New() [2/2]
|
inlinefinal |
Definition at line 1436 of file cp_model.pb.h.
◆ operator=() [1/2]
|
inline |
Definition at line 1390 of file cp_model.pb.h.
◆ operator=() [2/2]
|
inlinenoexcept |
Definition at line 1394 of file cp_model.pb.h.
◆ set_index()
|
inline |
Definition at line 6353 of file cp_model.pb.h.
◆ set_target()
|
inline |
Definition at line 6373 of file cp_model.pb.h.
◆ set_vars()
|
inline |
Definition at line 6395 of file cp_model.pb.h.
◆ Swap()
|
inline |
Definition at line 1425 of file cp_model.pb.h.
◆ target()
|
inline |
Definition at line 6365 of file cp_model.pb.h.
◆ vars() [1/2]
|
inline |
Definition at line 6411 of file cp_model.pb.h.
◆ vars() [2/2]
|
inline |
Definition at line 6391 of file cp_model.pb.h.
◆ vars_size()
|
inline |
Definition at line 6382 of file cp_model.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 1419 of file cp_model.pb.h.
The documentation for this class was generated from the following file: