00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaModModuleInst.h 00004 // 00005 // This file contains the definition for the oaModModuleInst class. This 00006 // class is a base for instances of module masters. 00007 // 00008 // ***************************************************************************** 00009 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00010 // Integration Initiative, this material may not be copied, modified, 00011 // re-published, uploaded, executed, or distributed in any way, in any medium, 00012 // in whole or in part, without prior written permission from Cadence. 00013 // 00014 // Copyright 2003-2005 Cadence Design Systems, Inc. 00015 // All Rights Reserved. 00016 // 00017 // $Author: icftcm $ 00018 // $Revision: #1 $ 00019 // $Date: 2010/08/09 $ 00020 // $State: Exp $ 00021 // ***************************************************************************** 00022 // ***************************************************************************** 00023 00024 00025 00026 #if !defined(oaModModuleInst_P) 00027 #define oaModModuleInst_P 00028 00029 00030 00031 // ***************************************************************************** 00032 // Nested includes 00033 // ***************************************************************************** 00034 #include "oaModInst.h" 00035 #include "oaModModuleInstHeader.h" 00036 00037 00038 00039 // ***************************************************************************** 00040 // Declare and define types in the OpenAccess namespace. 00041 // ***************************************************************************** 00042 BEGIN_OA_NAMESPACE 00043 00044 00045 00046 // ***************************************************************************** 00047 // oaModModuleInst 00048 // ***************************************************************************** 00049 class OA_DESIGN_DLL_API oaModModuleInst : public oaModInst { 00050 public: 00051 oaModModuleInstHeader *getHeader() const; 00052 }; 00053 00054 00055 00056 // ***************************************************************************** 00057 // oaModModuleInstBit 00058 // ***************************************************************************** 00059 class OA_DESIGN_DLL_API oaModModuleBitInst : public oaModModuleInst { 00060 public: 00061 }; 00062 00063 00064 00065 // ***************************************************************************** 00066 // Design Traits. 00067 // ***************************************************************************** 00068 template<> 00069 class oaTraits<oaModModuleInst> { 00070 public: 00071 typedef oaInstModTypeEnum modTypeType; 00072 typedef oaModInst parentType; 00073 enum {dtIndex = oacInstDataType}; 00074 enum {dataTypeEnumVal = oacInstDataType}; 00075 enum {domain = oacModDomain}; 00076 enum {isMultiDomain = true}; 00077 enum {dbType = oacDesignDBType}; 00078 enum {isConcrete = false}; 00079 enum {abstractTypeEnumVal = oacModModuleInstType}; 00080 }; 00081 00082 template<> 00083 class oaTraits<oaModModuleBitInst> { 00084 public: 00085 typedef oaInstModTypeEnum modTypeType; 00086 typedef oaModModuleInst parentType; 00087 enum {dtIndex = oacInstDataType}; 00088 enum {dataTypeEnumVal = oacInstDataType}; 00089 enum {domain = oacModDomain}; 00090 enum {isMultiDomain = true}; 00091 enum {dbType = oacDesignDBType}; 00092 enum {isConcrete = false}; 00093 enum {abstractTypeEnumVal = oacModModuleBitInstType}; 00094 }; 00095 00096 00097 00098 END_OA_NAMESPACE 00099 00100 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.