oadefinstyle.inl

来自「openaccess读def,lef文件所用的源代码」· INL 代码 · 共 71 行

INL
71
字号
// *****************************************************************************// *****************************************************************************// oaDefInStyle.inl//// This file contains the implementation for inline and template member// functions of classes defined in oaDefInStyle.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(oaDefInStyle_I)#define oaDefInStyle_IBEGIN_LEFDEF_NAMESPACE// *****************************************************************************// DefInStyle::addStyle()//// This function adds the specified style to the style table// *****************************************************************************inline voidDefInStyle::addStyle(oaUInt4		num,		     oaUInt4		dir,		     const oaSegStyle	&style){    oaUInt4 entry = num * 8 + dir;        styleTbl.insert(entry, style);}// *****************************************************************************// DefIn::getStyle()//// This function returns the style for the given number// *****************************************************************************inline voidDefInStyle::getStyle(oaUInt4	num,		     oaUInt4	dir,		     oaSegStyle	&style) const{    oaUInt4 entry = num * 8 + dir;        if (!styleTbl.find(entry, style)) {	throw LefDefError(cNetStyleUndefined, num);    }}END_LEFDEF_NAMESPACE#endif

⌨️ 快捷键说明

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