DELPPRResourceItf Interface DELIPPRResourceAuth
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface DELIPPRResourceAuth
Interface to author the Resource model.
Method Index
- o
AssignOperation(CATIPLMNavOccurrence*,CATIPLMNavOccurrence*)
- Creates an implement link between a resource occurrence and an operation occurrence.
- o
CreateResource(CATIType_var&,void**,IID&)
- Creates a resource reference.
- o
CreateScope(CATIPLMNavReference*,CATIPLMNavReference*)
- Creates a scope link between a resource reference and a system reference.
- o
RemoveScope(CATIPLMNavReference*,CATIPLMNavReference*)
- Removes a scope link between a resource reference and a system reference.
- o
UnAssignOperation(CATIPLMNavOccurrence*,CATIPLMNavOccurrence*)
- Removes an implement link between a resource occurrence and an operation occurrence.
Methods
o AssignOperation
public virtual AssignOperation( | | ipiResourceOcc, |
| | ipiOperationOcc) |
-
Creates an implement link between a resource occurrence and an operation occurrence.
- Parameters:
-
- ipiResourceOcc
- The resource occurrence
- ipiOperationOcc
- The operation occurrence
- Returns:
-
S_OK
- if the method succeeds
E_INVALIDARG
- for an invalid argument
E_FAIL
- if the method fails for any other reason
o CreateResource
public virtual CreateResource( | const | ihType, |
| | oppResourceReference, |
| const | iIID | = IID_CATIPLMNavReference) |
-
Creates a resource reference.
- Parameters:
-
- ihType
- The resource type to be chosen among the available types in the PLMResourceTypePackage
- oppResourceReference
- The created resource reference
- iIID
- The IID of the interface representing the created resource reference
Legal values: Any interface implemented on a resource reference (IID_CATIPLMNavReference by default)
- Returns:
-
S_OK
- if the method succeeds
E_INVALIDARG
- if the type is not valid
E_NOINTERFACE
- if the requested interface is not implemented on the resulting object
E_FAIL
- if the method fails for any other reason
o CreateScope
public virtual CreateScope( | | ipiResourceReference, |
| | ipiSystemReference) |
-
Creates a scope link between a resource reference and a system reference.
- Parameters:
-
- ipiResourceReference
- The resource reference
- ipiSystemReference
- The system reference
- Returns:
-
S_OK
- if the method succeeds
E_INVALIDARG
- for an invalid argument
E_FAIL
- if the method fails for any other reason
o RemoveScope
public virtual RemoveScope( | | ipiResourceReference, |
| | ipiSystemReference) |
-
Removes a scope link between a resource reference and a system reference.
- Parameters:
-
- ipiResourceReference
- The resource reference
- ipiSystemReference
- The system reference
- Returns:
-
S_OK
- if the method succeeds
E_INVALIDARG
- for an invalid argument
E_FAIL
- if the method fails for any other reason
o UnAssignOperation
public virtual UnAssignOperation( | | ipiResourceOcc, |
| | ipiOperationOcc) |
-
Removes an implement link between a resource occurrence and an operation occurrence.
- Parameters:
-
- ipiResourceOcc
- The resource occurrence
- ipiOperationOcc
- The operation occurrence
- Returns:
-
S_OK
- if the method succeeds
E_INVALIDARG
- for an invalid argument
E_FAIL
- if the method fails for any other reason
This object is included in the file: DELIPPRResourceAuth.h
If needed, your Imakefile.mk should include the module: DELPPRResourceItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.