00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaDerivedLayerParam.h 00004 // 00005 // This file contains the definitions for the following classes: 00006 // oaDerivedLayerParam 00007 // This class is used to create parameters associated a derived layer. 00008 // oaDerivedLayerParamArray 00009 // This class represents an array of oaDerivedLayerParam objects. 00010 // 00011 // ***************************************************************************** 00012 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00013 // Integration Initiative, this material may not be copied, modified, 00014 // re-published, uploaded, executed, or distributed in any way, in any medium, 00015 // in whole or in part, without prior written permission from Cadence. 00016 // 00017 // Copyright 2005 Cadence Design Systems, Inc. 00018 // All Rights Reserved. 00019 // 00020 // $Author: icftcm $ 00021 // $Revision: #1 $ 00022 // $Date: 2010/08/09 $ 00023 // $State: Exp $ 00024 // ***************************************************************************** 00025 // ***************************************************************************** 00026 00027 00028 00029 #if !defined(oaDerivedLayerParam_P) 00030 #define oaDerivedLayerParam_P 00031 00032 00033 00034 // ***************************************************************************** 00035 // Nested includes 00036 // ***************************************************************************** 00037 #include "oaDerivedLayerParamDef.h" 00038 00039 00040 00041 // ***************************************************************************** 00042 // Declare and define types in the OpenAccess namespace. 00043 // ***************************************************************************** 00044 BEGIN_OA_NAMESPACE 00045 00046 00047 00048 // ***************************************************************************** 00049 // oaDerivedLayerParam 00050 // ***************************************************************************** 00051 class OA_TECH_DLL_API oaDerivedLayerParam : public oaTechObject { 00052 public: 00053 static oaDerivedLayerParam *create(const oaDerivedLayerParamDef *def, 00054 oaValue *value); 00055 00056 void destroy(); 00057 00058 oaValue *getValue() const; 00059 oaDerivedLayerParamDef *getDef() const; 00060 oaBoolean isOwned() const; 00061 00062 void setValue(oaValue *value); 00063 00064 oaDerivedLayerParam *copy() const; 00065 oaDerivedLayerParam *copyTo(oaObject *database) const; 00066 00067 enum {dtIndex = oacTechDerivedLayerParamDataType}; 00068 }; 00069 00070 00071 00072 // ***************************************************************************** 00073 // oaDerivedLayerParamArray 00074 // ***************************************************************************** 00075 class OA_TECH_DLL_API oaDerivedLayerParamArray : public oaArray<oaDerivedLayerParam*> { 00076 public: 00077 oaDerivedLayerParamArray(oaUInt4 sizeIn = 0); 00078 00079 oaDerivedLayerParam *findParam(const oaDerivedLayerParamDef *def) const; 00080 }; 00081 00082 00083 00084 // ***************************************************************************** 00085 // oaTech traits 00086 // ***************************************************************************** 00087 template<> 00088 class oaTraits<oaDerivedLayerParam> { 00089 public: 00090 typedef oaTechObject parentType; 00091 typedef oaDerivedLayerParamModTypeEnum modTypeType; 00092 typedef oaDerivedLayerParamTbl tblType; 00093 enum {dbType = oacTechDBType}; 00094 enum {domain = oacNoDomain}; 00095 enum {isMultiDomain = false}; 00096 enum {dtIndex = oacTechDerivedLayerParamDataType}; 00097 enum {isConcrete = true}; 00098 enum {objectTypeEnumVal = oacDerivedLayerParamType}; 00099 enum {dataTypeEnumVal = oacTechDerivedLayerParamDataType}; 00100 }; 00101 00102 00103 00104 END_OA_NAMESPACE 00105 00106 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.