|
FMI Library: part of JModelica.org
|
#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <assert.h>#include <time.h>#include "config_test.h"#include <FMI/fmi_import_context.h>#include <FMI2/fmi2_import.h>Go to the source code of this file.
Functions | |
| int | annotation_start_handle (void *context, const char *parentName, void *parent, const char *elm, const char **attr) |
| int | annotation_data_handle (void *context, const char *s, int len) |
| int | annotation_end_handle (void *context, const char *elm) |
| void | do_exit (int code) |
| void | mylogger (jm_callbacks *c, jm_string module, jm_log_level_enu_t log_level, jm_string message) |
| void | print_int (int i, void *data) |
| void | print_dbl (double d, void *data) |
| void | printTypeInfo (fmi2_import_variable_typedef_t *vt) |
| void | testVariableSearch (fmi2_import_t *fmu, fmi2_import_variable_t *v) |
| void | printVariableInfo (fmi2_import_t *fmu, fmi2_import_variable_t *v) |
| void | printCapabilitiesInfo (fmi2_import_t *fmu) |
| void | printDependenciesInfo (fmi2_import_t *fmu, fmi2_import_variable_list_t *rows, fmi2_import_variable_list_t *cols, size_t *start, size_t *dep, char *factor) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | expect_error |
| fmi2_xml_callbacks_t | annotation_callbacks |
| XML callbacks are used to process parts of XML that are not handled by the library. More... | |
| int annotation_start_handle | ( | void * | context, |
| const char * | parentName, | ||
| void * | parent, | ||
| const char * | elm, | ||
| const char ** | attr | ||
| ) |
Definition at line 30 of file fmi2_import_xml_test.cc.
| int annotation_data_handle | ( | void * | context, |
| const char * | s, | ||
| int | len | ||
| ) |
Definition at line 42 of file fmi2_import_xml_test.cc.
| int annotation_end_handle | ( | void * | context, |
| const char * | elm | ||
| ) |
Definition at line 49 of file fmi2_import_xml_test.cc.
| void do_exit | ( | int | code | ) |
Definition at line 61 of file fmi2_import_xml_test.cc.
| void mylogger | ( | jm_callbacks * | c, |
| jm_string | module, | ||
| jm_log_level_enu_t | log_level, | ||
| jm_string | message | ||
| ) |
Definition at line 68 of file fmi2_import_xml_test.cc.
| void print_int | ( | int | i, |
| void * | data | ||
| ) |
Definition at line 76 of file fmi2_import_xml_test.cc.
| void print_dbl | ( | double | d, |
| void * | data | ||
| ) |
Definition at line 80 of file fmi2_import_xml_test.cc.
| void printTypeInfo | ( | fmi2_import_variable_typedef_t * | vt | ) |
Definition at line 84 of file fmi2_import_xml_test.cc.
| void testVariableSearch | ( | fmi2_import_t * | fmu, |
| fmi2_import_variable_t * | v | ||
| ) |
Definition at line 173 of file fmi2_import_xml_test.cc.
| void printVariableInfo | ( | fmi2_import_t * | fmu, |
| fmi2_import_variable_t * | v | ||
| ) |
Definition at line 203 of file fmi2_import_xml_test.cc.
| void printCapabilitiesInfo | ( | fmi2_import_t * | fmu | ) |
Definition at line 274 of file fmi2_import_xml_test.cc.
| void printDependenciesInfo | ( | fmi2_import_t * | fmu, |
| fmi2_import_variable_list_t * | rows, | ||
| fmi2_import_variable_list_t * | cols, | ||
| size_t * | start, | ||
| size_t * | dep, | ||
| char * | factor | ||
| ) |
Definition at line 284 of file fmi2_import_xml_test.cc.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 314 of file fmi2_import_xml_test.cc.
| int expect_error |
Definition at line 28 of file fmi2_import_xml_test.cc.
| fmi2_xml_callbacks_t annotation_callbacks |
XML callbacks are used to process parts of XML that are not handled by the library.
Definition at line 55 of file fmi2_import_xml_test.cc.
1.8.11