A class for generating some helper functions. More...
#include <export_auxiliary_functions.hpp>
Public Member Functions | |
returnValue | configure () |
ExportAuxiliaryFunctions (const std::string &_headerFileName, const std::string &_sourceFileName, const std::string &_moduleName="acado", const std::string &_commonHeaderName="", const std::string &_realString="double", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string()) | |
returnValue | exportCode () |
virtual | ~ExportAuxiliaryFunctions () |
Private Attributes | |
ExportTemplatedFile | header |
std::string | moduleName |
ExportTemplatedFile | source |
A class for generating some helper functions.
Definition at line 46 of file export_auxiliary_functions.hpp.
BEGIN_NAMESPACE_ACADO ExportAuxiliaryFunctions::ExportAuxiliaryFunctions | ( | const std::string & | _headerFileName, |
const std::string & | _sourceFileName, | ||
const std::string & | _moduleName = "acado" , |
||
const std::string & | _commonHeaderName = "" , |
||
const std::string & | _realString = "double" , |
||
const std::string & | _intString = "int" , |
||
int | _precision = 16 , |
||
const std::string & | _commentString = std::string() |
||
) |
Default constructor.
[in] | _moduleName | Module name for customization. |
[in] | _commonHeaderName | Name of common header file to be included. |
[in] | _realString | std::string to be used to declare real variables. |
[in] | _intString | std::string to be used to declare integer variables. |
[in] | _precision | Number of digits to be used for exporting real values. |
[in] | _commentString | std::string to be used for exporting comments. |
Definition at line 40 of file export_auxiliary_functions.cpp.
virtual ExportAuxiliaryFunctions::~ExportAuxiliaryFunctions | ( | ) | [inline, virtual] |
Destructor.
Definition at line 72 of file export_auxiliary_functions.hpp.
Configure the template
Definition at line 55 of file export_auxiliary_functions.cpp.
Export the interface.
Definition at line 75 of file export_auxiliary_functions.cpp.
Definition at line 87 of file export_auxiliary_functions.hpp.
std::string ExportAuxiliaryFunctions::moduleName [private] |
Definition at line 88 of file export_auxiliary_functions.hpp.
Definition at line 86 of file export_auxiliary_functions.hpp.