C++ Reference: class ArgumentHolder

Note: This documentation is automatically generated.

Method
FindIntegerArgumentOrDie

Return type: int64_t

Arguments: const std::string& arg_name

FindIntegerArgumentWithDefault

Return type: int64_t

Arguments: const std::string& arg_name, int64_t def

Getters.

FindIntegerArrayArgumentOrDie

Return type: const std::vector<int64_t>&

Arguments: const std::string& arg_name

FindIntegerExpressionArgumentOrDie

Return type: IntExpr*

Arguments: const std::string& arg_name

FindIntegerMatrixArgumentOrDie

Return type: const IntTupleSet&

Arguments: const std::string& arg_name

FindIntegerVariableArrayArgumentOrDie

Return type: const std::vector<IntVar*>&

Arguments: const std::string& arg_name

HasIntegerExpressionArgument

Return type: bool

Arguments: const std::string& arg_name

Checks if arguments exist.

HasIntegerVariableArrayArgument

Return type: bool

Arguments: const std::string& arg_name

SetIntegerArgument

Return type: void

Arguments: const std::string& arg_name, int64_t value

Setters.

SetIntegerArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<int64_t>& values

SetIntegerExpressionArgument

Return type: void

Arguments: const std::string& arg_name, IntExpr* const expr

SetIntegerMatrixArgument

Return type: void

Arguments: const std::string& arg_name, const IntTupleSet& values

SetIntegerVariableArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<IntVar*>& vars

SetIntervalArgument

Return type: void

Arguments: const std::string& arg_name, IntervalVar* const var

SetIntervalArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<IntervalVar*>& vars

SetSequenceArgument

Return type: void

Arguments: const std::string& arg_name, SequenceVar* const var

SetSequenceArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<SequenceVar*>& vars

SetTypeName

Return type: void

Arguments: const std::string& type_name

TypeName

Return type: const std::string&

Type of the argument.