oaAnalysisPoint.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaAnalysisPoint.h
00004 //
00005 // This file contains the definition for the oaAnalysisPoint class, which
00006 // represents a set of oaAnalysisOpPoints.  Each oaAnalysisOpPoint corresponds
00007 // to a oaOpPoint used for analysis of some of the instances in the design.
00008 // Collectively those oaOpPoints allow a consistent analysis (such as best-case
00009 // or worst-case) across the whole design.
00010 //
00011 // The oaAnalysisPointArray class implements a utility array class used to
00012 // pass an array of oaAnalysisPoint class pointers to 
00013 // oaParasiticNetwork::create().
00014 //
00015 // *****************************************************************************
00016 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00017 // Integration Initiative, this material may not be copied, modified,
00018 // re-published, uploaded, executed, or distributed in any way, in any medium,
00019 // in whole or in part, without prior written permission from Cadence.
00020 //
00021 //                Copyright 2002-2006 Cadence Design Systems, Inc.
00022 //                           All Rights Reserved.
00023 //
00024 //  $Author: icftcm $
00025 //  $Revision: #1 $
00026 //  $Date: 2010/08/09 $
00027 //  $State: Exp $
00028 // *****************************************************************************
00029 // *****************************************************************************
00030 
00031 
00032 
00033 #if !defined(oaAnalysisPoint_P)
00034 #define oaAnalysisPoint_P
00035 
00036 
00037 
00038 // *****************************************************************************
00039 // Nested includes
00040 // *****************************************************************************
00041 #include "oaDesignModTypes.h"
00042 #include "oaDesign.h"
00043 
00044 
00045 
00046 // *****************************************************************************
00047 // Declare and define types in the OpenAccess namespace.
00048 // *****************************************************************************
00049 BEGIN_OA_NAMESPACE
00050 
00051 
00052 
00053 // *****************************************************************************
00054 // oaAnalysisPoint
00055 // *****************************************************************************
00056 class OA_DESIGN_DLL_API oaAnalysisPoint : public oaDesignObject {
00057 public:
00058     static oaAnalysisPoint                              *create(oaDesign        *design,
00059                                                                 const oaString  &name);
00060 
00061     static oaAnalysisPoint                              *find(const oaDesign    *design,
00062                                                               const oaString    &name);
00063 
00064     void                                                destroy();
00065 
00066     void                                                setName(const oaString &name);
00067     void                                                getName(oaString &name) const;
00068 
00069     oaCollection<oaAnalysisOpPoint, oaAnalysisPoint>    getAnalysisOpPoints() const;
00070 
00071     enum {dtIndex = oacAnalysisPointDataType};
00072     enum {domain = oacNoDomain};
00073 };
00074 
00075 
00076 
00077 // *****************************************************************************
00078 // oaAnalysisPointArray
00079 // *****************************************************************************
00080 class OA_DESIGN_DLL_API oaAnalysisPointArray : public oaArray<oaAnalysisPoint*> {
00081 public:
00082                             oaAnalysisPointArray(oaUInt4 sizeIn = 0);
00083 };
00084 
00085 
00086 
00087 // *****************************************************************************
00088 // Design Traits.
00089 // *****************************************************************************
00090 template<>
00091 class oaTraits<oaAnalysisPoint> {
00092 public:
00093     typedef oaDesignObject              parentType;
00094     typedef oaAnalysisPointModTypeEnum  modTypeType;
00095     enum {dbType = oacDesignDBType};
00096     enum {domain = oacNoDomain};
00097     enum {isMultiDomain = false};
00098     enum {dtIndex = oacAnalysisPointDataType};
00099     enum {isConcrete = true};
00100     enum {objectTypeEnumVal = oacAnalysisPointType};
00101     enum {dataTypeEnumVal = oacAnalysisPointDataType};
00102 };
00103 
00104 
00105 
00106 END_OA_NAMESPACE
00107 
00108 #endif

Return to top of page