]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI1/fmi1_import_vendor_annotations.c
Add FMILibrary-2.0.3 to org.simantics.fmil.core\native.
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / Import / src / FMI1 / fmi1_import_vendor_annotations.c
1 /*
2     Copyright (C) 2012 Modelon AB
3
4     This program is free software: you can redistribute it and/or modify
5     it under the terms of the BSD style license.
6
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.
11
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>.
14 */
15
16 #include <string.h>
17
18 #include "fmi1_import_impl.h"
19
20 const char* fmi1_import_get_vendor_name(fmi1_import_vendor_t* v) {
21         return fmi1_xml_get_vendor_name(v);
22 }
23
24 unsigned int  fmi1_import_get_number_of_vendor_annotations(fmi1_import_vendor_t* v) {
25     return fmi1_xml_get_number_of_vendor_annotations(v);
26 }
27
28 fmi1_import_annotation_t* fmi1_import_get_vendor_annotation(fmi1_import_vendor_t* v, unsigned int  index) {
29         return fmi1_xml_get_vendor_annotation(v, index);
30 }
31
32 const char* fmi1_import_get_annotation_name(fmi1_import_annotation_t* a) {
33         return fmi1_xml_get_annotation_name(a);
34 }
35
36 const char* fmi1_import_get_annotation_value(fmi1_import_annotation_t* a) {
37         return fmi1_xml_get_annotation_value(a);
38 }