oaAnalysisLib.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaAnalysisLib.h
00004 //
00005 // This file contains the definition for the oaAnalysisLib class.  This class
00006 // defines a relationship between an analysis library (which is external to
00007 // OpenAccess) and a set of oaOpPoint objects corresponding to operating
00008 // points defined in that analysis library.
00009 //
00010 // *****************************************************************************
00011 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00012 // Integration Initiative, this material may not be copied, modified,
00013 // re-published, uploaded, executed, or distributed in any way, in any medium,
00014 // in whole or in part, without prior written permission from Cadence.
00015 //
00016 //                Copyright 2002-2005 Cadence Design Systems, Inc.
00017 //                           All Rights Reserved.
00018 //
00019 //  $Author: icftcm $
00020 //  $Revision: #1 $
00021 //  $Date: 2010/08/09 $
00022 //  $State: Exp $
00023 // *****************************************************************************
00024 // *****************************************************************************
00025 
00026 
00027 
00028 #if !defined(oaAnalysisLib_P)
00029 #define oaAnalysisLib_P
00030 
00031 
00032 
00033 // *****************************************************************************
00034 // Nested includes
00035 // *****************************************************************************
00036 #include "oaTech.h"
00037 
00038 
00039 
00040 // *****************************************************************************
00041 // Declare and define types in the OpenAccess namespace.
00042 // *****************************************************************************
00043 BEGIN_OA_NAMESPACE
00044 
00045 
00046 
00047 // *****************************************************************************
00048 // oaAnalysisLib
00049 // *****************************************************************************
00050 class OA_TECH_DLL_API oaAnalysisLib : public oaTechObject {
00051 public:
00052     static oaAnalysisLib                    *create(oaTech              *tech,
00053                                                     const oaString      &name,
00054                                                     const oaString      &format,
00055                                                     const oaScalarName  *fileName,
00056                                                     const oaScalarName  *cellName = NULL,
00057                                                     const oaScalarName  *viewName = NULL);
00058 
00059     static oaAnalysisLib                    *find(const oaTech      *tech,
00060                                                   const oaString    &name);
00061     static oaAnalysisLib                    *find(const oaTech      *tech,
00062                                                   const oaString    &name,
00063                                                   oaBoolean         local);
00064 
00065     void                                    destroy();
00066 
00067     void                                    getName(oaString &name) const;
00068     void                                    getFormat(oaString &format) const;
00069     void                                    getFileName(oaScalarName &fileName) const;
00070     void                                    getCellName(oaScalarName &cellName) const;
00071     void                                    getViewName(oaScalarName &viewName) const;
00072 
00073     void                                    setFormat(const oaString &format);
00074     void                                    setFileName(const oaScalarName &fileName);
00075     void                                    setCellName(const oaScalarName &cellName);
00076     void                                    setViewName(const oaScalarName &viewName);
00077 
00078     oaCollection<oaOpPoint, oaAnalysisLib>  getOpPoints() const;
00079 };
00080 
00081 
00082 
00083 // *****************************************************************************
00084 // oaTech traits
00085 // *****************************************************************************
00086 template<>
00087 class oaTraits<oaAnalysisLib> {
00088 public:
00089     typedef oaTechObject                parentType;
00090     typedef oaAnalysisLibModTypeEnum    modTypeType;
00091     enum {dbType = oacTechDBType};
00092     enum {domain = oacNoDomain};
00093     enum {isMultiDomain = false};
00094     enum {isConcrete = true};
00095     enum {objectTypeEnumVal = oacAnalysisLibType};
00096     enum {dtIndex = oacAnalysisLibDataType};
00097     enum {dataTypeEnumVal = oacAnalysisLibDataType};
00098 };
00099 
00100 
00101 
00102 END_OA_NAMESPACE
00103 
00104 #endif

Return to top of page