35 #ifndef ACADO_TOOLKIT_EXPORT_STATEMENT_HPP 36 #define ACADO_TOOLKIT_EXPORT_STATEMENT_HPP 113 const std::string& _realString =
"real_t",
114 const std::string& _intString =
"int",
129 const std::string& _realString =
"real_t",
130 const std::string& _intString =
"int",
162 #endif // ACADO_TOOLKIT_EXPORT_STATEMENT_HPP
virtual returnValue exportDataDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
Allows to pass back messages to the calling function.
std::vector< StatementPtr > StatementPtrArray
ExportStatement & operator=(const ExportStatement &arg)
#define CLOSE_NAMESPACE_ACADO
Defines a scalar-valued index variable to be used for exporting code.
virtual ExportStatement & release(const ExportIndex &)
virtual ExportStatement * clone() const =0
static std::string fcnPrefix
virtual ~ExportStatement()
virtual returnValue exportCode(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const =0
Base class for all kind of statements to be exported by the code generation tool. ...
virtual ExportStatement & acquire(ExportIndex &)
virtual ExportStatement & allocate(MemoryAllocatorPtr)
#define BEGIN_NAMESPACE_ACADO
std::shared_ptr< ExportStatement > StatementPtr
std::shared_ptr< MemoryAllocator > MemoryAllocatorPtr
static std::string varPrefix