oaStepperMap.h

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

Return to top of page