functiongetElements

Returns information about the elements in a given class.

Information

For each component/short class definition the following information is returned in an array:

  • kind of element (co = component, cl = class)
  • class restriction
  • type
  • name
  • description string
  • public/protected
  • final prefix
  • flow prefix
  • stream prefix
  • replaceable prefix
  • variability (constant/parameter/discrete/unspecified)
  • inner/outer prefix
  • input/output prefix
  • constraining class
  • array dimensions

Inputs

TypeNameDefaultDescription
TypeNameclassName
BooleanuseQuotesfalse