📄 oadefinstyle.inl
字号:
// *****************************************************************************// *****************************************************************************// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -