Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <non_streamable_solver_init_arguments.h>
Public Member Functions | |
NonStreamableSolverInitArgumentsValue ()=default | |
Initializes with no value. | |
NonStreamableSolverInitArgumentsValue (const NonStreamableSolverInitArguments &non_streamable) | |
Initializes with the provided value, cloning it. | |
NonStreamableSolverInitArgumentsValue (const NonStreamableSolverInitArgumentsValue &other) | |
Clones other.get() if not nullptr. | |
NonStreamableSolverInitArgumentsValue & | operator= (const NonStreamableSolverInitArgumentsValue &other) |
Clones other.get() if not nullptr. | |
NonStreamableSolverInitArgumentsValue (NonStreamableSolverInitArgumentsValue &&other)=default | |
Steals other.get() and resets it to nullptr. | |
NonStreamableSolverInitArgumentsValue & | operator= (NonStreamableSolverInitArgumentsValue &&other)=default |
Steals other.get() and resets it to nullptr. | |
const NonStreamableSolverInitArguments * | get () const |
Return a pointer on the value; nullptr if unset (default value). | |
Value-like class holding an optional NonStreamableSolverInitArguments. On copy it clones it.
NonStreamableSolverInitArgumentsValue::get() gives access the pointed arguments. The implicit constructor from NonStreamableSolverInitArguments is used to build new instance.
Definition at line 142 of file non_streamable_solver_init_arguments.h.
|
default |
Initializes with no value.
operations_research::math_opt::NonStreamableSolverInitArgumentsValue::NonStreamableSolverInitArgumentsValue | ( | const NonStreamableSolverInitArguments & | non_streamable | ) |
Initializes with the provided value, cloning it.
Definition at line 30 of file non_streamable_solver_init_arguments.cc.
operations_research::math_opt::NonStreamableSolverInitArgumentsValue::NonStreamableSolverInitArgumentsValue | ( | const NonStreamableSolverInitArgumentsValue & | other | ) |
Clones other.get() if not nullptr.
Definition at line 34 of file non_streamable_solver_init_arguments.cc.
|
default |
Steals other.get() and resets it to nullptr.
|
inline |
Return a pointer on the value; nullptr if unset (default value).
Definition at line 168 of file non_streamable_solver_init_arguments.h.
NonStreamableSolverInitArgumentsValue & operations_research::math_opt::NonStreamableSolverInitArgumentsValue::operator= | ( | const NonStreamableSolverInitArgumentsValue & | other | ) |
Clones other.get() if not nullptr.
Assignment to self is possible.
Definition at line 39 of file non_streamable_solver_init_arguments.cc.
|
default |
Steals other.get() and resets it to nullptr.