34 #ifndef ACADO_TOOLKIT_EXPORT_ARGUMENT_LIST_HPP 35 #define ACADO_TOOLKIT_EXPORT_ARGUMENT_LIST_HPP 151 const std::string& _realString =
"real_t",
152 const std::string& _intString =
"int",
181 const std::vector< ExportArgument >&
get( )
const;
215 #endif // ACADO_TOOLKIT_EXPORT_ARGUMENT_LIST_HPP returnValue doIncludeType()
returnValue doNotIncludeType()
returnValue addSingleArgument(const ExportArgument &_argument)
ExportArgumentList & operator=(const ExportArgumentList &rhs)
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
#define CLOSE_NAMESPACE_ACADO
Defines a matrix-valued variable that can be passed as argument to exported functions.
std::vector< ExportArgument > arguments
Allows to store a list of calling arguments of an ExportFunction.
virtual ~ExportArgumentList()
virtual returnValue exportCode(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
void rhs(const real_t *x, real_t *f)
uint getNumArguments() const
static const ExportArgument emptyConstExportArgument
#define BEGIN_NAMESPACE_ACADO
returnValue addArgument(const ExportArgument &_argument1, const ExportArgument &_argument2=emptyConstExportArgument, const ExportArgument &_argument3=emptyConstExportArgument, const ExportArgument &_argument4=emptyConstExportArgument, const ExportArgument &_argument5=emptyConstExportArgument, const ExportArgument &_argument6=emptyConstExportArgument, const ExportArgument &_argument7=emptyConstExportArgument, const ExportArgument &_argument8=emptyConstExportArgument, const ExportArgument &_argument9=emptyConstExportArgument)