All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DMAPSInterfaces Interface CATISPPChildManagement

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATISPPChildManagement
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATISPPChildManagement

Interface to manage Hierarchy, relationship Father - Son.


Method Index


o AddChild(CATBaseUnknown_var&,CATBaseUnknown_var&)
Adds a child Activity to another one.
o AddChild(CATUnicodeString&)
Adds a child Activity to another one.
o DetailInAnotherFile(CATUnicodeString)
Sets path to file where the process is defined.
o GetChild(CATUnicodeString&)
Returns the children from an Activity, with the possibility to search for specific Activity types.
o GetContainerWhereDetailed()
Returns the container where the process is defined.
o GetNumberOfChild(CATUnicodeString&)
Returns number of children from an Activity, with the possibility to search for specific Activity types.
o RemoveChild()
Removes all the children of an Activity.

Methods


o AddChild
public virtual HRESULT AddChild( const CATBaseUnknown_var& iChild,
CATBaseUnknown_var& oCreated) =0
Adds a child Activity to another one.
Parameters:
iChild
The child Activity to create
oCreated
A handle to the newly created object
Returns:
The result of the method
o AddChild
public virtual CATBaseUnknown_var AddChild( const CATUnicodeString& entity_to_create) = 0
Adds a child Activity to another one.
Parameters:
iEntityToCreate
Name of the Activity type from which the new Activity must be instantiated
Returns:
Handler on the newly created Activity.
o DetailInAnotherFile
public virtual void DetailInAnotherFile(CATUnicodeString iPath) = 0
Sets path to file where the process is defined.
Parameters:
iPath
path to the file.
o GetChild
public virtual CATListValCATBaseUnknown_var* GetChild( const CATUnicodeString& type= NULL_string) const = 0
Returns the children from an Activity, with the possibility to search for specific Activity types.
Parameters:
iType
Name of the Activity type used for the search, by default, equals to Activity (Physical)
Returns:
List of Interface Handlers for the Activities as Children
o GetContainerWhereDetailed
public virtual CATBaseUnknown_var GetContainerWhereDetailed()= 0
Returns the container where the process is defined.
o GetNumberOfChild
public virtual int GetNumberOfChild( const CATUnicodeString& type=NULL_string) const = 0
Returns number of children from an Activity, with the possibility to search for specific Activity types.
Parameters:
iType
Name of the Activity type used for the search, by default, equals to Activity (Physical)
Returns:
Number of Activities
o RemoveChild
public virtual void RemoveChild()= 0
Removes all the children of an Activity.

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

Copyright © 2003, Dassault Systèmes. All rights reserved.