DELPPRResourceItf Interface DELIPPRResourceNav

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


interface DELIPPRResourceNav

Interface for navigation in the Resource model.


Method Index


o GetAssignedOperations(CATIPLMNavOccurrence*,CATListPtrCATIPLMNavOccurrence&)
Gets the operation occurrences that are assigned to a given resource occurrence.
o GetResourceOfEachScope(CATIPLMNavReference*,CATListPtrCATIPLMNavReference&)
Gets the resource reference of each scope of a given system reference.
o GetSystemOfEachScope(CATIPLMNavReference*,CATListPtrCATIPLMNavReference&)
Gets the system reference of each scope of a given resource reference.
o GetWhereResource(CATIPLMNavOccurrence*,void**,IID&)
Gets the "where" resource occurrence that is assigned to a given operation occurrence.
o GetWhoResource(CATIPLMNavOccurrence*,void**,IID&)
Gets the "who" resource occurrence that is assigned to a given operation occurrence.
o GetWithResources(CATIPLMNavOccurrence*,CATListPtrCATIPLMNavOccurrence&)
Gets the "with" resource occurrences that are assigned to a given operation occurrence.

Methods


o GetAssignedOperations
public virtual GetAssignedOperations( ipiResourceOcc,
oListOperationOcc)
Gets the operation occurrences that are assigned to a given resource occurrence.
Parameters:
ipiResourceOcc
The resource occurrence
oListOperationOcc
The list of operation occurrences
Returns:
S_OK
if there is at least one operation assigned
S_FALSE
if there is no operation assigned
E_INVALIDARG
for an invalid argument
E_FAIL
if the method fails for any other reason
o GetResourceOfEachScope
public virtual GetResourceOfEachScope( ipiSystemReference,
oListResourceReferences)
Gets the resource reference of each scope of a given system reference.
Parameters:
ipiSystemReference
The system reference
oListResourceReferences
The list of resource references
Returns:
S_OK
if there is at least one scope
S_FALSE
if there is no scope
E_INVALIDARG
for an invalid argument
E_FAIL
if the method fails for any other reason
o GetSystemOfEachScope
public virtual GetSystemOfEachScope( ipiResourceReference,
oListSystemReferences)
Gets the system reference of each scope of a given resource reference.
Parameters:
ipiResourceReference
The resource reference
oListSystemReferences
The list of system references
Returns:
S_OK
if there is at least one scope
S_FALSE
if there is no scope
E_INVALIDARG
for an invalid argument
E_FAIL
if the method fails for any other reason
o GetWhereResource
public virtual GetWhereResource( ipiOperationOcc,
oppResourceOcc,
const iIID= IID_CATIPLMNavOccurrence)
Gets the "where" resource occurrence that is assigned to a given operation occurrence.
Parameters:
ipiOperationOcc
The operation occurrence
oppResourceOcc
The assigned "where" resource occurrence
iIID
The IID of the interface representing the resource occurrence
Legal values: Any interface implemented on a resource occurrence (IID_CATIPLMNavOccurrence by default)
Returns:
S_OK
if there is a "where" resource assigned
S_FALSE
if there is no "where" resource assigned
E_INVALIDARG
for an invalid argument
E_NOINTERFACE
if the requested interface is not implemented on the resulting object
E_FAIL
if the method fails for any other reason
o GetWhoResource
public virtual GetWhoResource( ipiOperationOcc,
oppResourceOcc,
const iIID= IID_CATIPLMNavOccurrence)
Gets the "who" resource occurrence that is assigned to a given operation occurrence.
Parameters:
ipiOperationOcc
The operation occurrence
oppResourceOcc
The assigned "who" resource occurrence
iIID
The IID of the interface representing the resource occurrence
Legal values: Any interface implemented on a resource occurrence (IID_CATIPLMNavOccurrence by default)
Returns:
S_OK
if there is a "who" resource assigned
S_FALSE
if there is no "who" resource assigned
E_INVALIDARG
for an invalid argument
E_NOINTERFACE
if the requested interface is not implemented on the resulting object
E_FAIL
if the method fails for any other reason
o GetWithResources
public virtual GetWithResources( ipiOperationOcc,
oListResourceOcc)
Gets the "with" resource occurrences that are assigned to a given operation occurrence.
Parameters:
ipiOperationOcc
The operation occurrence
oListResourceOcc
The list of assigned "with" resource occurrences
Returns:
S_OK
if there is at least one "with" resource assigned
S_FALSE
if there is no "with" resource assigned
E_INVALIDARG
for an invalid argument
E_FAIL
if the method fails for any other reason

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

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