#include <acado/utils/acado_types.hpp>
#include <acado/utils/acado_constants.hpp>
#include <acado/utils/acado_io_utils.hpp>
#include <acado/code_generation/templates/templates.hpp>
Go to the source code of this file.
Macros | |
#define | AUTOGEN_NOTICE_LENGTH 15 |
Functions | |
returnValue | acadoCopyFile (const std::string &source, const std::string &destination, const std::string &commentString, bool printCodegenNotice) |
returnValue | acadoCopyTemplateFile (const std::string &source, const std::string &destination, const std::string &commentString, bool printCodegenNotice) |
returnValue | acadoCreateFolder (const std::string &name) |
double | acadoGetTime () |
returnValue | acadoPrintAutoGenerationNotice (std::ofstream &stream, const std::string &commentString) |
returnValue | acadoPrintCopyrightNotice (const std::string &subpackage) |
returnValue | getGlobalStringDefinitions (PrintScheme _printScheme, char **_startString, char **_endString, uint &_width, uint &_precision, char **_colSeparator, char **_rowSeparator) |
static uint | getStringLength (const char *string) |
Variables | |
static const char * | autogenerationNotice [AUTOGEN_NOTICE_LENGTH] |
#define AUTOGEN_NOTICE_LENGTH 15 |
Definition at line 60 of file acado_io_utils.cpp.
returnValue acadoCopyFile | ( | const std::string & | source, |
const std::string & | destination, | ||
const std::string & | commentString, | ||
bool | printCodegenNotice = false |
||
) |
A function for file copying.
Definition at line 176 of file acado_io_utils.cpp.
returnValue acadoCopyTemplateFile | ( | const std::string & | source, |
const std::string & | destination, | ||
const std::string & | commentString, | ||
bool | printCodegenNotice = false |
||
) |
A function for copying of template files.
Definition at line 222 of file acado_io_utils.cpp.
returnValue acadoCreateFolder | ( | const std::string & | name | ) |
A function to create a folder.
Definition at line 255 of file acado_io_utils.cpp.
double acadoGetTime | ( | ) |
Returns the current system time.
Definition at line 356 of file acado_io_utils.cpp.
returnValue acadoPrintAutoGenerationNotice | ( | std::ofstream & | stream, |
const std::string & | commentString | ||
) |
Prints ACADO Toolkit's copyright notice for auto generated code.
Definition at line 325 of file acado_io_utils.cpp.
returnValue acadoPrintCopyrightNotice | ( | const std::string & | subpackage | ) |
Prints ACADO Toolkit's copyright notice for sub-packages.
Definition at line 295 of file acado_io_utils.cpp.
returnValue getGlobalStringDefinitions | ( | PrintScheme | _printScheme, |
char ** | _startString, | ||
char ** | _endString, | ||
uint & | _width, | ||
uint & | _precision, | ||
char ** | _colSeparator, | ||
char ** | _rowSeparator | ||
) |
Get global string definitions.
Definition at line 88 of file acado_io_utils.cpp.
|
static |
Definition at line 80 of file acado_io_utils.cpp.
|
static |
Definition at line 61 of file acado_io_utils.cpp.