Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `ArgumentHolder` class in C++ manages various types of arguments. It supports setting and retrieving integer values, integer arrays, integer expressions, and integer matrices using `Set` and `Find` methods. It also handles arrays of variables like `IntVar`, `IntervalVar`, and `SequenceVar`. The class can check for the existence of specific integer expression or variable array arguments. Additionally, it manages type information with `SetTypeName` and `TypeName` methods.\n"],null,[]]