generateModelSystemC function

String? generateModelSystemC(
  1. Object candidate,
  2. String className, {
  3. SystemCModelOptions options = const SystemCModelOptions(),
})

Generic discovery callback for external exporters, without family checks.

Null means the object has no selected portable model. Errors from a supported model propagate; unsupported exports never fall back silently.

Implementation

String? generateModelSystemC(
  Object candidate,
  String className, {
  SystemCModelOptions options = const SystemCModelOptions(),
}) =>
    componentModelOf(candidate)
        ?.generateSystemC(className: className, options: options);