You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear author:
I'm using FMI4Cpp as backend for a UI. I want to show Enumeration definition info, but I can not find the FMU parser processing it. Can this feature be added in the future? Follows are the parser code I found in FUM4Cpp:
For ModelVariable, if it has an enumeration type attribute, the attribute's item description string is defined in
TypeDefinitions part of the ModelDescription.
Thanks!
The text was updated successfully, but these errors were encountered:
I never bothered parsing the TypeDefinitions as I've never had any use for them and I'm not sure of much they are used in practice? However, just parsing them and make the information accessible should be quite straightforward. So this is something we can add, but right now I'm quite swamped with other work. So I'm not seeing this as something I'll do the coming months. If you're willing to put up a PR, however, I could take a look quicker.
Dear author:
I'm using FMI4Cpp as backend for a UI. I want to show Enumeration definition info, but I can not find the FMU parser processing it. Can this feature be added in the future? Follows are the parser code I found in FUM4Cpp:
For ModelVariable, if it has an enumeration type attribute, the attribute's item description string is defined in
TypeDefinitions part of the ModelDescription.
Thanks!
The text was updated successfully, but these errors were encountered: