![]() |
BoB robotics
The Brains on Board robotics library
|
#include <cast.h>
Public Member Functions | |
| constexpr | arg (const char *name=nullptr) |
| Constructs an argument with the name of the argument; if null or omitted, this is a positional argument. | |
| template<typename T > | |
| arg_v | operator= (T &&value) const |
| Assign a value to this argument. | |
| arg & | noconvert (bool flag=true) |
| Indicate that the type should not be converted in the type caster. | |
| arg & | none (bool flag=true) |
| Indicates that the argument should/shouldn't allow None (e.g. for nullable pointer args) | |
Annotation for arguments