Medial Code Documentation
|
Registry entry for objective factory functions. More...
#include <objective.h>
Additional Inherited Members | |
![]() | |
ObjFunctionReg & | set_body (std::function< ObjFunction *()> body) |
Set the function body. | |
ObjFunctionReg & | describe (const std::string &description) |
Describe the function. | |
ObjFunctionReg & | add_argument (const std::string &name, const std::string &type, const std::string &description) |
Add argument information to the function. | |
ObjFunctionReg & | add_arguments (const std::vector< ParamFieldInfo > &args) |
Append list if arguments to the end. | |
ObjFunctionReg & | set_return_type (const std::string &type) |
Set the return type. | |
![]() | |
std::string | name |
name of the entry | |
std::string | description |
description of the entry | |
std::vector< ParamFieldInfo > | arguments |
additional arguments to the factory function | |
std::function< ObjFunction *()> | body |
Function body to create ProductType. | |
std::string | return_type |
Return type of the function. | |
![]() | |
ObjFunctionReg & | self () |
Registry entry for objective factory functions.