C++ Reference
C++ Reference: CP-SAT
Detailed Description
Definition at line 2190 of file cp_model.pb.h.
Public Types | |
| enum | : int { kTimesFieldNumber = 3, kDemandsFieldNumber = 4, kActivesFieldNumber = 5, kMinLevelFieldNumber = 1, kMaxLevelFieldNumber = 2 } |
Public Member Functions | |
| ReservoirConstraintProto () | |
| virtual | ~ReservoirConstraintProto () |
| ReservoirConstraintProto (const ReservoirConstraintProto &from) | |
| ReservoirConstraintProto (ReservoirConstraintProto &&from) noexcept | |
| ReservoirConstraintProto & | operator= (const ReservoirConstraintProto &from) |
| ReservoirConstraintProto & | operator= (ReservoirConstraintProto &&from) noexcept |
| void | Swap (ReservoirConstraintProto *other) |
| ReservoirConstraintProto * | New () const final |
| ReservoirConstraintProto * | 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 ReservoirConstraintProto &from) |
| void | MergeFrom (const ReservoirConstraintProto &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 | times_size () const |
| void | clear_times () |
| ::PROTOBUF_NAMESPACE_ID::int32 | times (int index) const |
| void | set_times (int index, ::PROTOBUF_NAMESPACE_ID::int32 value) |
| void | add_times (::PROTOBUF_NAMESPACE_ID::int32 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & | times () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * | mutable_times () |
| int | demands_size () const |
| void | clear_demands () |
| ::PROTOBUF_NAMESPACE_ID::int64 | demands (int index) const |
| void | set_demands (int index, ::PROTOBUF_NAMESPACE_ID::int64 value) |
| void | add_demands (::PROTOBUF_NAMESPACE_ID::int64 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > & | demands () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > * | mutable_demands () |
| int | actives_size () const |
| void | clear_actives () |
| ::PROTOBUF_NAMESPACE_ID::int32 | actives (int index) const |
| void | set_actives (int index, ::PROTOBUF_NAMESPACE_ID::int32 value) |
| void | add_actives (::PROTOBUF_NAMESPACE_ID::int32 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & | actives () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * | mutable_actives () |
| void | clear_min_level () |
| ::PROTOBUF_NAMESPACE_ID::int64 | min_level () const |
| void | set_min_level (::PROTOBUF_NAMESPACE_ID::int64 value) |
| void | clear_max_level () |
| ::PROTOBUF_NAMESPACE_ID::int64 | max_level () const |
| void | set_max_level (::PROTOBUF_NAMESPACE_ID::int64 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 ReservoirConstraintProto & | default_instance () |
| static void | InitAsDefaultInstance () |
| static const ReservoirConstraintProto * | internal_default_instance () |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum : int |
| Enumerator | |
|---|---|
| kTimesFieldNumber | |
| kDemandsFieldNumber | |
| kActivesFieldNumber | |
| kMinLevelFieldNumber | |
| kMaxLevelFieldNumber | |
Definition at line 2295 of file cp_model.pb.h.
Constructor & Destructor Documentation
◆ ReservoirConstraintProto() [1/3]
◆ ~ReservoirConstraintProto()
|
virtual |
◆ ReservoirConstraintProto() [2/3]
| ReservoirConstraintProto | ( | const ReservoirConstraintProto & | from | ) |
◆ ReservoirConstraintProto() [3/3]
|
inlinenoexcept |
Definition at line 2197 of file cp_model.pb.h.
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ actives() [1/2]
|
inline |
Definition at line 6947 of file cp_model.pb.h.
◆ actives() [2/2]
|
inline |
Definition at line 6927 of file cp_model.pb.h.
◆ actives_size()
|
inline |
Definition at line 6918 of file cp_model.pb.h.
◆ add_actives()
|
inline |
Definition at line 6938 of file cp_model.pb.h.
◆ add_demands()
|
inline |
Definition at line 6891 of file cp_model.pb.h.
◆ add_times()
|
inline |
Definition at line 6844 of file cp_model.pb.h.
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_actives()
|
inline |
Definition at line 6921 of file cp_model.pb.h.
◆ clear_demands()
|
inline |
Definition at line 6874 of file cp_model.pb.h.
◆ clear_max_level()
|
inline |
Definition at line 6801 of file cp_model.pb.h.
◆ clear_min_level()
|
inline |
Definition at line 6781 of file cp_model.pb.h.
◆ clear_times()
|
inline |
Definition at line 6827 of file cp_model.pb.h.
◆ CopyFrom() [1/2]
|
final |
◆ CopyFrom() [2/2]
| void CopyFrom | ( | const ReservoirConstraintProto & | from | ) |
◆ default_instance()
|
static |
◆ demands() [1/2]
|
inline |
Definition at line 6900 of file cp_model.pb.h.
◆ demands() [2/2]
|
inline |
Definition at line 6880 of file cp_model.pb.h.
◆ demands_size()
|
inline |
Definition at line 6871 of file cp_model.pb.h.
◆ descriptor()
|
inlinestatic |
Definition at line 2215 of file cp_model.pb.h.
◆ GetCachedSize()
|
inlinefinal |
Definition at line 2262 of file cp_model.pb.h.
◆ GetDescriptor()
|
inlinestatic |
Definition at line 2218 of file cp_model.pb.h.
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
Definition at line 2221 of file cp_model.pb.h.
◆ InitAsDefaultInstance()
|
static |
◆ internal_default_instance()
|
inlinestatic |
Definition at line 2227 of file cp_model.pb.h.
◆ IsInitialized()
|
final |
◆ max_level()
|
inline |
Definition at line 6807 of file cp_model.pb.h.
◆ MergeFrom() [1/2]
|
final |
◆ MergeFrom() [2/2]
| void MergeFrom | ( | const ReservoirConstraintProto & | from | ) |
◆ min_level()
|
inline |
Definition at line 6787 of file cp_model.pb.h.
◆ mutable_actives()
|
inline |
Definition at line 6956 of file cp_model.pb.h.
◆ mutable_demands()
|
inline |
Definition at line 6909 of file cp_model.pb.h.
◆ mutable_times()
|
inline |
Definition at line 6862 of file cp_model.pb.h.
◆ New() [1/2]
|
inlinefinal |
Definition at line 2244 of file cp_model.pb.h.
◆ New() [2/2]
|
inlinefinal |
Definition at line 2248 of file cp_model.pb.h.
◆ operator=() [1/2]
|
inline |
Definition at line 2202 of file cp_model.pb.h.
◆ operator=() [2/2]
|
inlinenoexcept |
Definition at line 2206 of file cp_model.pb.h.
◆ set_actives()
|
inline |
Definition at line 6931 of file cp_model.pb.h.
◆ set_demands()
|
inline |
Definition at line 6884 of file cp_model.pb.h.
◆ set_max_level()
|
inline |
Definition at line 6815 of file cp_model.pb.h.
◆ set_min_level()
|
inline |
Definition at line 6795 of file cp_model.pb.h.
◆ set_times()
|
inline |
Definition at line 6837 of file cp_model.pb.h.
◆ Swap()
|
inline |
Definition at line 2237 of file cp_model.pb.h.
◆ times() [1/2]
|
inline |
Definition at line 6853 of file cp_model.pb.h.
◆ times() [2/2]
|
inline |
Definition at line 6833 of file cp_model.pb.h.
◆ times_size()
|
inline |
Definition at line 6824 of file cp_model.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 2231 of file cp_model.pb.h.
The documentation for this class was generated from the following file: