Main Content

Object Loop

Run child components for Stateflow objects, and then insert table into report

Description

This component runs its child components for each Stateflow® object and inserts a table into the generated report.

For conditional processing of Stateflow objects, you can use the RptgenSF.getReportedObject function. For more information, see Loop Through Context Functions.

Object Types

  • Report on “Data” objects: Includes Stateflow data objects in the loop.

  • Report on “Event” objects: Includes Stateflow event objects in the loop.

  • Report on “Transition” objects: Includes Stateflow transition objects in the loop.

  • Report on “Junction” objects: Includes Stateflow junction objects in the loop.

  • Report on “Target” objects: Includes Stateflow target objects in the loop.

  • Report on “Annotation” objects: Includes Stateflow note objects in the loop.

  • Report on “Port” objects: Includes Stateflow port objects in the loop.

Loop Options

  • Report depth: Specifies the level at which to loop:

    • Local children only (Default). Reports only on children one level down.

    • All objects. Reports on all Stateflow objects.

  • Skip autogenerated charts under truth tables: Excludes autogenerated charts under truth tables from the report.

  • Remove objects which do not contain more information than a snapshot: Excludes objects that contain only a snapshot.

  • Search Stateflow: Reports on Stateflow charts with specified property name/property value pairs.

Section Options

  • Create section for each object in loop: Inserts a section in the generated report for each object found in the loop.

  • Display the object type in the section title: Automatically inserts the object type into the section title in the generated report. This is only available when Create section for each object in loop is selected.

  • Create link anchor for each object in loop: Create a link target on each object in the loop so that other parts of the report can link to it.

Insert Anything into Report?

Yes, inserts a section if you select Create section for each object in loop and a link target if you select Create link anchor for each object in loop.

Class

rptgen_sf.csf_obj_loop