All Frameworks Class Hierarchy This Framework Next Indexes
ProductStructure Class CATPrdCommonFileSelection
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATPrdCommonFileSelection
Usage: you can derive this class.
public class CATPrdCommonFileSelection
Base class to give basic implementation for CATIProductFileSelection.
usage: To define a new kind of file recognized by ProductStructure's import,
use C++ inheritance on CATPrdCommonFileSelection class to implement this interface on your file,
and in the constructor of the implementation, add the kind of file to recognize.
- See also:
- CATIProductFileSelection, CATIProductSelection
Constructor and Destructor Index
- o
CATPrdCommonFileSelection()
- Constructs a CATPrdCommonFileSelection.
- o
~CATPrdCommonFileSelection()
-
Method Index
- o
ExtractProducts(CATIContainer*,CATIProduct*,CATListValCATBaseUnknown_var*&)
- Extracts products representing the selected files.
- o
GetSelectionCount(long&)
- Default implementation assumes that each selected file is able to generate exactly one product.
Constructor and Destructor
o CATPrdCommonFileSelection
public CATPrdCommonFileSelection( | ) |
-
Constructs a CATPrdCommonFileSelection.
usage: Add the kind of file to recognize in _typesList after creating that list.
o ~CATPrdCommonFileSelection
public virtual ~CATPrdCommonFileSelection( | ) |
-
Methods
o ExtractProducts
-
Extracts products representing the selected files.
Default implementation is valid for files which contain 3D information ( as vrml ).
o GetSelectionCount
public virtual HRESULT GetSelectionCount( | long& | oCount) |
-
Default implementation assumes that each selected file is able to generate exactly one product.
This object is included in the file: CATPrdCommonFileSelection.h
If needed, your Imakefile.mk should include the module: CATProductStructure1