CapeThermoMaterialWrapperClearAllProps Method

Remove all stored Physical Property values.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public void ClearAllProps()

Remarks

ClearAllProps removes all stored Physical Properties that have been set using the SetSinglePhaseProp, SetTwoPhaseProp or SetOverallProp methods. This means that any subsequent call to retrieve Physical Properties will result in an exception until new values have been stored using one of the Set methods. ClearAllProps does not remove the configuration information for a Material, i.e. the list of Compounds and Phases.

Using the ClearAllProps method results in a Material Object that is in the same state as when it was first created. It is an alternative to using the CreateMaterial method but it is expected to have a smaller overhead in operating system resources.

Exceptions

ECapeNoImplThe operation is “not” implemented even if this method can be called for reasons of compatibility with the CAPE-OPEN standards. That is to say that the operation exists but it is not supported by the current implementation
ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.

See Also