C++ Reference: class BoolVar

This documentation is automatically generated.

Method
BoolVar

DebugString

Return type: std::string

Debug string.

index

Return type: int

MutableProto

Return type: IntegerVariableProto*

Returns the mutable underlying protobuf object (useful for model edition).

Name

Return type: const std::string&

Returns the name of the variable.

Not

Return type: BoolVar

Returns the logical negation of the current Boolean variable.

Proto

Return type: const IntegerVariableProto&

Returns the underlying protobuf object (useful for testing).

WithName

Return type: BoolVar

Arguments: const std::string& name

Sets the name of the variable.