FMI Library: part of JModelica.org
Functions
Basic support for vendor annotations.

Functions

FMILIB_EXPORT unsigned int fmi1_import_get_number_of_vendors (fmi1_import_vendor_list_t *)
 Get the number of different vendors. More...
 
FMILIB_EXPORT fmi1_import_vendor_tfmi1_import_get_vendor (fmi1_import_vendor_list_t *, unsigned int index)
 Get the annotations associated with vendor specified by the index. More...
 
FMILIB_EXPORT const charfmi1_import_get_vendor_name (fmi1_import_vendor_t *)
 Get the vendor name. More...
 
FMILIB_EXPORT unsigned int fmi1_import_get_number_of_vendor_annotations (fmi1_import_vendor_t *)
 Get the number of annotations provided for the vendor. More...
 
FMILIB_EXPORT fmi1_import_annotation_tfmi1_import_get_vendor_annotation (fmi1_import_vendor_t *, unsigned int index)
 Get an annotation object for the vendor by index. More...
 
FMILIB_EXPORT const charfmi1_import_get_annotation_name (fmi1_import_annotation_t *)
 Get the name of the annotation. More...
 
FMILIB_EXPORT const charfmi1_import_get_annotation_value (fmi1_import_annotation_t *)
 Get the value for the annotation. More...
 
FMILIB_EXPORT fmi1_import_vendor_list_tfmi1_import_get_vendor_list (fmi1_import_t *fmu)
 Get the list of all the vendor annotations present in the XML file. More...
 

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...
 

Detailed Description

Typedef Documentation

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.

Function Documentation

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.