.OpenModelica.Scripting.getAnnotationNamedModifiers

Returns the names of the modifiers in the given annotation.

Information

Example:

  model M
    annotation(experiment(StartTime = 1.0, StopTime = 2.0));
  end M;

  getAnnotationNamedModifiers(M, "experiment") => {"StartTime", "StopTime"}

Interface

function getAnnotationNamedModifiers
  input TypeName className;
  input String annotationName;
  output String[:] modifierNames;
end getAnnotationNamedModifiers;

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos