33 #ifndef ACADO_TOOLKIT_EXPORT_INDEX_NODE_HPP 34 #define ACADO_TOOLKIT_EXPORT_INDEX_NODE_HPP 54 const std::string& _prefix,
55 const int _factor = 1,
56 const int _offset = 0)
100 const std::string& _realString =
"real_t",
101 const std::string& _intString =
"int",
106 const std::string
get( )
const;
162 #endif // ACADO_TOOLKIT_EXPORT_INDEX_NODE_HPP virtual ExportIndexNode * clone() const
Make a deep copy of the instance.
virtual bool isGiven() const
ExportIndexNode(ExportStatementOperator _op, const ExportIndex &_arg1, const ExportIndex &_arg2)
Allows to pass back messages to the calling function.
#define CLOSE_NAMESPACE_ACADO
Defines a scalar-valued index variable to be used for exporting code.
ExportIndexNode(const std::string &_name, const std::string &_prefix, const int _factor=1, const int _offset=0)
virtual ~ExportIndexNode()
const int getOffset() const
const int getFactor() const
ExportIndexNode(const int _value)
#define BEGIN_NAMESPACE_ACADO
ExportVariableType varType
const int getGivenValue() const
virtual returnValue exportDataDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const