FMI Library: part of JModelica.org
fmi1_import_vendor_annotations.h
Go to the documentation of this file.
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 
20 #ifndef FMI1_IMPORT_VENDORANNOTATIONS_H_
21 #define FMI1_IMPORT_VENDORANNOTATIONS_H_
22 
23 #include <fmilib_config.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
43 typedef struct fmi1_xml_vendor_list_t fmi1_import_vendor_list_t;
45 typedef struct fmi1_xml_vendor_t fmi1_import_vendor_t;
47 typedef struct fmi1_xml_annotation_t fmi1_import_annotation_t;
52 
55 
58 
61 
67 
70 
73 
76 
78 #ifdef __cplusplus
79 }
80 #endif
81 #endif
FMILIB_EXPORT const char * fmi1_import_get_vendor_name(fmi1_import_vendor_t *)
Get the vendor name.
struct fmi1_xml_vendor_list_t fmi1_import_vendor_list_t
Opaque list of vendor annotations.
Library configuration file generated by the build system.
FMILIB_EXPORT unsigned int fmi1_import_get_number_of_vendor_annotations(fmi1_import_vendor_t *)
Get the number of annotations provided for the vendor.
struct fmi1_xml_annotation_t fmi1_import_annotation_t
Opaque annotation object.
struct fmi1_xml_vendor_t fmi1_import_vendor_t
Opaque vendor object.
#define FMILIB_EXPORT
Used to declare the public API of the library needed for dynamic linking.
fmi1_capi_t * fmu
FMILIB_EXPORT const char * fmi1_import_get_annotation_name(fmi1_import_annotation_t *)
Get the name of the annotation.
FMILIB_EXPORT fmi1_import_annotation_t * fmi1_import_get_vendor_annotation(fmi1_import_vendor_t *, unsigned int index)
Get an annotation object for the vendor by index.
FMILIB_EXPORT const char * fmi1_import_get_annotation_value(fmi1_import_annotation_t *)
Get the value for the annotation.
struct fmi1_import_t fmi1_import_t
FMU version 1.0 object.
FMILIB_EXPORT fmi1_import_vendor_list_t * fmi1_import_get_vendor_list(fmi1_import_t *fmu)
Get the list of all the vendor annotations present in the XML file.
FMILIB_EXPORT unsigned int fmi1_import_get_number_of_vendors(fmi1_import_vendor_list_t *)
Get the number of different vendors.
FMILIB_EXPORT fmi1_import_vendor_t * fmi1_import_get_vendor(fmi1_import_vendor_list_t *, unsigned int index)
Get the annotations associated with vendor specified by the index.