slreportgen.report.CFunction 类
命名空间: slreportgen.report
描述
使用 slreportgen.report.CFunction 类的对象来报告 C Function 模块。
默认情况下,CFunction 对象报告:
包含描述参数和任何自定义封装参数的表
列出符号参数内容的表格
由输出代码、启动代码和终止代码参数定义的 C 代码节
使用对象属性来排除或修改报告的信息。
注意
要在报告中使用 CFunction 报告器,您必须使用 slreportgen.report.Report 类创建报告。
slreportgen.report.CFunction 类是 handle 类。
创建对象
描述
创建一个具有默认属性值的 rptr = slreportgen.report.CFunctionCFunction 对象。您必须通过设置 Object 属性来指定要报告的 C Function 模块。使用其他属性来指定报告选项。
指定要报告的 C Function 模块,并将 rptr = slreportgen.report.CFunction(cFunctionBlock)Object 属性设置为 cFunctionBlock。
使用名称-值参量设置属性。例如,rptr = slreportgen.report.CFunction(Name=Value)rptr = slreportgen.report.CFunction(Object="slrgex_cfunction/C Function") 将 Object 属性设置为 "slrgex_cfunction/C Function"。您可以指定多个名称-值参量。
