All Frameworks  Class Hierarchy  This Framework  Indexes   

CATPLMDictionary Interface VPMIDicMgr

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


interface VPMIDicMgr

This class enables to manage all dictionary data.
role: Get VPMIDicMgr Interface each time you need to access to the dictionary using the global Function GetVPMIDicMgr


Method Index


o Init(int)
Initializes the Dictionary Manager.
o LoadPackageFromDir(CATString*,CATString*,VPMDicPERSISTENT)
Loads a package from a given directory.
o LoadPackageFromDir(CATString*,CATString*,VPMDicPERSISTENT,VPMDicCONTENT)
Loads a package from a given directory.
o LoadPackage(CATString*,VPMDicPERSISTENT)
Loads a package.
o LoadPackage(CATString*,VPMDicPERSISTENT,VPMDicCONTENT)
Loads a package.

Methods


o Init
public virtual Init( const iForadmin)
Initializes the Dictionary Manager. It must be called after the dictionary manager creation.
Parameters:
iForadmin
: Must always be set to 1
Returns:
S_OK, E_FAIL
o LoadPackageFromDir
public virtual LoadPackageFromDir( const iDirName,
const iPackageName,
const iMode)
Loads a package from a given directory.
Parameters:
iDirName
: Directory containing the package
iPackageName
: Package name
iMode
: the only valid value is VPMDicFILE
o LoadPackageFromDir
public virtual LoadPackageFromDir( const iDirName,
const iPackageName,
const iMode,
const iContent)
Loads a package from a given directory.
Parameters:
iDirName
: Directory containing the package
iPackageName
: Package name
iMode
: the only valid value is VPMDicFILE
iContent
: Package type of content (either VPMDicMETADATA, VPMDicTUNING, VPMDicRBODEF, or VPMDicRBOMAP)
o LoadPackage
public virtual LoadPackage( const iPackageName,
const iMode)
Loads a package.
Parameters:
iPackageName
: Package name
iMode
:
o LoadPackage
public virtual LoadPackage( const iPackageName,
const iMode,
const iContent)
Loads a package.
Parameters:
iPackageName
: Package name
iMode
: the only valid value is VPMDicFILE
iContent
: Package type of content (either VPMDicMETADATA, VPMDicTUNING, VPMDicRBODEF, or VPMDicRBOMAP)

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

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