Caffa
1.1.0
C++ Application Framework for Embedded Systems with introspection
|
#include <cafMethodInitHelper.h>
Public Member Functions | |
MethodInitHelper (MethodType &method, const std::string &keyword) | |
MethodInitHelper & | withDoc (const std::string &documentation) |
Apply documentation. More... | |
MethodInitHelper & | withArgumentNames (const std::vector< std::string > &argumentNames) |
Set argument names. Required for positional arguments. More... | |
MethodInitHelper & | makeConst () |
Make the method a const method that cannot alter values Analoguous to a regular const object method. More... | |
Helper class that is initialised with Object::initMethod and allows .. addding additional features to the Method.
|
inline |
Make the method a const method that cannot alter values Analoguous to a regular const object method.
|
inline |
Set argument names. Required for positional arguments.
argumentNames | A list of argument names applied positionally. |
|
inline |