Material Object Wrapper Class
Wrapper class for COM-based CAPE-OPEN ICapeThermoMaterialObject material object.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[ComVisibleAttribute(false)]
[GuidAttribute("5A65B4B2-2FDD-4208-813D-7CC527FB91BD")]
public class MaterialObjectWrapper : ICapeIdentification,
IDisposableVB
<ComVisibleAttribute(false)>
<GuidAttribute("5A65B4B2-2FDD-4208-813D-7CC527FB91BD")>
Public Class MaterialObjectWrapper
Implements ICapeIdentification, IDisposable- Inheritance
- Object MaterialObjectWrapper
- Implements
- ICapeIdentification, IDisposable
Remarks
This class is a wrapper class for COM-based CAPE-OPEN ICapeThermoMaterialObject material object. When you use this wrapper class, the lifecycle of the COM-based material is managed for you and the COM Release() method is called on the material.
In addition, this method converts the COM variants used in the ICapeThermoMaterialObject interface to the desired .Net object types. This elimiates the need to convert the data types whne you use a COM-based CAPE-OPEN material object.
Constructors
| MaterialObjectWrapper | Creates a new instance of the MaterialObjectWrapper class |
Properties
| ComponentDescription | Gets and sets the description of the component. |
| ComponentIds | Get the component ids for this MO |
| ComponentName | Gets and sets the name of the component. |
| PhaseIds | Get the phase ids for this MO |
Methods
| AvailableProps | Check which properties are available |
| CalcEquilibrium | Calculate some equilibrium values |
| CalcProp | Calculate some properties |
| CreateMaterialObject | Create another empty material object |
| Dispose | Releases all resources used by the CapeIdentification object. |
| Dispose(Boolean) | Releases the unmanaged resources used by the CapeIdentification object and optionally releases the managed resources. |
| Duplicate | Duplicate this material object |
| GetComponentConstant | Get some pure component constant(s) |
| GetIndependentVar | Get the independent variable for the state |
| GetNumComponents | Get the number of components in this material object |
| GetProp | Get some pure component constant(s) |
| GetPropList | Get the list of properties |
| GetUniversalConstant | Get some universal constant(s) |
| PropCheck | Check a property is valid |
| RemoveResults | Remove any previously calculated results for given properties |
| SetIndependentVar | Set the independent variable for the state |
| SetProp | Get some pure component constant(s) |
| ValidityCheck | Check the validity of the given properties |
Fields
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |