00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaDesignViaVariantHeader.h 00004 // 00005 // This file contains the definition for the public class, 00006 // oaDesignViaVariantHeader, that represents the binding between an element in 00007 // an oaViaTopologyArrayValue and an oaViaVariant in design database. 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(oaDesignViaVariantHeader_P) 00028 #define oaDesignViaVariantHeader_P 00029 00030 00031 00032 // ***************************************************************************** 00033 // Nested includes 00034 // ***************************************************************************** 00035 #include "oaViaVariantHeader.h" 00036 #include "oaDesign.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 00046 00047 // ************************************************************************** 00048 // oaDesignViaVariantHeader 00049 // ************************************************************************** 00050 class OA_DESIGN_DLL_API oaDesignViaVariantHeader : public oaViaVariantHeader { 00051 public: 00052 static oaDesignViaVariantHeader *find(const oaDesign *design, 00053 const oaString &viaVariantName); 00054 00055 }; 00056 00057 00058 00059 // ***************************************************************************** 00060 // Design Traits. 00061 // ***************************************************************************** 00062 template<> 00063 class oaTraits<oaDesignViaVariantHeader> { 00064 public: 00065 typedef oaViaVariantHeaderModTypeEnum modTypeType; 00066 typedef oaViaVariantHeaderTbl tblType; 00067 typedef oaViaVariantHeader parentType; 00068 enum {dtIndex = oacBaseViaVariantHeaderDataType}; 00069 enum {dataTypeEnumVal = oacBaseViaVariantHeaderDataType}; 00070 enum {abstractTypeEnumVal = oacViaVariantHeaderType}; 00071 enum {domain = oacNoDomain}; 00072 enum {isMultiDomain = false}; 00073 enum {dbType = oacBaseDBType}; 00074 enum {isConcrete = true}; 00075 enum {objectTypeEnumVal = oacDesignViaVariantHeaderType}; 00076 }; 00077 00078 00079 00080 END_OA_NAMESPACE 00081 00082 #endif 00083
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.