All Frameworks  Class Hierarchy  This Framework  Indexes   

VPMXBom Interface ENOVIModelers

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


interface ENOVIModelers

Interface to the collection of Modelers.

Role:

In short, if a modeler which is accessed by name hasn't been accessed before it will be instantiated (lazy instantiation), but only the previously accessed (and therefore instanciated) can be accessed by index.


Method Index


o Item(long,ENOVIModeler**)
Retrieves a modeler by index.
o Item(char*,ENOVIModeler**)
Retrieves a modeler by name.
o Item(CORBAAny*,ENOVIModeler**)
Retrieves a Modeler by index or by name.

Methods


o Item
public virtual Item( iIndex,
oItem)
Retrieves a modeler by index.
Parameters:
iIndex
index of the modeler to retrieve
oItem
the retrieved modeler.
Returns:
An HRESULT value
Legal values:
S_OK
All went well
S_FALSE
there is no attribute by this name
E_???
Something went wrong
o Item
public virtual Item( const iName,
oItem)
Retrieves a modeler by name.
Parameters:
iName
name of the modeler to retrieve
oItem
the retrieved modeler.
Returns:
An HRESULT value
Legal values:
S_OK
All went well
S_FALSE
there is no attribute by this name
E_???
Something went wrong
o Item
public virtual Item( iIndex,
oItem)
Retrieves a Modeler by index or by name.
Parameters:
iIndex
1 based index of the attribute to retrieve or name of the attribute to retrieve
Legal values:
  • a
CORBAAny with an integer typed value > 0
  • a CORBAAny with a string (tk_string or tk_unicodestring) typed value
  • oItem
    The retrieved modeler
    Returns:
    An HRESULT value
    Legal values:
    S_OK
    All went well
    S_FALSE
    there is no Modeler by this name
    E_???
    Something went wrong

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

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