2 Copyright (C) 2012 Modelon AB
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the BSD style license.
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.
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>.
16 #ifndef FMI2_XML_CAPABILITIES_H
17 #define FMI2_XML_CAPABILITIES_H
23 #include "FMI2/fmi2_xml_model_description.h"
25 \file fmi2_xml_capabilities.h
26 Functions to retrieve capability flags.
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.
35 \addtogroup fmi2_xml_capabilities
38 /** \brief Retrieve canHandleVariableCommunicationStepSize flag. */
40 unsigned int fmi2_xml_get_capability(fmi2_xml_model_description_t* , fmi2_capabilities_enu_t id);
50 #endif /* FMI2_XML_CAPABILITIES_H */