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

📄 oalefdef.cpp

📁 openaccess读def,lef文件所用的源代码
💻 CPP
字号:
// *****************************************************************************// *****************************************************************************// LefDef.cpp//// This file contains the member functions specific to the LefDefBase,// LefDefIn, and LefDefOut classes and their supporting classes.//// *****************************************************************************// 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: nitters $// $Revision: 1.65 $// $Date: 2005/04/13 07:49:04 $// $State: Exp $// *****************************************************************************// *****************************************************************************#include "oaLefDef.h"BEGIN_LEFDEF_NAMESPACE// *****************************************************************************// LefDefBuild// *****************************************************************************class LefDefBuild : public oaBuildInfo {			    LefDefBuild() : oaBuildInfo("oaLefDef",							OA_BUILD_NAME,							OA_BUILD_TIME,							OA_BUILD_NUMBER) {}  private:    static LefDefBuild	    buildInfo;};// *****************************************************************************// Initialize Static Members// *****************************************************************************LefDefBuild	LefDefBuild::buildInfo;const oaString	LefDefVersion::names[]	= {"5.3",					   "5.4",					   "5.5",					   "5.6"};// *****************************************************************************// LefDefVersion::LefDefVersion()//// This is one of the constructors for the LefDefVersion class. It takes // oaString type name as argument.// *****************************************************************************LefDefVersion::LefDefVersion(const oaString   &name):   value(cLefDefVersion54){    for (oaUInt4 i = 0; i < oavNumLefDefVersionTypes; i++) {	if (name == names[i]) {	    value = LefDefVersionEnum(i);	    return;	}    }}END_LEFDEF_NAMESPACE

⌨️ 快捷键说明

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