我要评分
获取效率
正确性
完整性
易理解

KmlScadssQuery

Query the internal information of the solver.

Interface Definition

C interface:

int KmlScadssQuery(KmlScadssSolver *solver, KmlDssInfo *basicInfo, KmlScadssInfo *scaInfo);

Parameters

Parameter

Type

Description

Input/Output

solver

KmlScadssSolver *

Solver handle created by KmlScadssInit

Input

basicInfo

KmlDssInfo *

Pointer to the basic information query structure. The input cannot be a null pointer. The output is the query result. For details, see Table 1.

Input/Output

scaInfo

KmlScadssInfo *

Pointer to the distributed information query structure. The input cannot be a null pointer. The output is the query result. For details, see Table 1. (No configuration item is available currently.)

Input/Output

Table 1 KmlScadssInfo structure

Field

Type

Description

fieldMask

uint64_t

Mask that determines to which fields the configuration is applied. A non-zero bit indicates that the value specified by the corresponding field is used, and a zero bit indicates that the default value is used. Currently, no mask bit can be configured.

Return Value

Return Value

Type

Description

KMLSS_NO_ERROR

int

Normal execution.

KMLSS_INTERNAL_ERROR

int

Internal error.

KMLSS_NULL_ARGUMENT

int

A null argument exists in {solver, basicInfo, scaInfo}.

Dependencies

#include "kml_scadss.h"