All Frameworks Class Hierarchy This Framework Previous Next Indexes
VPMXBom Interface ENOVIModelers
System.IUnknown
|
+---VPMXBom.ENOVICollectionBase
|
+---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:
- it can be used to iterate over all previously accessed modelers
- it can be used to instantiate a modeler which hasn't been accessed before
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(CORBAAny*,ENOVIModeler**)
- Retrieves a Modeler by index or by name.
- o
Item(char*,ENOVIModeler**)
- Retrieves a modeler by name.
- o
Item(long,ENOVIModeler**)
- Retrieves a modeler by index.
Methods
o Item
-
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:
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
o Item
-
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
-
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
This object is included in the file: ENOVIModelers.h
If needed, your Imakefile.mk should include the module: VPMXbmItf