slreportgen.report.CFunction Class
Namespace: slreportgen.report
Description
Use an object of the slreportgen.report.CFunction
class to report on a
C Function
block.
By default, a CFunction
object reports:
A table that includes the Description parameter and any custom mask parameters
A table that lists the contents of the Symbols parameter
Sections for the C code defined by the Output Code, Start Code, and Terminate Code parameters
Use the object properties to exclude or modify the reported information.
Note
To use a CFunction
reporter in a report, you must create the report using
the slreportgen.report.Report
class.
The slreportgen.report.CFunction
class is a handle
class.
Creation
Description
creates a rptr
= slreportgen.report.CFunctionCFunction
object with default property values. You must specify
the C Function block to report by setting the Object
property. Use other properties to specify report options.
specifies the C Function block to report and sets the rptr
= slreportgen.report.CFunction(cFunctionBlock
)Object
property to cFunctionBlock
.
sets properties using name-value arguments. For example, rptr
= slreportgen.report.CFunction(Name=Value
)rptr =
slreportgen.report.CFunction(Object="slrgex_cfunction/C Function")
sets the
Object
property to "slrgex_cfunction/C Function"
. You can specify multiple
name-value arguments.