.OpenModelica.Scripting.getComponentsTest

Information

Returns the components found in the given class.

Interface

function getComponentsTest
  input TypeName name;
  output Component[:] components;

  record Component
    String className "the type of the component";
    String name "the name of the component";
    String comment "the comment of the component";
    Boolean isProtected "true if component is protected";
    Boolean isFinal "true if component is final";
    Boolean isFlow "true if component is flow";
    Boolean isStream "true if component is stream";
    Boolean isReplaceable "true if component is replaceable";
    String variability "'constant', 'parameter', 'discrete', ''";
    String innerOuter "'inner', 'outer', ''";
    String inputOutput "'input', 'output', ''";
    String dimensions[:] "array with the dimensions of the component";
  end Component;
end getComponentsTest;

Contents

Name Description
Component

Generated at 2022-06-26T00:32:45Z by OpenModelicaOpenModelica 1.20.0~dev-163-g897feb0 using GenerateDoc.mos