CATPLMIntegrationUse CATAdpSaver

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


public class CATAdpSaver

Object managing save of components in session.


Constructor and Destructor Index


o CATAdpSaver()
Constructor.
o ~CATAdpSaver(void)
Destructor

Method Index


o Save(CATListPtrCATBaseUnknown*,CATIAdpPLMErrorReviewer*)
Performs a save.

Constructor and Destructor


o CATAdpSaver
public CATAdpSaver()
Constructor.
o ~CATAdpSaver
public virtual ~CATAdpSaver( )
Destructor

Methods


o Save
public Save( const iSaveRoots=NULL,
iopErrorReviewer= NULL)
Performs a save.
Role:This method saves all AUTHORING session or all given components and their prerequisites. The targeted repository of each component has been defined when component has been created
Parameters:
iSaveRoots
The optional list of roots to process. If the value is NULL, all the components in the AUTHORING session are saved.
iopErrorReviewer
[inout] The ErrorReviewer dedicated to store and handle all PLM Errors raised during the execution of this service.
Returns:
  • S_OK: Save successful.
  • E_FAIL: Save failed.
  • E_INVALIDARG: given iSaveRoots did not contain any component. Nothing is done.

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

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