XResultSubstep(XMemPool * list_pool) | 原型 | XResultSubstep(XMemPool * list_pool) | | 描述 | 构造函数 | | 参数 | [i]XMemPool * list_pool: 内存池 | | 返回值 | 无 | ~XResultSubstep() | 原型 | ~XResultSubstep() | | 描述 | 析构函数 | | 参数 | 无 | | 返回值 | 无 | void addResult(XResult * rlt) | 原型 | void addResult(XResult * rlt) | | 描述 | 添加结果对象 | | 参数 | [i]XResult * rlt: 结果对象指针 | | 返回值 | 无 | RltSubstepAttribute * getAttribute() | 原型 | RltSubstepAttribute * getAttribute() | | 描述 | 获取结果子步属性 | | 参数 | 无 | | 返回值 | 结果子步属性指针 | const RltSubstepAttribute * getAttribute() const | 原型 | const RltSubstepAttribute * getAttribute() const | | 描述 | 获取结果子步属性 | | 参数 | 无 | | 返回值 | 结果子步属性指针 | void setAttribute(const RltSubstepAttribute * atb) | 原型 | void setAttribute(const RltSubstepAttribute * atb) | | 描述 | 设置结果子步属性 | | 参数 | [i]const RltSubstepAttribute * atb: 结果子步属性指针 | | 返回值 | 无 | XResult* getIdenticalResult(int rlt_type, const char * name, int loc) | 原型 | XResult* getIdenticalResult(int rlt_type, const char * name, int loc) | | 描述 | 获取指定位置指定名字指定类型的主结果(对于某些应用来说,同样类型的结果可以有多个,它们有不同的名字) | | 参数 | [i]int rlt_type: 结果类型 \\ [i] const char * name: 结果名 \\ [i] int loc: 结果位置 | | 返回值 | 指定位置指定名字指定类型的主结果,如不存在返回NULL | XResult* getIdenticalResult(const char * name) | 原型 | XResult* getIdenticalResult(const char * name) | | 描述 | 获取指定名字的主结果 | | 参数 | [i]const char * name: 结果名 | | 返回值 | 指定名字的主结果 | XResult* getIdenticalResult(XResult * ref) | 原型 | XResult* getIdenticalResult(XResult * ref) | | 描述 | 在本子步中获取与参考结果对象一致(类型一致、名字一致)的主结果 | | 参数 | [i]XResult * ref: 参考结果对象 | | 返回值 | 与参考结果对象一致的主结果 | int getResultCount() const | 原型 | int getResultCount() const | | 描述 | 获取主结果对象的个数 | | 参数 | 无 | | 返回值 | 主结果对象的个数 | XResult* getResult(int index) const | 原型 | XResult* getResult(int index) const | | 描述 | 获取序号为index的主结果对象 | | 参数 | [i]int index: 结果序号 | | 返回值 | 序号为index的结果对象 | XResult* getResultByType(TypeID rltType) const | 原型 | XResult* getResultByType(TypeID rltType) const | | 描述 | 获取类型为rltType的主结果对象(位置为节点上) | | 参数 | [i]TypeID rltType: 结果类型rltType | | 返回值 | 类型为rltType的主结果对象 | int find(const XResult * rlt) const | 原型 | int find(const XResult * rlt) const | | 描述 | 获取结果对象的序号 | | 参数 | [i]const XResult * rlt: 主结果对象 | | 返回值 | 结果对象的序号 | void clear() | 原型 | void clear() | | 描述 | 清空结果对象 | | 参数 | 无 | | 返回值 | 无 | void setStep(XResultStep * step) | 原型 | void setStep(XResultStep * step) | | 描述 | 设置所属结果步 | | 参数 | [i]XResultStep * step: 结果步指针 | | 返回值 | 无 | XResultStep * getStep() const | 原型 | XResultStep * getStep() const | | 描述 | 获取所属结果步 | | 参数 | 无 | | 返回值 | 所属结果步指针 |