.ModelicaReference.Annotations.missingInnerMessage

Information

Diagnostic message, if inner declaration is missing

Examples

model World
  annotation(defaultComponentName     = "world",
             defaultComponentPrefixes = "inner replaceable",
             missingInnerMessage      = "The World object is missing");
  ...
end World;

Syntax

   annotation"(" missingInnerMessage "=" STRING ")"

Description

When an outer component of the class does not have a corresponding inner component, the string message may be used as a diagnostic message. However, the inner component is automatically added - if unique - regardless of this annotation.


Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos