MachiningUseItf Interface DELIMfgAgregate

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


interface DELIMfgAgregate

Interface to manage manufacturing aggregate.

The aggregate contains many elements that can be sorted according to their types.
The type of the elements is the name of an interface that all these elements implement.


Method Index


o AddElement(CATBaseUnknown_var&,int)
Adds an element in the aggregate.
o ChangePosition(CATBaseUnknown_var&,int,int)
Moves an element in the aggregate.
o GetAllElements(CATClassId)
Returns list of the elements of a given type in the aggregate.
o GetElement(long,CATClassId)
Returns the element of a given type and for a given position in the aggregate.
o GetNumberOfElements(CATClassId)
Returns the count of elements of a given type in the aggregate.
o RemoveAll(int)
Removes all elements in the aggregate.
o RemoveElement(CATBaseUnknown_var&,int)
Removes an element in the aggregate.

Methods


o AddElement
public virtual AddElement( const iMember,
iNotify=1)
Adds an element in the aggregate.
Parameters:
iMember
The element to add
iNotify
The flag to indicate whether an event is sent.
Legal values:
  • = 1 : an event is sent to notify the change
  • other value : no event sent
o ChangePosition
public virtual ChangePosition( const iMember,
iNewPosition,
iNotify=1)
Moves an element in the aggregate.
Parameters:
iMember
The element to move in the aggregate
iNewPosition
The new position of the element in the aggregate
iNotify
The flag to indicate whether an event is sent.
Legal values:
  • = 1 : an event is sent to notify the change
  • other value : no event sent
o GetAllElements
public virtual GetAllElements( intfName=0)
Returns list of the elements of a given type in the aggregate.
Parameters:
intfName
The name of an interface describing the type of the elements
Returns:
The list of the elements of the given type
o GetElement
public virtual GetElement( iPosition,
intfName=0)
Returns the element of a given type and for a given position in the aggregate.
Parameters:
iPosition
The position of the element in the agregate
intfName
The name of an interface describing the type of the elements
Returns:
The element of the given type and the given position in the aggregate
o GetNumberOfElements
public virtual GetNumberOfElements( intfName=0)
Returns the count of elements of a given type in the aggregate.
Parameters:
intfName
The name of an interface describing the type of the elements
Returns:
The number of elements of the given type
o RemoveAll
public virtual RemoveAll( iNotify=1)
Removes all elements in the aggregate.
Parameters:
iNotify
The flag to indicate whether an event is sent.
Legal values:
  • = 1 : an event is sent to notify the change
  • other value : no event sent
o RemoveElement
public virtual RemoveElement( const iMember,
iNotify=1)
Removes an element in the aggregate.
Parameters:
iMember
The element to remove
iNotify
The flag to indicate whether an event is sent.
Legal values:
  • = 1 : an event is sent to notify the change
  • other value : no event sent

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

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