CATPLMIntegrationUse CATAdpComponentsAssociation

Usage: you must use this class as is. You should never derive it.


public class CATAdpComponentsAssociation



Constructor and Destructor Index


o CATAdpComponentsAssociation()
Empty constructor.
o CATAdpComponentsAssociation(CATAdpComponentsAssociation&)
Copy constructor.
o ~CATAdpComponentsAssociation()

Method Index


o GetAssociated(CATIAdpPLMIdentificator*,CATIAdpPLMIdentificator*&)
Get the associated element from a source component.
o GetIterator()
Get an iterator on every elements
Role: The iterator is used to iterate through every components.
o Size()
Get the total number of elements in this collection.
o operator=(CATAdpComponentsAssociation&)
Assignment operator.

Constructor and Destructor


o CATAdpComponentsAssociation
public CATAdpComponentsAssociation()
Empty constructor.
o CATAdpComponentsAssociation
public CATAdpComponentsAssociation( const )
Copy constructor.
o ~CATAdpComponentsAssociation
public virtual ~CATAdpComponentsAssociation()

Methods


o GetAssociated
public GetAssociated( iSource,
oRelated)
Get the associated element from a source component.
Role: Get element associated to the source AdpId. The related component may have been created by various operations. See operation used for more details on the kind of related component.
Parameters:
iSource
Element from with searching the association.
oRelated
Element found, associated to the input.
Returns:
S_OK Element found and returned.
S_FALSE Element not found.
E_FAIL Error encountered. Nothing was done during the operation.
E_UNEXPECTED Error encountered. Nothing was done during the operation.
o GetIterator
public GetIterator()
Get an iterator on every elements
Role: The iterator is used to iterate through every components.
Returns:
Iterator on this collection.
See also:
o Size
public Size()
Get the total number of elements in this collection.
Returns:
Number of elements.
o operator=
public operator=( const )
Assignment operator.

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

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