31 #ifndef ACADO_TOOLKIT_EXPORT_INDEX_HPP 32 #define ACADO_TOOLKIT_EXPORT_INDEX_HPP 63 const std::string& _prefix = std::string()
100 const std::string& _realString =
"real_t",
101 const std::string& _intString =
"int",
109 const std::string
get( )
const;
133 int tmp = std::string( val1.
getName() ).compare( std::string( val2.
getName() ) );
135 return (tmp < 0) ?
true :
false;
144 #endif // ACADO_TOOLKIT_EXPORT_INDEX_HPP Allows to pass back messages to the calling function.
friend ExportIndex operator*(const ExportIndex &_arg1, const ExportIndex &_arg2)
#define CLOSE_NAMESPACE_ACADO
friend ExportIndex operator+(const ExportIndex &_arg1, const ExportIndex &_arg2)
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.
ExportIndexNode * operator->()
virtual returnValue exportDataDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
friend ExportIndex operator-(const ExportIndex &_arg1, const ExportIndex &_arg2)
friend std::string operator==(const ExportIndex &_arg1, const ExportIndex &_arg2)
friend ExportIndex operator%(const ExportIndex &_arg1, const ExportIndex &_arg2)
int getGivenValue() const
const ExportIndex constExportIndexValueOne(int(1))
#define BEGIN_NAMESPACE_ACADO
Abstract base class to define variables to be used for exporting code.
friend ExportIndex operator/(const ExportIndex &_arg1, const ExportIndex &_arg2)
std::string getName() const