00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaWaferObject.h 00004 // 00005 // This file contains the definition for the oaWaferObject class. This is an 00006 // abstract class that is the base for all OpenAccess wafer database 00007 // objects. 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 2003-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(oaWaferObject_P) 00028 #define oaWaferObject_P 00029 00030 00031 00032 // ***************************************************************************** 00033 // Nested includes 00034 // ***************************************************************************** 00035 #include "oaObject.h" 00036 #include "oaWaferDBTypes.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 00046 00047 // ***************************************************************************** 00048 // oaWaferObject 00049 // ***************************************************************************** 00050 class OA_WAFER_DLL_API oaWaferObject : public oaObject { 00051 public: 00052 oaWafer *getWafer() const; 00053 00054 enum {dbType = oacWaferDBType}; 00055 enum {domain = oacNoDomain}; 00056 }; 00057 00058 00059 00060 // ***************************************************************************** 00061 // Wafer traits. 00062 // ***************************************************************************** 00063 template<> 00064 class oaTraits<oaWaferObject> { 00065 public: 00066 typedef oaObject parentType; 00067 enum {domain = oacNoDomain}; 00068 enum {isMultiDomain = false}; 00069 enum {isConcrete = false}; 00070 enum {dbType = oacWaferDBType}; 00071 enum {abstractTypeEnumVal = oacWaferObjectType}; 00072 }; 00073 00074 00075 00076 END_OA_NAMESPACE 00077 00078 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.