2 Copyright (C) 2012 Modelon AB
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the BSD style license.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 FMILIB_License.txt file for more details.
12 You should have received a copy of the FMILIB_License.txt file
13 along with this program. If not, contact Modelon AB <http://www.modelon.com>.
15 #include <JM/jm_vector.h>
16 #include <FMI1/fmi1_xml_model_description.h>
17 #include "fmi1_import_impl.h"
19 fmi1_fmu_kind_enu_t fmi1_import_get_fmu_kind(fmi1_import_t* fmu) {
20 return fmi1_xml_get_fmu_kind(fmu->md);
23 fmi1_import_capabilities_t* fmi1_import_get_capabilities(fmi1_import_t* fmu){
24 return fmi1_xml_get_capabilities(fmu->md);
27 size_t fmi1_import_get_number_of_additional_models(fmi1_import_t* fmu) {
28 return fmi1_xml_get_number_of_additional_models(fmu->md);
31 const char* fmi1_import_get_additional_model_name(fmi1_import_t* fmu, size_t index) {
32 return fmi1_xml_get_additional_model_name(fmu->md, index);
36 const char* fmi1_import_get_entry_point(fmi1_import_t* fmu) {
37 return fmi1_xml_get_entry_point(fmu->md);
40 const char* fmi1_import_get_mime_type(fmi1_import_t* fmu){
41 return fmi1_xml_get_mime_type(fmu->md);
44 int fmi1_import_get_manual_start(fmi1_import_t* fmu){
45 return fmi1_xml_get_manual_start(fmu->md);