00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaCell.h 00004 // 00005 // This file contains the definition for the oaCell class and its public 00006 // supporting classes. The oaCell class implements an OpenAccess library 00007 // cell object. 00008 // 00009 // ***************************************************************************** 00010 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00011 // Integration Initiative, this material may not be copied, modified, 00012 // re-published, uploaded, executed, or distributed in any way, in any medium, 00013 // in whole or in part, without prior written permission from Cadence. 00014 // 00015 // Copyright 2002-2005 Cadence Design Systems, Inc. 00016 // All Rights Reserved. 00017 // 00018 // $Author: icftcm $ 00019 // $Revision: #1 $ 00020 // $Date: 2010/08/09 $ 00021 // $State: Exp $ 00022 // ***************************************************************************** 00023 // ***************************************************************************** 00024 00025 00026 00027 #if !defined(oaCell_P) 00028 #define oaCell_P 00029 00030 00031 00032 // ***************************************************************************** 00033 // Nested includes 00034 // ***************************************************************************** 00035 #include "oaDMModTypes.h" 00036 #include "oaLib.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 00046 00047 // ***************************************************************************** 00048 // oaCell 00049 // ***************************************************************************** 00050 class OA_DM_DLL_API oaCell : public oaDMContainer { 00051 public: 00052 static oaCell *find(const oaLib *lib, 00053 const oaScalarName &name); 00054 static oaCell *get(const oaLib *lib, 00055 const oaScalarName &name); 00056 00057 void destroy(); 00058 00059 void getName(oaScalarName &name) const; 00060 void getName(const oaNameSpace &ns, 00061 oaString &out) const; 00062 00063 oaCollection<oaCellView, oaCell> getCellViews() const; 00064 00065 enum {dtIndex = oacCellDataType}; 00066 }; 00067 00068 00069 00070 // ***************************************************************************** 00071 // Traits 00072 // ***************************************************************************** 00073 template<> 00074 class oaTraits<oaCell> { 00075 public: 00076 typedef oaDMContainer parentType; 00077 typedef oaCellModTypeEnum modTypeType; 00078 enum {dbType = oacLibDBType}; 00079 enum {domain = oacNoDomain}; 00080 enum {isMultiDomain = false}; 00081 enum {dtIndex = oacCellDataType}; 00082 enum {isConcrete = true}; 00083 enum {objectTypeEnumVal = oacCellType}; 00084 enum {dataTypeEnumVal = oacCellDataType}; 00085 }; 00086 00087 00088 00089 END_OA_NAMESPACE 00090 00091 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.