Results#
- cuest.bindings.cuestResultsCreate(
- *,
- resultsType: int,
- outResults: cuest.bindings.cuest.Results,
Create a new cuEST results object of the specified type.
Allocates and initializes an opaque results object of the type specified by
resultsType. The created object is returned viaoutResultsand must be destroyed withcuestResultsDestroy().Parameters#
- resultsType[in]CuestResultsType
Type of results object to create (see
cuestResultsType_t).- outResults[out]cuestResultsHandle
Pointer to receive allocated opaque results handle.
Returns#
- statuscuestStatus_t
CUEST_STATUS_SUCCESSon success;CUEST_STATUS_NULL_POINTERifoutResultsis NULL;CUEST_STATUS_INVALID_TYPEifresultsTypeis invalid;CUEST_STATUS_EXCEPTIONorCUEST_STATUS_UNKNOWN_ERRORotherwise.
- cuest.bindings.cuestResultsDestroy(
- *,
- resultsType: int,
- results: cuest.bindings.cuest.Results,
Destroy a cuEST results object of the specified type.
Properly deallocates and cleans up resources for a results handle created by
cuestResultsCreate().Parameters#
- resultsType[in]CuestResultsType
Type of results object (must match the type used at creation).
- results[in]cuestResultsHandle
Results handle to destroy. Must not be NULL.
Returns#
- statuscuestStatus_t
CUEST_STATUS_SUCCESSon success;CUEST_STATUS_NULL_POINTERifresultsis NULL;CUEST_STATUS_INVALID_TYPEifresultsTypedoes not match the actual type ofresults;CUEST_STATUS_EXCEPTIONorCUEST_STATUS_UNKNOWN_ERRORotherwise.
- cuest.bindings.cuestResultsQuery(
- *,
- resultsType: int,
- results: cuest.bindings.cuest.Results,
- attribute: int,
- attributeValue: object,
Query the value of a given attribute from a cuEST results object.
Parameters#
- resultsType[in]CuestResultsType
Type of results object being queried.
- results[in]cuestResultsHandle
Opaque handle of the results object (must not be NULL).
- attribute[in]int
Integer attribute identifier (cast to appropriate attribute enum internally).
- attributeValue[out]data handle (matching the queried attribute’s type)
Destination for the queried value (must not be NULL).
Returns#
- statuscuestStatus_t
CUEST_STATUS_SUCCESSon success;CUEST_STATUS_NULL_POINTERifresultsorattributeValueis NULL;CUEST_STATUS_INVALID_TYPEifresultsis not of the specifiedresultsType, orattributeValuehas the wrong data type;CUEST_STATUS_INVALID_SIZEif the size ofattributeValuedoes not match the attribute type size;CUEST_STATUS_INVALID_PARAMETERif the attribute is not recognized for the givenresultsType;CUEST_STATUS_EXCEPTIONorCUEST_STATUS_UNKNOWN_ERRORotherwise.