clear_ncc_modelT_clear_ncc_modelClearNccModelClearNccModel (Operator)
Name
clear_ncc_modelT_clear_ncc_modelClearNccModelClearNccModel
— Free the memory of an NCC model.
Signature
Herror T_clear_ncc_model(const Htuple ModelID)
Description
The operator clear_ncc_modelclear_ncc_modelClearNccModelClearNccModelClearNccModel
frees the memory of an NCC
model that was created by create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModel
. After calling
clear_ncc_modelclear_ncc_modelClearNccModelClearNccModelClearNccModel
, the model can no longer be used. The
handle ModelIDModelIDModelIDModelIDmodelID
becomes invalid.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
The value of this parameter may not be shared across multiple threads without external synchronization.
Parameters
ModelIDModelIDModelIDModelIDmodelID
(input_control, state is modified) ncc_model →
HNCCModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
Result
If the handle of the model is valid, the operator
clear_ncc_modelclear_ncc_modelClearNccModelClearNccModelClearNccModel
returns the value 2 (H_MSG_TRUE). If necessary an
exception is raised.
Possible Predecessors
create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModel
,
read_ncc_modelread_ncc_modelReadNccModelReadNccModelReadNccModel
,
write_ncc_modelwrite_ncc_modelWriteNccModelWriteNccModelWriteNccModel
,
find_ncc_modelfind_ncc_modelFindNccModelFindNccModelFindNccModel
,
find_ncc_modelsfind_ncc_modelsFindNccModelsFindNccModelsFindNccModels
Module
Matching