CATEnsPhysicalUseItf Interface CATIEnsPLMElectricalProperties
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIEnsPLMElectricalProperties
Interface to manage Nominal Power Extension.
Role: CATIEnsPLMElectricalProperties is implemented for Product Reference
Method Index
- o
AddElectricalExtension()
-
Creates the extension:
- o
GetNominalPower(CATICkeParm_var&)
-
Gets Nominal Power Attribute:
Gets the value of the electrical attribute object Nominal Power.
- o
HasElectricalExtension(CATBoolean&)
-
Tests the existence of the extension from the object:
- o
RemoveElectricalExtension()
-
Removes the extension from the object:
- o
SetNominalPower(CATICkeParm_var&)
-
Sets Nominal Power Attribute:
Sets the value of the electrical attribute object Nominal Power.
Methods
o AddElectricalExtension
public virtual AddElectricalExtension( | ) |
-
Creates the extension:
- Returns:
-
S_OK
if the creation succeeds.
E_FAIL
otherwise.
o GetNominalPower
public virtual GetNominalPower( | | ospAttributeParm) |
-
Gets Nominal Power Attribute:
Gets the value of the electrical attribute object Nominal Power.
- Parameters:
-
- ospAttributeParm
- Attribute value.
- Returns:
-
S_OK
if the method succeeds.
E_FAIL
otherwise.
o HasElectricalExtension
public virtual HasElectricalExtension( | | oExists) |
-
Tests the existence of the extension from the object:
- Parameters:
-
- oExists
- The extension existence: TRUE if the extension exists, FALSE otherwise
- Returns:
-
S_OK
if the method succeeds.
E_FAIL
otherwise.
o RemoveElectricalExtension
public virtual RemoveElectricalExtension( | ) |
-
Removes the extension from the object:
- Returns:
-
S_OK
if the method succeeds.
E_FAIL
otherwise.
o SetNominalPower
public virtual SetNominalPower( | const | ispAttributeValue) |
-
Sets Nominal Power Attribute:
Sets the value of the electrical attribute object Nominal Power.
If this attribute doesn't exist it will be created and setted to the value ispAttributeValue
- Parameters:
-
- ispAttributeValue
- Attribute value.
- Returns:
-
S_OK
if the method succeeds.
E_INVALIDARG
if the provided parameter is unexpected.
E_FAIL
otherwise.
This object is included in the file: CATIEnsPLMElectricalProperties.h
If needed, your Imakefile.mk should include the module: CATEnsPhysicalUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.