All Frameworks  Class Hierarchy  This Framework  Indexes   

DraftingInterfaces Interface CATIDftStandardManager

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


interface CATIDftStandardManager

Interface which manages the available standards for a drawing document.


Method Index


o GetAvailableStandards(CATIStringList**)
Description : Gets the list of the standards that can be used in the drawing document.
o GetDefaultStandardPtr(CATIDftStandard**)
Description : Gets the current standard object in the drawing document.
o GetDefaultStandard(wchar_t**)
Description : Gets the current standard name in the drawing document.
o GetStandard(wchar_t*,CATIDftStandard**)
Description : Gets the standard object from its name.
o GetUsedStandards(CATIStringList**)
Description : Gets the list of the standards that are used in the drawing document.
o ImportStandard(wchar_t*)
Description : Creates a standard in the drawing document and makes it current.
o SetDefaultStandard(wchar_t*)
Description : Makes the standard current in the drawing document.
o UpgradeStandard()
Upgrades the current standard.

Methods


o GetAvailableStandards
public virtual GetAvailableStandards( oList)
Description : Gets the list of the standards that can be used in the drawing document.
Parameters:
CATIStringList
**oList : List of standard names.
o GetDefaultStandardPtr
public virtual GetDefaultStandardPtr( oCurrentStd)
Description : Gets the current standard object in the drawing document..
Parameters:
CATIDftStandard
**oCurrentStd : pointer to the current standard object.
o GetDefaultStandard
public virtual GetDefaultStandard( oName)
Description : Gets the current standard name in the drawing document..
Parameters:
wchar_t
**oName : Name of the current standard.
o GetStandard
public virtual GetStandard( iStd,
oStand)
Description : Gets the standard object from its name.
Parameters:
wchar_t
*iStd : Name of standard to be retrieved
CATIDftStandard
**ooStand : pointer to the standard object.
o GetUsedStandards
public virtual GetUsedStandards( oList)
Description : Gets the list of the standards that are used in the drawing document.
Parameters:
CATIStringList
**oList : List of standard names.
o ImportStandard
public virtual ImportStandard( iName)
Description : Creates a standard in the drawing document and makes it current.
Parameters:
wchar_t
*iName : Name of standard to be created.
o SetDefaultStandard
public virtual SetDefaultStandard( iName)
Description : Makes the standard current in the drawing document.
Parameters:
wchar_t
*iName : Name of standard to be created.
o UpgradeStandard
public virtual UpgradeStandard()
Upgrades the current standard. UpgradeStandard differs from ImportStandard in its way of updating formats.
Returns:
Un HRESULT
S_OK
Success.
E_FAIL
Error.

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

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