|
TVM
0.9.4
|
#include <optional>#include <type_traits>

Go to the source code of this file.
Macros | |
| #define | TVM_ADD_OPTION_GET_SET(optionName, type) |
| #define | TVM_ADD_DEFAULT_OPTION(optionName, type) |
| #define | TVM_ADD_NON_DEFAULT_OPTION(optionName, defaultValue) |
| #define | TVM_PROCESS_OPTION_2(optionName, target, setterName) |
| #define | TVM_PROCESS_OPTION(optionName, target) TVM_PROCESS_OPTION_2(optionName, target, optionName) |
| #define | TVM_PROCESS_OPTION_PUBLIC_ACCESS_2(optionName, target, fieldName) |
| #define | TVM_PROCESS_OPTION_PUBLIC_ACCESS(optionName, target) TVM_PROCESS_OPTION_PUBLIC_ACCESS_2(optionName, target, optionName) |
| #define TVM_ADD_DEFAULT_OPTION | ( | optionName, | |
| type | |||
| ) |
Adding an option optionName of type type with no default value. The default value of the underlying solver will be used.
| #define TVM_ADD_NON_DEFAULT_OPTION | ( | optionName, | |
| defaultValue | |||
| ) |
Adding an option optionName with new default value defaultValue, that will replace the value of the underlying solver.
| #define TVM_ADD_OPTION_GET_SET | ( | optionName, | |
| type | |||
| ) |
Copyright 2017-2020 CNRS-AIST JRL and CNRS-UM LIRMM Adding getter and setter for the option optionName of type type.
| #define TVM_PROCESS_OPTION | ( | optionName, | |
| target | |||
| ) | TVM_PROCESS_OPTION_2(optionName, target, optionName) |
Specialized version of TVM_PROCESS_OPTION_2 where setterName = optionName.
| #define TVM_PROCESS_OPTION_2 | ( | optionName, | |
| target, | |||
| setterName | |||
| ) |
Process optionName: if optionName has a non-default value, use target.setterName to set that value for target.
| #define TVM_PROCESS_OPTION_PUBLIC_ACCESS | ( | optionName, | |
| target | |||
| ) | TVM_PROCESS_OPTION_PUBLIC_ACCESS_2(optionName, target, optionName) |
Specialized version of TVM_PROCESS_OPTION_PUBLIC_ACCESS_2 where fieldName = optionName.
| #define TVM_PROCESS_OPTION_PUBLIC_ACCESS_2 | ( | optionName, | |
| target, | |||
| fieldName | |||
| ) |
Process optionName: if optionName has a non-default value, set target.fieldName to set that value.