⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oalefinoptions.h

📁 openaccess读def,lef文件所用的源代码
💻 H
字号:
// *****************************************************************************// *****************************************************************************// LefInOptions.h//// This file contains the definition for the LefInOptions class. This  // class implements writing a LEF file from an OA library.//// *****************************************************************************// Except as specified in the OpenAccess terms of use of Cadence or Silicon// Integration Initiative, this material may not be copied, modified,// re-published, uploaded, executed, or distributed in any way, in any medium,// in whole or in part, without prior written permission from Cadence.////                Copyright 2002-2005 Cadence Design Systems, Inc.//                           All Rights Reserved.////  $Author: sailajad $//  $Revision: 1.42 $//  $Date: 2005/08/05 01:41:34 $//  $State: Exp $// *****************************************************************************// *****************************************************************************#ifndef LefInOptions_P#define LefInOptions_P// *****************************************************************************// Includes OA headers// *****************************************************************************#include "oaLefDef.h"BEGIN_LEFDEF_NAMESPACE// *****************************************************************************// LefInOptions// *****************************************************************************class OA_LEFDEF_DLL_API LefInOptions {  public:			    LefInOptions();    virtual		    ~LefInOptions();    void		    addFileName(const oaString	&fileName);    void                    setLibName(const oaString	&lib);    void                    setLibPath(const oaString	&path);    void		    setLibOptions(const	oaUtil::LibMgrOptions	&options);    void                    setTechLibName(const oaString   &lib);    void                    setTechLibPath(const oaString   &path);    void		    setTechLibOptions(const oaUtil::LibMgrOptions   &options);    void                    setViewName(const oaString	&view);    void                    setLayoutName(const	oaString    &view);    void		    setCommentChar(const oaChar	commentChar);    void		    setOverwrite(oaBoolean  overwriteIn = true);    void                    addLayerMap(const oaString		&name,                                        const oaLayerNum	layer);    oaUInt4		    getNumFileNames()		{return fileNames.getNumElements();}    const oaString	    &getFileName(oaUInt4    i)  {return fileNames[i];}    const oaScalarName	    &getLibName() const		{return libName;}    const oaString	    &getLibPath() const		{return libPath;}    const oaUtil::LibMgrOptions	&getLibOptions() const	{return libOptions;}    const oaScalarName	    &getTechLibName() const	{return techLibName;}    const oaString	    &getTechLibPath() const	{return techLibPath;}    const oaUtil::LibMgrOptions	&getTechLibOptions() const  {return techLibOptions;}    const oaScalarName      &getViewName() const	{return viewName;}    const oaScalarName      &getLayoutName() const	{return layoutName;}    const oaChar	    getCommentChar() const	{return commentChar;}    oaBoolean		    overwriteMode()		{return overwrite;}    oaBoolean		    doUseDefaultStdVias() const	{return useDefaultStdVias;}    oaUInt4                 getLayerMapNumber(const oaString &layerName);    oaBoolean		    getLayerMapName(oaUInt4	layerNum,					    oaString	&layerName);    virtual void	    checkArgs();  protected:    oaArray<oaString>	    fileNames;    oaScalarName            libName;    oaString                libPath;    oaUtil::LibMgrOptions   libOptions;    oaScalarName            techLibName;    oaString                techLibPath;    oaUtil::LibMgrOptions   techLibOptions;    oaScalarName            viewName;    oaScalarName            layoutName;    oaChar		    commentChar;    oaBoolean               overwrite;    oaBoolean		    useDefaultStdVias;    oaUtil::HashTable<oaString, oaUInt4> layerMap;};END_LEFDEF_NAMESPACE#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -