📄 oalefoutoptions.h
字号:
// *****************************************************************************// LefOutOptions.h//// This file contains the definition for the LefOutOptions 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.24 $// $Date: 2005/08/05 01:41:35 $// $State: Exp $// *****************************************************************************// *****************************************************************************#ifndef LefOutOptions_P#define LefOutOptions_P#include "oaLefDef.h"BEGIN_LEFDEF_NAMESPACE// *****************************************************************************// LefOutOptions// *****************************************************************************class OA_LEFDEF_DLL_API LefOutOptions { public: LefOutOptions(); virtual ~LefOutOptions(); void setFileName(const oaString &file); void setLibName(const oaString &lib); void addCellName(const oaString &cell); void addViewName(const oaString &view); void setVersion(LefDefVersionEnum version); void setWriteTech(oaBoolean tech = true); void setWriteCells(oaBoolean tech = true); const oaString &getFileName() {return fileName;} const oaScalarName &getLibName() {return libName;} const oaScalarName &getCellName(oaUInt4 num) {return cellNames[num];} const oaScalarName &getViewName(oaUInt4 num) {return viewNames[num];} oaUInt4 getNumCellNames() {return cellNames.getNumElements();} oaUInt4 getNumViewNames() {return viewNames.getNumElements();} LefDefVersion getVersion() {return version;} oaBoolean writeTech() {return tech;} oaBoolean writeCells() {return cells;} virtual void checkArgs(); protected: oaString fileName; oaScalarName libName; oaArray<oaScalarName> cellNames; oaArray<oaScalarName> viewNames; oaBoolean tech; oaBoolean cells; LefDefVersionEnum version;};END_LEFDEF_NAMESPACE#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -