All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDftStandardManager

System.IUnknown
  |
  +---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 GetDefaultStandard(wchar_t**)
Description : Gets the current standard name in the drawing document.
o GetDefaultStandardPtr(CATIDftStandard**)
Description : Gets the current standard object 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 HRESULT GetAvailableStandards(CATIStringList** oList)= 0
Description : Gets the list of the standards that can be used in the drawing document.
Parameters:
CATIStringList
**oList : List of standard names.
o GetDefaultStandard
public virtual HRESULT GetDefaultStandard(wchar_t** oName)= 0
Description : Gets the current standard name in the drawing document..
Parameters:
wchar_t
**oName : Name of the current standard.
o GetDefaultStandardPtr
public virtual HRESULT GetDefaultStandardPtr(CATIDftStandard** oCurrentStd)= 0
Description : Gets the current standard object in the drawing document..
Parameters:
CATIDftStandard
**oCurrentStd : pointer to the current standard object.
o GetStandard
public virtual HRESULT GetStandard(wchar_t* iStd,
CATIDftStandard** oStand)= 0
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 HRESULT GetUsedStandards(CATIStringList** oList)= 0
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 HRESULT ImportStandard(wchar_t* iName)= 0
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 HRESULT SetDefaultStandard(wchar_t* iName)= 0
Description : Makes the standard current in the drawing document.
Parameters:
wchar_t
*iName : Name of standard to be created.
o UpgradeStandard
public virtual HRESULT UpgradeStandard()= 0
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.