All Frameworks  Class Hierarchy  This Framework  Indexes

ObjectSpecsModeler Global Function AccessCatalog


HRESULT AccessCatalog( const CATUnicodeString* iStorageName,
const CATUnicodeString* iClientId,
CATIContainer* iContainer,
CATICatalog** oCatalog)
Loads a catalog into the session in read only mode.
WARNING : These methods can only be used on catalogs created by CLIENTS The client catalogs have the extension type ".CATfct" and can be accessed via the "CATICatalog" interface
Parameters:
iStorageName
The name of the catalog without the storage path. The catalog must be found in current runtime view + resources + graphic directory.
iClientId
The catalog's client identifier.
iContainer
A container in the current document to which the catalog will be connected. If new features are to be instantiated from StartUps in the catalog, this could be the container in which instantiation occurs.
oCatalog
[out, CATBaseUnknown#Release] The pointer to the opened catalog.
Returns:
S_OK if storageName == xxx.CATfct and if the catalog has already been created and if the creator identifier is the current client identifier.
E_FAIL in other cases
See also:
CATOsmSUHandler

This object is included in the file: CATCatalogFactoryServices.h

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