C++ Reference: class ArgumentHolder

This documentation is automatically generated.

Method
FindIntegerArgumentOrDie

Return type: int64

Arguments: const std::string& arg_name

FindIntegerArgumentWithDefault

Return type: int64

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

Getters.

FindIntegerArrayArgumentOrDie

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

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 value

Setters.

SetIntegerArrayArgument

Return type: void

Arguments: const std::string& arg_name, const std::vector<int64>& 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.