ClassesClasses | | Operators

clear_ncc_modelT_clear_ncc_modelClearNccModelClearNccModel (Operator)

Name

clear_ncc_modelT_clear_ncc_modelClearNccModelClearNccModel — Free the memory of an NCC model.

Signature

clear_ncc_model( : : ModelID : )

Herror T_clear_ncc_model(const Htuple ModelID)

void ClearNccModel(const HTuple& ModelID)

void HNCCModel::ClearNccModel() const

static void HOperatorSet.ClearNccModel(HTuple modelID)

void HNCCModel.ClearNccModel()

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

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


ClassesClasses | | Operators