All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMInterfaces Interface CATIVpmFactoryManager

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

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


interface CATIVpmFactoryManager

Interface to the VPM factory manager.
Role: This interface manages the environment, creates, runs queries, and retrieves a pool manager.


Method Index


o BindVPMObjectP(CATUnicodeString&,CATIContainer_var&,CATUnicodeString&,void*)
o BindVPMObjectP(ENOVIObjectInfo_var&,CATIContainer_var&,void*,CATIVpmFactoryObject_var&)
o CreateVPMObject(CATUnicodeString&,CATIContainer_var&,CATUnicodeString&)
VPMobject creation without identifier.
o CreateVPMObjectWithIdentifier(CATUnicodeString&,CATIContainer_var&,CATUnicodeString&,CORBAAny&)
VPMobject creation with identifier.
o GetFactoryObject(CATInterfaceObject_var&)
o GetFactoryObjectList(CATUnicodeString&)
o GetGraphManager(CATUnicodeString&,CATBaseUnknown_var&)
Get a Graph Manager.
o GetIdentifier(CATUnicodeString&,CATIVpmFactoryObject_var&)
o GetObjectIdentifierList(CATUnicodeString&,CATLISTV(_SEQUENCE_octet)&)
o GetPoolManager(CATIVpmObjectPool_var&)
Get a Pool Manager.
o GetRealObject(void*)
o GetVPMObject(CATIContainer_var&,CATUnicodeString&,CATUnicodeString&,CORBAAny&)
o LoadListOfInstances(CATLISTV(_SEQUENCE_octet)&)
Load objects from their sequence.
o LoadListOfLinkedObject(CATLISTV(CATBaseUnknown_var)*&,CATUnicodeString&)
Load a list of objects linked by reference attribute from a list of object.
o RunQuery(CATIVpmQuery_var&,CATUnicodeString&,CATIContainer_var&,CATLISTV(CATBaseUnknown_var)*&,int,int)
VPMobject Query.
o pop_Environment()
Pop the environment.
o push_Environment(CATUnicodeString&)
Push the environment.

Methods


o BindVPMObjectP
public virtual CATIVpmFactoryObject_var BindVPMObjectP( const CATUnicodeString& iDomainName,
const CATIContainer_var& iContainer,
const CATUnicodeString& iRealObjectName,
void* iRealObject)= 0
Deprecated:
V5R14 VPMobject Bind.
Parameters:
iDomainName
The name of the domain.
iContainer
Container to parse.
iRealObjectName
Name of the object to bind
iRealObject
Object to bind
Returns:
The created VPMObject.
o BindVPMObjectP
public virtual HRESULT BindVPMObjectP( const ENOVIObjectInfo_var& iObjectInfo,
const CATIContainer_var& iCont,
void* iRealObject,
CATIVpmFactoryObject_var& oVpmObject)= 0
Deprecated:
V5R14 VPMobject Bind.
Parameters:
iObjectInfo
.
iCont
Container to parse.
iRealObject
Object to bind
oVpmObject
VPMObject found
Returns:
An HRESULT value.
Legal values:
S_OK
VPMObject found
E_FAIL
VPMObject not found or errors occured during process
o CreateVPMObject
public virtual CATIVpmFactoryObject_var CreateVPMObject( const CATUnicodeString& iDomainName,
const CATIContainer_var& iContainer,
const CATUnicodeString& iLateEntityName)= 0
VPMobject creation without identifier.
Parameters:
iDomainName
Name of the domain.
iContainer
The receptacle container.
iLateEntityName
The late type of the entity.
Returns:
The created VPMObject.
o CreateVPMObjectWithIdentifier
public virtual CATIVpmFactoryObject_var CreateVPMObjectWithIdentifier( const CATUnicodeString& iDomainName,
const CATIContainer_var& iContainer,
const CATUnicodeString& iLateEntityName,
const CORBAAny& iIdentifier)= 0
VPMobject creation with identifier.
Parameters:
iDomainName
Name of the domain.
iContainer
The receptacle container.
iLateEntityName
The late type of the entity.
iIdentifier
The Identifier.
Returns:
The created VPMObject.
o GetFactoryObject
public virtual CATIVpmFactoryObject_var GetFactoryObject( const CATInterfaceObject_var& iRealObjectHandler)= 0
Deprecated:
V5R14 Retrieve VPMobject related to a Real object.
Parameters:
iRealObjectHandler
A Handler on a real object).
Returns:
The VPMObject found.
o GetFactoryObjectList
public virtual CATLISTV(CATIVpmFactoryObject_var) GetFactoryObjectList( const CATUnicodeString& iName="") = 0
Deprecated:
V5R14 Retrieve VPMobject by Name (Default= All).
Parameters:
iName
The name of the VPMObject (Default= All).
Returns:
The list of VPMObjects.
o GetGraphManager
public virtual CATIVpmGraphMng_var GetGraphManager( const CATUnicodeString& iGraphName,
const CATBaseUnknown_var& iRules)= 0
Get a Graph Manager.
Parameters:
iGraphName
The name of the graph.
iRules
.
Returns:
The graph manager.
o GetIdentifier
public virtual CORBAAny GetIdentifier( const CATUnicodeString& iDomainName,
const CATIVpmFactoryObject_var& iVPMObject)= 0
Deprecated:
V5R14 Get VPMobject Identifier.
Parameters:
iDomainName
The name of the domain.
iVPMObject
The VPMObject.
Returns:
The Identifier.
o GetObjectIdentifierList
public virtual HRESULT GetObjectIdentifierList( const CATUnicodeString& iDomainName,
CATLISTV(_SEQUENCE_octet)& ListOfObjectId)=0
Deprecated:
V5R14 Retrieve object UUID by domain.
Parameters:
iDomainName
Name of the domain.
ListOfObjectId
The list of octet sequences found.
Returns:
An HRESULT value.
Legal values:
S_OK
Octet sequences found
S_FALSE
Empty domain
E_FAIL
An error occured during the process
o GetPoolManager
public virtual HRESULT GetPoolManager(CATIVpmObjectPool_var& PoolManager) = 0
Get a Pool Manager.
Parameters:
PoolManager
The pool manager found.
Returns:
An HRESULT value.
Legal values:
S_OK
.
o GetRealObject
public virtual CATIVpmFactoryObject_var GetRealObject(void* iRealObject)= 0
Deprecated:
V5R14 Retrieve VPMobject related to a Real object.
Parameters:
iRealObject
A pointer on a real object).
Returns:
The VPMObject found.
o GetVPMObject
public virtual CATIVpmFactoryObject_var GetVPMObject( const CATIContainer_var& iContainer,
const CATUnicodeString& iDomainName,
const CATUnicodeString& iLateEntityName,
const CORBAAny& iIdentifier)= 0
Deprecated:
V5R14 Seek a VPMobject by Identifier.
Parameters:
iContainer
Container to parse.
iDomainName
The name of the domain.
iLateEntityName
Entity late type.
iIdentifier
The Identifier.
Returns:
The VPMObject found.
o LoadListOfInstances
public virtual HRESULT LoadListOfInstances( const CATLISTV(_SEQUENCE_octet)& ListOfObjectId)=0
Load objects from their sequence.
Parameters:
ListOfObjectId
The list of octet sequences.
Returns:
An HRESULT value.
Legal values:
S_OK
Load is OK (in the container of the first object)
E_FAIL
Load failed
o LoadListOfLinkedObject
public virtual HRESULT LoadListOfLinkedObject(CATLISTV(CATBaseUnknown_var)*& iListOfVPMobject,
const CATUnicodeString& iAttributPath)=0
Load a list of objects linked by reference attribute from a list of object. example : object < attref1 --> object1 < attref2 --> object 2
Parameters:
iListOfVPMobject
The list of VPM objects.
iAttributePath
string defining attribute path ( name of attribute separated by dot ) example : attref1.attref2 current limitation : all input VPM object must have the same type maximum level of depth is 2 i.e : path = entity::att1.att2 works only for single reference attribute ( reference aggregate not allowed )
Returns:
An HRESULT value.
Legal values:
S_OK
Load is OK
E_FAIL
Load failed
o RunQuery
public virtual HRESULT RunQuery( const CATIVpmQuery_var& iQuery,
const CATUnicodeString& iDomainName,
const CATIContainer_var& iContainer,
CATLISTV(CATBaseUnknown_var)*& oList,
int iResultLimit= 0,
int iMemory= 0) = 0
VPMobject Query.
Parameters:
iQuery
The query to run.
iDomainName
Name of the domain.
iContainer
The target container.
oList
The list of objects found.
iResultLimit
.
iMemory
.
Returns:
An HRESULT value.
Legal values:
S_OK
Query successful
E_FAIL
VPMObject not found or errors occured during process
o pop_Environment
public virtual HRESULT pop_Environment()= 0
Pop the environment.
Returns:
An HRESULT value.
Legal values:
S_OK
Pop successful
E_FAIL
No environment found
o push_Environment
public virtual HRESULT push_Environment( const CATUnicodeString& iEnvironment) = 0
Push the environment.
Parameters:
iEnvironment
The name of the environment.
Returns:
An HRESULT value.
Legal values:
S_OK
Push successful
E_FAIL
Bad environment

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

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