oadefoutoptions.cpp

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

CPP
75
字号
// *****************************************************************************// *****************************************************************************// DefOutOptions.cpp//// This file contains the member functions for the DefOutOptions 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: mhahn $//  $Revision: 1.14 $//  $Date: 2005/01/04 03:26:16 $//  $State: Exp $// *****************************************************************************// *****************************************************************************#include "oaLefDef.h"BEGIN_LEFDEF_NAMESPACE// *****************************************************************************// DefOutOptions::DefOutOptions()// DefOutOptions::~DefOutOptions()//// This is the constructor for the DefOutOptions class,// the default option values are set here.// *****************************************************************************DefOutOptions::DefOutOptions():   version(cLefDefVersion56){}DefOutOptions::~DefOutOptions(){}// *****************************************************************************// DefOutOptions::checkArgs()//// Check that all mandatory options are valid// *****************************************************************************voidDefOutOptions::checkArgs(){    if (libName.isEmpty()) {	throw LefDefError(cLibNotSpecified);    }    if (cellName.isEmpty()) {	throw LefDefError(cCellNotSpecified);    }    if (viewName.isEmpty()) {	throw LefDefError(cViewNotSpecified);    }}END_LEFDEF_NAMESPACE

⌨️ 快捷键说明

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