34 #ifndef ACADO_TOOLKIT_EXPORT_ARGUMENT_HPP 35 #define ACADO_TOOLKIT_EXPORT_ARGUMENT_HPP 89 bool _callByValue =
false,
91 const std::string& _prefix = std::string()
110 bool _callByValue =
false,
112 const std::string& _prefix = std::string()
196 const std::string& _realString =
"real_t",
197 const std::string& _intString =
"int",
209 #endif // ACADO_TOOLKIT_EXPORT_ARGUMENT_HPP virtual uint getDim() const
Allows to pass back messages to the calling function.
std::shared_ptr< GenericMatrix< double > > DMatrixPtr
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual uint getNumCols() const
#define CLOSE_NAMESPACE_ACADO
Defines a scalar-valued index variable to be used for exporting code.
const ExportIndex emptyConstExportIndex(int(0))
Defines a matrix-valued variable that can be passed as argument to exported functions.
bool isCalledByValue() const
virtual returnValue exportDataDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
ExportArgumentInternal * operator->()
Defines a matrix-valued variable that can be passed as argument to exported functions.
virtual bool isGiven() const
static const ExportArgument emptyConstExportArgument
returnValue callByValue()
#define BEGIN_NAMESPACE_ACADO
Abstract base class to define variables to be used for exporting code.
ExportArgument getAddress(const ExportIndex &_rowIdx, const ExportIndex &_colIdx=emptyConstExportIndex) const
virtual uint getNumRows() const
const std::string getAddressString(bool withDataStruct=true) const