DELPPRSystemItf Interface DELIPPRSystemAndOperationInstancesAuth

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface DELIPPRSystemAndOperationInstancesAuth

DELIPPRSystemAndOperationInstancesAuth is implemented to instanciate references and remove instances for all types of the Production System Modeler Role: This interface is used to add instance from type Production System or to remove a reference instance .


Method Index


o AddInstanceFromType(CATBaseUnknown*,CATBaseUnknown*&)
Instanciates a Reference under the current Reference.
o Remove(CATBaseUnknown*)
Removes a Reference Instance under the current Reference.

Methods


o AddInstanceFromType
public virtual AddInstanceFromType( ipReference,
opInstance)
Instanciates a Reference under the current Reference.
@businesslogic PLMIdentificationInitialization
Business Logic Operation Id [PLMIdentificationInitialization] is invoked on the created Instance.
Parameters:
ipReference
The Reference to instantiate
opInstance
[out] The instance created Caution : Do not forget to release the pointer on the created instance
Default context parameters accessible within the rule:
  • OperationId set to "Implicit"
  • OperationDetail set to "None"
Returns:
Legal values:
  • S_OK : The method successfully ended.
  • E_INVALIDARG : Invalid input.
  • E_FAIL : An error occurred.
o Remove
public virtual Remove( ipiInstance)
Removes a Reference Instance under the current Reference.
Parameters:
ipInstanceToRemove
The Reference Instance to remove.
Returns:
Legal values:
  • S_OK : The method successfully ended.
  • E_INVALIDARG : Invalid input.
  • E_FAIL : An error occurred.

This object is included in the file: DELIPPRSystemAndOperationInstancesAuth.h
If needed, your Imakefile.mk should include the module: DELPPRSystemItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.