oaReticleRef.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaReticleRef.h
00004 //
00005 // This file contains the definition for the oaReticleRef class and its public
00006 // supporting classes. 
00007 //
00008 // *****************************************************************************
00009 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00010 // Integration Initiative, this material may not be copied, modified,
00011 // re-published, uploaded, executed, or distributed in any way, in any medium,
00012 // in whole or in part, without prior written permission from Cadence.
00013 //
00014 //                Copyright 2004-2005 Cadence Design Systems, Inc.
00015 //                           All Rights Reserved.
00016 //
00017 //  $Author: icftcm $
00018 //  $Revision: #1 $
00019 //  $Date: 2010/08/09 $
00020 //  $State: Exp $
00021 // *****************************************************************************
00022 // *****************************************************************************
00023 
00024 
00025 
00026 #if !defined(oaReticleRef_P)
00027 #define oaReticleRef_P
00028 
00029 
00030 
00031 // *****************************************************************************
00032 // Nested includes
00033 // *****************************************************************************
00034 #include "oaWaferModTypes.h"
00035 #include "oaWafer.h"
00036 
00037 
00038 
00039 // *****************************************************************************
00040 // Declare and define types in the OpenAccess namespace.
00041 // *****************************************************************************
00042 BEGIN_OA_NAMESPACE
00043 
00044 
00045 
00046 // *****************************************************************************
00047 // oaReticleRef
00048 // *****************************************************************************
00049 class OA_WAFER_DLL_API oaReticleRef : public oaWaferObject {
00050 public:
00051     static oaReticleRef                 *create(oaWafer             *wafer,
00052                                                 const oaString      &reticleName,
00053                                                 const oaScalarName  &libName,
00054                                                 const oaScalarName  &cellName,
00055                                                 const oaScalarName  &viewName);
00056 
00057     static oaReticleRef                 *find(const oaWafer         *wafer,
00058                                               const oaString        &reticleName,
00059                                               const oaScalarName    &libName,
00060                                               const oaScalarName    &cellName,
00061                                               const oaScalarName    &viewName);
00062 
00063     void                                destroy();
00064 
00065     void                                getReticleName(oaString &name) const;
00066     void                                getLibName(oaScalarName &name) const;
00067     void                                getLibName(const oaNameSpace    &ns,
00068                                                    oaString             &name) const;
00069     void                                getCellName(oaScalarName &name) const;
00070     void                                getCellName(const oaNameSpace   &ns,
00071                                                     oaString            &name) const;
00072     void                                getViewName(oaScalarName &name) const;
00073     void                                getViewName(const oaNameSpace   &ns,
00074                                                     oaString            &name) const;
00075 
00076     oaCollection<oaImage, oaReticleRef> getImages() const;
00077 
00078     enum {dtIndex = oacReticleRefWaferDataType};
00079 };
00080 
00081 
00082 
00083 // *****************************************************************************
00084 // Wafer traits.
00085 // *****************************************************************************
00086 template<>
00087 class oaTraits<oaReticleRef> {
00088 public:
00089     typedef oaWaferObject           parentType;
00090     typedef oaReticleRefModTypeEnum modTypeType;
00091     enum {dbType = oacWaferDBType};
00092     enum {domain = oacNoDomain};
00093     enum {isMultiDomain = false};
00094     enum {dtIndex = oacReticleRefWaferDataType};
00095     enum {isConcrete = true};
00096     enum {objectTypeEnumVal = oacReticleRefType};
00097     enum {dataTypeEnumVal = oacReticleRefWaferDataType};
00098 };
00099 
00100 
00101 
00102 END_OA_NAMESPACE
00103 
00104 #endif

Return to top of page