CATFmtModelInterfaces CATFmtListOfFEEntities

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


public class CATFmtListOfFEEntities

Object managing a list of groups of Finite Element entities (nodes, edges, faces or elements).

See also:


Constructor and Destructor Index


o CATFmtListOfFEEntities(int)
Constructs an empty list of FE entities.
o ~CATFmtListOfFEEntities()

Method Index


o Append(CATFmtFEEntities*)
Adds a new FE entities at the end of the list.
o Append(CATFmtListOfFEEntities*)
Adds a new list of FE entities at the end of the list.
o GetNbOfEntities()
Returns the total number of entities (nodes, elements, faces or edges) in list.
o RemoveAll()
Empty the list.
o Size()
Returns the number of FE entities in list.
o operator [](int)
Access a FE entities in the list.

Constructor and Destructor


o CATFmtListOfFEEntities
public CATFmtListOfFEEntities( iInitialSize= 0 )
Constructs an empty list of FE entities.
Parameters:
iInitialSize
Array integer to specify an initial memory allocation size for the list.
o ~CATFmtListOfFEEntities
public virtual ~CATFmtListOfFEEntities()

Methods


o Append
public Append( iFEEntities)
Adds a new FE entities at the end of the list.
Returns:
An HRESULT.
Legal values:
S_OK
The FE entities iFEEntities added in the list.
E_FAIL
The FE entities iFEEntities is NULL.
E_OUTOFMEMORY
Memory allocation problem.
o Append
public Append( iListOfFEEntities)
Adds a new list of FE entities at the end of the list.
Returns:
An HRESULT.
Legal values:
S_OK
The list of FE entities iFEEntities added in the list.
E_FAIL
The list of FE entities iFEEntities is NULL.
E_OUTOFMEMORY
Memory allocation problem.
o GetNbOfEntities
public GetNbOfEntities()
Returns the total number of entities (nodes, elements, faces or edges) in list.
o RemoveAll
public RemoveAll()
Empty the list.
o Size
public Size()
Returns the number of FE entities in list.
o operator []
public operator []( iIndex)
Access a FE entities in the list.
Parameters:
iIndex
Index in the list of the FE entities to be returned. This value should be between 1 and the size of the list, otherwise a NULL value is returned.
Returns:
A pointer on the FE entities.
Lifecycle rules deviation: the method does not AddRef the returned value..

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

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