]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/XML/include/FMI2/fmi2_xml_capabilities.h
Add FMILibrary-2.0.3 to org.simantics.fmil.core\native.
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / XML / include / FMI2 / fmi2_xml_capabilities.h
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 FMI2_XML_CAPABILITIES_H
17 #define FMI2_XML_CAPABILITIES_H
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 #include "FMI2/fmi2_xml_model_description.h"
24         /**
25                 \file fmi2_xml_capabilities.h
26                 Functions to retrieve capability flags.
27         */
28         /**
29         \addtogroup fmi2_xml
30         @{
31         \addtogroup fmi2_xml_capabilities Functions to retrieve capability flags.
32         The functions accept a pointer to ::fmi2_xml_capabilities_t returned by fmi2_xml_get_capabilities().
33         They return the flags as specified by the FMI 2.0 standard. Default values are returned for model-exachange FMUs.
34         @}
35         \addtogroup fmi2_xml_capabilities
36         @{
37         */
38 /** \brief Retrieve  canHandleVariableCommunicationStepSize flag. */
39         
40 unsigned int fmi2_xml_get_capability(fmi2_xml_model_description_t* , fmi2_capabilities_enu_t id);
41         
42         
43 /** 
44 @}
45 */
46
47 #ifdef __cplusplus
48 }
49 #endif
50 #endif /* FMI2_XML_CAPABILITIES_H */