C++ Reference
C++ Reference: CP-SAT
Detailed Description
Definition at line 1186 of file cp_model.pb.h.
Public Types | |
| enum | : int { kVarsFieldNumber = 1, kCoeffsFieldNumber = 2, kDomainFieldNumber = 3 } |
Public Member Functions | |
| LinearConstraintProto () | |
| virtual | ~LinearConstraintProto () |
| LinearConstraintProto (const LinearConstraintProto &from) | |
| LinearConstraintProto (LinearConstraintProto &&from) noexcept | |
| LinearConstraintProto & | operator= (const LinearConstraintProto &from) |
| LinearConstraintProto & | operator= (LinearConstraintProto &&from) noexcept |
| void | Swap (LinearConstraintProto *other) |
| LinearConstraintProto * | New () const final |
| LinearConstraintProto * | 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 LinearConstraintProto &from) |
| void | MergeFrom (const LinearConstraintProto &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 () |
| int | coeffs_size () const |
| void | clear_coeffs () |
| ::PROTOBUF_NAMESPACE_ID::int64 | coeffs (int index) const |
| void | set_coeffs (int index, ::PROTOBUF_NAMESPACE_ID::int64 value) |
| void | add_coeffs (::PROTOBUF_NAMESPACE_ID::int64 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > & | coeffs () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > * | mutable_coeffs () |
| int | domain_size () const |
| void | clear_domain () |
| ::PROTOBUF_NAMESPACE_ID::int64 | domain (int index) const |
| void | set_domain (int index, ::PROTOBUF_NAMESPACE_ID::int64 value) |
| void | add_domain (::PROTOBUF_NAMESPACE_ID::int64 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > & | domain () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > * | mutable_domain () |
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 LinearConstraintProto & | default_instance () |
| static void | InitAsDefaultInstance () |
| static const LinearConstraintProto * | internal_default_instance () |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum : int |
| Enumerator | |
|---|---|
| kVarsFieldNumber | |
| kCoeffsFieldNumber | |
| kDomainFieldNumber | |
Definition at line 1291 of file cp_model.pb.h.
Constructor & Destructor Documentation
◆ LinearConstraintProto() [1/3]
◆ ~LinearConstraintProto()
|
virtual |
◆ LinearConstraintProto() [2/3]
| LinearConstraintProto | ( | const LinearConstraintProto & | from | ) |
◆ LinearConstraintProto() [3/3]
|
inlinenoexcept |
Definition at line 1193 of file cp_model.pb.h.
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ add_coeffs()
|
inline |
Definition at line 6264 of file cp_model.pb.h.
◆ add_domain()
|
inline |
Definition at line 6311 of file cp_model.pb.h.
◆ add_vars()
|
inline |
Definition at line 6217 of file cp_model.pb.h.
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_coeffs()
|
inline |
Definition at line 6247 of file cp_model.pb.h.
◆ clear_domain()
|
inline |
Definition at line 6294 of file cp_model.pb.h.
◆ clear_vars()
|
inline |
Definition at line 6200 of file cp_model.pb.h.
◆ coeffs() [1/2]
|
inline |
Definition at line 6273 of file cp_model.pb.h.
◆ coeffs() [2/2]
|
inline |
Definition at line 6253 of file cp_model.pb.h.
◆ coeffs_size()
|
inline |
Definition at line 6244 of file cp_model.pb.h.
◆ CopyFrom() [1/2]
|
final |
◆ CopyFrom() [2/2]
| void CopyFrom | ( | const LinearConstraintProto & | from | ) |
◆ default_instance()
|
static |
◆ descriptor()
|
inlinestatic |
Definition at line 1211 of file cp_model.pb.h.
◆ domain() [1/2]
|
inline |
Definition at line 6320 of file cp_model.pb.h.
◆ domain() [2/2]
|
inline |
Definition at line 6300 of file cp_model.pb.h.
◆ domain_size()
|
inline |
Definition at line 6291 of file cp_model.pb.h.
◆ GetCachedSize()
|
inlinefinal |
Definition at line 1258 of file cp_model.pb.h.
◆ GetDescriptor()
|
inlinestatic |
Definition at line 1214 of file cp_model.pb.h.
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
Definition at line 1217 of file cp_model.pb.h.
◆ InitAsDefaultInstance()
|
static |
◆ internal_default_instance()
|
inlinestatic |
Definition at line 1223 of file cp_model.pb.h.
◆ IsInitialized()
|
final |
◆ MergeFrom() [1/2]
|
final |
◆ MergeFrom() [2/2]
| void MergeFrom | ( | const LinearConstraintProto & | from | ) |
◆ mutable_coeffs()
|
inline |
Definition at line 6282 of file cp_model.pb.h.
◆ mutable_domain()
|
inline |
Definition at line 6329 of file cp_model.pb.h.
◆ mutable_vars()
|
inline |
Definition at line 6235 of file cp_model.pb.h.
◆ New() [1/2]
|
inlinefinal |
Definition at line 1240 of file cp_model.pb.h.
◆ New() [2/2]
|
inlinefinal |
Definition at line 1244 of file cp_model.pb.h.
◆ operator=() [1/2]
|
inline |
Definition at line 1198 of file cp_model.pb.h.
◆ operator=() [2/2]
|
inlinenoexcept |
Definition at line 1202 of file cp_model.pb.h.
◆ set_coeffs()
|
inline |
Definition at line 6257 of file cp_model.pb.h.
◆ set_domain()
|
inline |
Definition at line 6304 of file cp_model.pb.h.
◆ set_vars()
|
inline |
Definition at line 6210 of file cp_model.pb.h.
◆ Swap()
|
inline |
Definition at line 1233 of file cp_model.pb.h.
◆ vars() [1/2]
|
inline |
Definition at line 6226 of file cp_model.pb.h.
◆ vars() [2/2]
|
inline |
Definition at line 6206 of file cp_model.pb.h.
◆ vars_size()
|
inline |
Definition at line 6197 of file cp_model.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 1227 of file cp_model.pb.h.
The documentation for this class was generated from the following file: