FMI Library: part of JModelica.org
|
Vendor annotation supporting structures | |
typedef struct fmi1_xml_vendor_list_t | fmi1_import_vendor_list_t |
Opaque list of vendor annotations. More... | |
typedef struct fmi1_xml_vendor_t | fmi1_import_vendor_t |
Opaque vendor object. More... | |
typedef struct fmi1_xml_annotation_t | fmi1_import_annotation_t |
Opaque annotation object. More... | |
typedef struct fmi1_xml_vendor_list_t fmi1_import_vendor_list_t |
Opaque list of vendor annotations.
Definition at line 43 of file fmi1_import_vendor_annotations.h.
typedef struct fmi1_xml_vendor_t fmi1_import_vendor_t |
Opaque vendor object.
Definition at line 45 of file fmi1_import_vendor_annotations.h.
typedef struct fmi1_xml_annotation_t fmi1_import_annotation_t |
Opaque annotation object.
Definition at line 47 of file fmi1_import_vendor_annotations.h.
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.
FMILIB_EXPORT const char* fmi1_import_get_vendor_name | ( | fmi1_import_vendor_t * | ) |
Get the vendor name.
FMILIB_EXPORT unsigned int fmi1_import_get_number_of_vendor_annotations | ( | fmi1_import_vendor_t * | ) |
Get the number of annotations provided for the vendor.
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.
Note: Annotations may later be used in other places but have common interface name-value
FMILIB_EXPORT const char* fmi1_import_get_annotation_name | ( | fmi1_import_annotation_t * | ) |
Get the name of the annotation.
FMILIB_EXPORT const char* fmi1_import_get_annotation_value | ( | fmi1_import_annotation_t * | ) |
Get the value for the annotation.
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.