Public Member Functions | Private Member Functions | Private Attributes

Allows to export code containing function (forward) declarations. More...

#include <export_function_declaration.hpp>

Inheritance diagram for ExportFunctionDeclaration:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ExportStatementclone () const
virtual returnValue exportCode (std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
 ExportFunctionDeclaration (const ExportFunction &_f)
 ExportFunctionDeclaration (const ExportAcadoFunction &_f)
virtual ~ExportFunctionDeclaration ()

Private Member Functions

 ExportFunctionDeclaration ()

Private Attributes

const ExportFunctionf

Detailed Description

Allows to export code containing function (forward) declarations.

The class ExportDataDeclaration allows to export code containing function (forward) declarations.

Author:
Hans Joachim Ferreau, Boris Houska, Milan Vukov

Definition at line 54 of file export_function_declaration.hpp.


Constructor & Destructor Documentation

Constructor taking the function to be declared.

Parameters:
[in]_fFunction to be declared.

Definition at line 48 of file export_function_declaration.cpp.

Constructor taking the ODE function to be declared.

Parameters:
[in]_fODE function to be declared.

Definition at line 53 of file export_function_declaration.cpp.

Destructor.

Definition at line 57 of file export_function_declaration.cpp.

Definition at line 44 of file export_function_declaration.cpp.


Member Function Documentation

Clone constructor (deep copy).

Returns:
Pointer to cloned object.

Implements ExportStatement.

Definition at line 60 of file export_function_declaration.cpp.

returnValue ExportFunctionDeclaration::exportCode ( std::ostream &  stream,
const std::string &  _realString = "real_t",
const std::string &  _intString = "int",
int  _precision = 16 
) const [virtual]

Exports source code of the statement into given file. Its appearance can can be adjusted by various options.

Parameters:
[in]streamName of file to be used to export statement.
[in]_realStringstd::string to be used to declare real variables.
[in]_intStringstd::string to be used to declare integer variables.
[in]_precisionNumber of digits to be used for exporting real values.
Returns:
SUCCESSFUL_RETURN

Implements ExportStatement.

Definition at line 66 of file export_function_declaration.cpp.


Member Data Documentation

Definition at line 104 of file export_function_declaration.hpp.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:38