All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Class CATEASchAppObjectFactory2

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

Usage: you can derive this class.


public class CATEASchAppObjectFactory2

Super class to derive implementation for interface CATISchAppObjectFactory2.
Role: Adaptor


Constructor and Destructor Index


o CATEASchAppObjectFactory2()
Constructs an empty CATEASchAppObjectFactory2.
o ~CATEASchAppObjectFactory2()

Method Index


o AppCreateCompRef(char*,CATDocument*,IUnknown**)
Create an Application Component reference.
o AppCreateCompRef(char*,IUnknown**)
o AppCreateConnection(char*,CATDocument*,IUnknown**)
Create an Application Connection object.
o AppCreateConnection(char*,IUnknown**)
o AppCreateGroup(char*,CATDocument*,IUnknown**)
Create an Application Group object.
o AppCreateGroup(char*,IUnknown**)
o AppCreateRoute(char*,CATDocument*,char*,IUnknown**)
o AppCreateRoute(char*,IUnknown**,char*)
o AppCreateRoute2(char*,CATDocument*,CATUnicodeString*,IUnknown**)
Create an Application Route object.
o AppCreateRouteFromRef(CATISchAppRoute*,CATDocument*,char*,IUnknown**)
o AppCreateRouteFromRef(CATISchAppRoute*,IUnknown**,char*)
o AppCreateRouteFromRef2(CATISchAppRoute*,CATDocument*,CATUnicodeString*,IUnknown**)
Create an Application Route object with a specific reference.
o AppCreateRouteWithInfo(char*,IUnknown*,IUnknown**)
Create an Application Route object with application information.
o AppCreateZone(char*,CATDocument*,IUnknown**)
Create an Application Zone object.
o AppCreateZone(char*,IUnknown**)

Constructor and Destructor


o CATEASchAppObjectFactory2
public CATEASchAppObjectFactory2()
Constructs an empty CATEASchAppObjectFactory2.
o ~CATEASchAppObjectFactory2
public virtual ~CATEASchAppObjectFactory2()

Methods


o AppCreateCompRef
public virtual HRESULT AppCreateCompRef( const char* iAppCompClassType,
const CATDocument* iDoc,
IUnknown** oAppComp)
Create an Application Component reference.
Parameters:
iAppCompClassType
Class type of the Application Component reference.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppComp
The new Application Component object created (CATISchAppComponent interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateCompRef
public virtual HRESULT AppCreateCompRef( const char* iAppCompClassType,
IUnknown** oAppComp)
Deprecated:
V5R15 Do not override or use this method. Create an Application Component reference.
Parameters:
iAppCompClassType
Class type of the Application Component reference.
oAppComp
The new Application Component object created (CATISchAppComponent interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateConnection
public virtual HRESULT AppCreateConnection( const char* iAppCntnClassType,
const CATDocument* iDoc,
IUnknown** oAppConnection)
Create an Application Connection object.
Parameters:
iAppCntnClassType
Class type of the Application Connection object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppConnection
The new Application Connection object created (CATISchAppConnection interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateConnection
public virtual HRESULT AppCreateConnection( const char* iAppCntnClassType,
IUnknown** oAppConnection)
Deprecated:
V5R15 Do not override or use this method. Create an Application Connection object.
Parameters:
iAppCntnClassType
Class type of the Application Connection object.
oAppConnection
The new Application Connection object created (CATISchAppConnection interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateGroup
public virtual HRESULT AppCreateGroup( const char* iAppGroupClassType,
const CATDocument* iDoc,
IUnknown** oAppGroup)
Create an Application Group object.
Parameters:
iAppGroupClassType
Class type of the Application Group object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppGroup
The new Application Group object created (CATISchAppGroup interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateGroup
public virtual HRESULT AppCreateGroup( const char* iAppGroupClassType,
IUnknown** oAppGroup)
Deprecated:
V5R15 Do not override or use this method. Create an Application Group object.
Parameters:
iAppGroupClassType
Class type of the Application Group object.
oAppGroup
The new Application Group object created (CATISchAppGroup interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRoute
public virtual HRESULT AppCreateRoute( const char* iAppRouteClassType,
const CATDocument* iDoc,
const char* iLogLineID,
IUnknown** oAppRoute)
Deprecated:
V5R15 Use CATEASchAppObjectFactory2.AppCreateRoute2 instead. Create an Application Route object.
Parameters:
iAppRouteClassType
Class type of the Application Route object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
iLogLineID
The logical line ID that will contain the new route. This is an optional input. If could be NULL.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRoute
public virtual HRESULT AppCreateRoute( const char* iAppRouteClassType,
IUnknown** oAppRoute,
const char* iLogLineID=NULL)
Deprecated:
V5R15 Do not override or use this method. Create an Application Route object.
Parameters:
iAppRouteClassType
Class type of the Application Route object.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
iLogLineID
The logical line ID that will contain the new route. This is an optional input.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRoute2
public virtual HRESULT AppCreateRoute2( const char* iAppRouteClassType,
const CATDocument* iDoc,
const CATUnicodeString* iLogLineID,
IUnknown** oAppRoute)
Create an Application Route object.
Parameters:
iAppRouteClassType
Class type of the Application Route object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
iLogLineID
The logical line ID that will contain the new route. This is an optional input. If could be NULL.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRouteFromRef
public virtual HRESULT AppCreateRouteFromRef(CATISchAppRoute* iRouteReference,
const CATDocument* iDoc,
const char* iLogLineID,
IUnknown** oAppRoute)
Deprecated:
V5R15 Use CATEASchAppObjectFactory2.AppCreateRouteFromRef2 instead. Create an Application Route object with a specific reference.
Parameters:
iAppRouteRef
Route reference to creaet the output route from
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
iLogLineID
The logical line ID that will contain the new route. This is an optional input. If could be NULL.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRouteFromRef
public virtual HRESULT AppCreateRouteFromRef(CATISchAppRoute* iRouteReference,
IUnknown** oAppRoute,
const char* iLogLineID=NULL)
Deprecated:
V5R15 Do not override or use this method. Create an Application Route object with a specific reference.
Parameters:
iAppRouteRef
Route reference to creaet the output route from
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
iLogLineID
The logical line ID that will contain the new route. This is an optional input.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRouteFromRef2
public virtual HRESULT AppCreateRouteFromRef2(CATISchAppRoute* iRouteReference,
const CATDocument* iDoc,
const CATUnicodeString* iLogLineID,
IUnknown** oAppRoute)
Create an Application Route object with a specific reference.
Parameters:
iAppRouteRef
Route reference to creaet the output route from
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
iLogLineID
The logical line ID that will contain the new route. This is an optional input. If could be NULL.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateRouteWithInfo
public virtual HRESULT AppCreateRouteWithInfo( const char* iAppRouteClassType,
IUnknown* iAppInfo,
IUnknown** oAppRoute)
Create an Application Route object with application information.
Parameters:
iAppRouteClassType
Class type of the Application Route object.
iAppInfo
Application data pointer
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
o AppCreateZone
public virtual HRESULT AppCreateZone( const char* iAppZoneClassType,
const CATDocument* iDoc,
IUnknown** oAppZone)
Create an Application Zone object.
Parameters:
iAppZoneClassType
Class type of the Application Zone object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppZone
The new Application Zone object created (CATISchAppZone interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AppCreateZone
public virtual HRESULT AppCreateZone( const char* iAppZoneClassType,
IUnknown** oAppZone)
Deprecated:
V5R15 Do not override or use this method. Create an Application Zone object.
Parameters:
iAppZoneClassType
Class type of the Application Zone object.
oAppZone
The new Application Zone object created (CATISchAppZone interface pointer).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

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

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