PLMModelerBaseInterfaces CATPatternFactory

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


public class CATPatternFactory

Class to retrieve the 3DPart object factory.

Role: This class provides the factory object that will enable to create a 3DPart.


Constructor and Destructor Index


o CATPatternFactory()
Constructs an empty CATPatternFactory.
o ~CATPatternFactory()
Destructs a CATPatternFactory pointer.

Method Index


o CreatePatternFactory(IID&,void**)
Retrieves a pointer on a factory interface.

Constructor and Destructor


o CATPatternFactory
public CATPatternFactory()
Constructs an empty CATPatternFactory.
o ~CATPatternFactory
public virtual ~CATPatternFactory()
Destructs a CATPatternFactory pointer.

Methods


o CreatePatternFactory
public static CreatePatternFactory( const iIID,
opFactory)
Retrieves a pointer on a factory interface.
Parameters:
iIID
The factory interface identifier. For 3DPart creation factory : IID_CATIPrd3DPartFactory.
opFactory
The pointer on the factory interface.
Returns:
  • S_OK if the interface pointer has been successfully created.
  • E_FAIL if an unexpected error occured.

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

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