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

📄 oalefinoptions.inl

📁 openaccess读def,lef文件所用的源代码
💻 INL
字号:
// *****************************************************************************// *****************************************************************************// oaLefInOptions.inl//// This file contains the implementation for inline and template member// functions of classes defined in oaLefInOptions.h file.//// *****************************************************************************// 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.1 $//  $Date: 2005/08/05 01:41:34 $//  $State: Exp $// *****************************************************************************// *****************************************************************************#if !defined(oaLefInOptions_I)#define oaLefInOptions_IBEGIN_LEFDEF_NAMESPACE// *****************************************************************************// LefInOptions::addFileName()// LefInOptions::setLibName()// LefInOptions::setLibPath()// LefInOptions::setLibOptions()// LefInOptions::setTechLibName()// LefInOptions::setTechLibPath()// LefInOptions::setTechLibOptions()// LefInOptions::setViewName()// LefInOptions::setOverwrite()//// The following functions set the translator options// *****************************************************************************inline voidLefInOptions::addFileName(const oaString    &fileName){    fileNames.append(fileName);}inline voidLefInOptions::setLibName(const oaString &lib){    oaNativeNS	ns;        libName.init(ns, lib);}inline voidLefInOptions::setLibPath(const oaString &path){    libPath = path;}inline voidLefInOptions::setLibOptions(const oaUtil::LibMgrOptions	&options){    libOptions = options;}inline voidLefInOptions::setTechLibName(const oaString &lib){    oaNativeNS	ns;        techLibName.init(ns, lib);}inline voidLefInOptions::setTechLibPath(const oaString &path){    techLibPath = path;}inline voidLefInOptions::setTechLibOptions(const oaUtil::LibMgrOptions &options){    techLibOptions = options;}inline voidLefInOptions::setLayoutName(const oaString &view){    oaNativeNS	ns;        layoutName.init(ns, view);}inline voidLefInOptions::setViewName(const oaString &view){    oaNativeNS	ns;        viewName.init(ns, view);}inline voidLefInOptions::setCommentChar(const oaChar   commentCharIn){    commentChar = commentCharIn;}inline voidLefInOptions::setOverwrite(oaBoolean overwriteIn){    overwrite = overwriteIn;}// *****************************************************************************// LefInOptions::addLayerMap()// // This function returns the index of the specified layerName in the// list of layerMaps. If the layerName is not found UINT_MAX is returned.// *****************************************************************************inline voidLefInOptions::addLayerMap(const	oaString    &name,			  const	oaLayerNum  layerNum){    layerMap.insert(name, layerNum);}// *****************************************************************************// LefInOptions::getLayerMapNumber()// // This function returns the layer number in the map for the given layer name.// If the name is not found UINT_MAX is returned.// *****************************************************************************inline oaUInt4LefInOptions::getLayerMapNumber(const oaString	&name){    oaUInt4 num;        if (!layerMap.find(name, num)) {	return UINT_MAX;    }    return num;}END_LEFDEF_NAMESPACE#endif

⌨️ 快捷键说明

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