oaOpPointHeader.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaOpPointHeader.h
00004 //
00005 // This file contains the definition for the oaOpPointHeader class. 
00006 // The oaOpPointHeader class implements an object that contains information 
00007 // about a particular opPoint and all of the analysisOpPoints that use it.
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(oaOpPointHeader_P)
00028 #define oaOpPointHeader_P
00029 
00030 
00031 
00032 // *****************************************************************************
00033 // Nested includes
00034 // *****************************************************************************
00035 #include "oaOpPoint.h"
00036 #include "oaDesignModTypes.h"
00037 #include "oaDesign.h"
00038 
00039 
00040 
00041 // *****************************************************************************
00042 // Declare and define types in the OpenAccess namespace.
00043 // *****************************************************************************
00044 BEGIN_OA_NAMESPACE
00045 
00046 
00047 
00048 // *****************************************************************************
00049 // oaOpPointHeader
00050 // *****************************************************************************
00051 class OA_DESIGN_DLL_API oaOpPointHeader : public oaDesignObject {
00052 public:
00053     static oaOpPointHeader                              *find(const oaDesign    *design,
00054                                                               const oaString    &analysisLibName,
00055                                                               const oaString    &opPointName);
00056 
00057     oaBoolean                                           isBound() const;
00058     oaOpPoint                                           *getOpPoint() const;
00059 
00060     void                                                getOpPointName(oaString &name) const;
00061     void                                                getAnalysisLibName(oaString &name) const;
00062 
00063     oaCollection<oaAnalysisOpPoint, oaOpPointHeader>    getAnalysisOpPoints() const;
00064 
00065     enum {dtIndex = oacOpPointHeaderDataType};
00066     enum {domain = oacNoDomain};
00067 };
00068 
00069 
00070 
00071 // *****************************************************************************
00072 // Design Traits.
00073 // *****************************************************************************
00074 template<>
00075 class oaTraits<oaOpPointHeader> {
00076 public:
00077     typedef oaDesignObject              parentType;
00078     typedef oaOpPointHeaderModTypeEnum  modTypeType;
00079     enum {dbType = oacDesignDBType};
00080     enum {domain = oacNoDomain};
00081     enum {isMultiDomain = false};
00082     enum {dtIndex = oacOpPointHeaderDataType};
00083     enum {isConcrete = true};
00084     enum {objectTypeEnumVal = oacOpPointHeaderType};
00085     enum {dataTypeEnumVal = oacOpPointHeaderDataType};
00086 };
00087 
00088 
00089 
00090 END_OA_NAMESPACE
00091 
00092 #endif
00093 

Return to top of page