UF_MODL_validate_body
Defined in: uf_modl.h
int UF_MODL_validate_body(int num_bodies, tag_t * bodies, int * valid_info )
overview 概述
Validate all of the input bodies, and return a code for each body indicating if it is valid or not.
验证所有输入主体,并为每个主体返回一个代码,指示它是否有效。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| int | num_bodies | Input | Number of bodies to be validated 需要验证的机构数量 |
| tag_t * | bodies | Input | Array of bodies to be validated 要验证的主体数组 |
| int * | valid_info | Output | Validity info for each body. This array must have been allocated by the caller as int valid_info[num_bodies]. There will be one status per body, 1 indicates that the body is valid and 2 indicates that the body is invalid. valid_info[0] is the code for bodies[0], and so on up to valid_info[num_bodies-1] and bodies[num_bodies-1]. 每个机构的有效性信息。这个数组必须已经由调用者分配为 int valid_ info [ num _ body ]。每个主体有一个状态,1表示主体有效,2表示主体无效。Valid_ info [0]是 body [0]的代码,以此类推,直到 valid_ info [ num _ body-1]和 body [ num _ body-1]。 |