oaReticle.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaReticle.h
00004 //
00005 // This file contains the definition for the oaReticle 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(oaReticle_P)
00027 #define oaReticle_P
00028 
00029 
00030 
00031 // *****************************************************************************
00032 // Nested includes
00033 // *****************************************************************************
00034 #include "oaPointArray.h"
00035 #include "oaWaferModTypes.h"
00036 #include "oaWafer.h"
00037 
00038 
00039 
00040 // *****************************************************************************
00041 // Declare and define types in the OpenAccess namespace.
00042 // *****************************************************************************
00043 BEGIN_OA_NAMESPACE
00044 
00045 
00046 
00047 // *****************************************************************************
00048 // oaReticle
00049 // *****************************************************************************
00050 class OA_WAFER_DLL_API oaReticle : public oaWaferObject {
00051 public:
00052     static oaReticle                        *create(oaWafer             *wafer,
00053                                                     const oaString      &name,
00054                                                     oaFloat             scale,
00055                                                     const oaPointArray  &boundary);
00056 
00057     static oaReticle                        *find(const oaWafer     *wafer,
00058                                                   const oaString    &name);
00059 
00060     void                                    destroy();
00061 
00062     void                                    getName(oaString &name) const;
00063     void                                    getBoundary(oaPointArray &boundary) const;
00064     oaFloat                                 getScale() const;
00065 
00066     void                                    setName(const oaString &name);
00067     void                                    setBoundary(const oaPointArray &boundary);
00068     void                                    setScale(oaFloat scale);
00069 
00070     oaCollection<oaFrameInst, oaReticle>    getFrameInsts() const;
00071     oaCollection<oaDesignInst, oaReticle>   getDesignInsts() const;
00072     oaCollection<oaImage, oaReticle>        getImages() const;
00073 
00074     enum {dtIndex = oacReticleWaferDataType};
00075 };
00076 
00077 
00078 
00079 // *****************************************************************************
00080 // Wafer traits.
00081 // *****************************************************************************
00082 template<>
00083 class oaTraits<oaReticle> {
00084 public:
00085     typedef oaWaferObject           parentType;
00086     typedef oaReticleModTypeEnum    modTypeType;
00087     enum {dbType = oacWaferDBType};
00088     enum {domain = oacNoDomain};
00089     enum {isMultiDomain = false};
00090     enum {dtIndex = oacReticleWaferDataType};
00091     enum {isConcrete = true};
00092     enum {objectTypeEnumVal = oacReticleType};
00093     enum {dataTypeEnumVal = oacReticleWaferDataType};
00094 };
00095 
00096 
00097 
00098 END_OA_NAMESPACE
00099 
00100 #endif

Return to top of page