CATPLMIntegrationAccess CATAdpDataSizeServices

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


public class CATAdpDataSizeServices

Class of services enabling to get the size of data stored in vault.

Role: Provides a set of services enabling the user to retrieve the size of data in vault.


Method Index


o GetRepresentationsDataSize(CATLISTP(CATIAdpPLMIdentificator)&,unsigned int&,CATIAdpPLMErrorReviewer*)
Gets the size in vault of representations.

Methods


o GetRepresentationsDataSize
public static GetRepresentationsDataSize( const iRepresentationsIds,
oRepsSize,
iopErrorReviewer= NULL )
Gets the size in vault of representations.
Role:Retrieves the cumulative size of the set of representations provided. The returned size is independent from the session.
Parameters:
iRepresentationsIds
[in] The identifiers of representations. Only representations are supported. The set is invalid if :
  • The list is empty.
  • Or, at least one element of the list is not a representation.
oRepsSize
[out] The global size in vault of the set of representations. The unit is the kilobyte.
iopErrorReviewer
[inout] The ErrorReviewer dedicated to store and handle all PLM Errors raised during the execution of this service.
Returns:
  • S_OK if the size was succesfully computed.
  • E_INVALIDARG if an invalid set of representations was provided.
  • E_FAIL if a fatal error occured during the operation. The blocking error can be accessed through method.

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

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