FMI Library: part of JModelica.org
Main Page
Modules
Data Structures
Files
File List
Globals
src
Util
include
FMI
fmi_version.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
16
#ifndef FMI_VERSION_H
17
#define FMI_VERSION_H
18
#include <
fmilib_config.h
>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
34
typedef
enum
35
{
36
fmi_version_unknown_enu
= 0,
37
fmi_version_1_enu
,
38
fmi_version_2_0_enu
,
39
fmi_version_unsupported_enu
40
}
fmi_version_enu_t
;
41
43
FMILIB_EXPORT
44
const
char
*
fmi_version_to_string
(fmi_version_enu_t
v
);
45
47
#ifdef __cplusplus
48
}
49
#endif
50
51
/* JM_TYPES_H */
52
#endif
fmilib_config.h
Library configuration file generated by the build system.
fmi_version_enu_t
fmi_version_enu_t
Suported versions of FMI standard.
Definition:
fmi_version.h:34
fmi_version_unsupported_enu
Definition:
fmi_version.h:39
v
return v
Definition:
jm_vector_template.h:63
FMILIB_EXPORT
#define FMILIB_EXPORT
Used to declare the public API of the library needed for dynamic linking.
fmi_version_to_string
FMILIB_EXPORT const char * fmi_version_to_string(fmi_version_enu_t v)
fmi_version_unknown_enu
Definition:
fmi_version.h:36
fmi_version_2_0_enu
Definition:
fmi_version.h:38
fmi_version_1_enu
Definition:
fmi_version.h:37
Generated by
1.8.11