📄 oadefinoptions.cpp
字号:
// *****************************************************************************// *****************************************************************************// DefInOptions.cpp//// This file contains the member functions for the DefInOptions class.//// *****************************************************************************// 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.25 $// $Date: 2005/03/24 13:30:41 $// $State: Exp $// *****************************************************************************// *****************************************************************************#include "oaLefDef.h"BEGIN_LEFDEF_NAMESPACE// *****************************************************************************// DefInOptions::DefInOptions()// DefInOptions::~DefInOptions()//// This is the constructor for the DefInOptions class.// *****************************************************************************DefInOptions::DefInOptions(): commentChar('#'), overwrite(false), useCustomVias(false), useDefaultStdVias(false), modHier(true), routing(true){ oaNativeNS ns; viewName.init(ns, cDefViewName);}DefInOptions::~DefInOptions(){}// *****************************************************************************// DefInOptions::checkArgs()//// This function checks that all mandatory options are valid.// The mandatory options are fileName, libName, cellName and viewName.// *****************************************************************************voidDefInOptions::checkArgs(){ if (libName.isEmpty()) { throw LefDefError(cLibNotSpecified); } oaNativeNS ns; if (masterLibNames.getNumElements() == 0) { masterLibNames.append(libName); if (!techLibName.isEmpty() && !ns.isEqual(techLibName, libName)) { masterLibNames.append(techLibName); } } oaNativeNS viewNS; if (masterViewNames.getNumElements() == 0) { oaScalarName masterViewName(viewNS, cDefMasterViewName); masterViewNames.append(masterViewName); }}END_LEFDEF_NAMESPACE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -